Difference between revisions of "Template:Loot InfoBox"

m
m
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#arraydefine:lootArrayBase|{{{loot_base}}}}}{{#arraydefine:lootArraySpecial|{{{loot_special}}}}}{{#arraydefine:lootArrayCarved|{{{loot_carved}}}}}{{#arraydefine:lootArrayHarvester|{{{loot_harvester}}}}}{{#arraydefine:lootArrayStealing|{{{loot_stealing}}}}}{{#arraysort:lootArrayBase|asc}}{{#arraysort:lootArraySpecial|asc}}{{#arraysort:lootArrayCarved|asc}}{{#arraysort:lootArrayHarvester|asc}}{{#arraysort:lootArrayStealing|asc}}{| class=infobox style="clear: right;"
+
{{#vardefine:hasScales|0}}{{#arraydefine:lootArrayBase|{{{loot_base}}}}}{{#arraydefine:lootArraySpecial|{{#replace:{{#replace:{{#replace:{{{loot_special}}}|1|①}}|2|②}}|3|③}} }}{{#arraydefine:lootArrayCarved|{{{loot_carved}}}}}{{#arraydefine:carvedOther|{{{carvedOther}}}}}{{#arraydefine:lootArrayStealing|{{{loot_stealing}}}}}{{#arraysort:lootArrayBase|asc}}{{#arraysort:lootArraySpecial|asc}}{{#arraysort:lootArrayCarved|asc}}{{#arraysort:carvedOther|asc}}{{#arraysort:lootArrayStealing|asc}}{| class=infobox style="clear: right;"
 
|class=titlecell colspan="2"| <span class="translatable">Loot</span>
 
|class=titlecell colspan="2"| <span class="translatable">Loot</span>
 
|-
 
|-
Line 7: Line 7:
 
|-
 
|-
 
| <span class="translatable">Special Loot</span>
 
| <span class="translatable">Special Loot</span>
| style="white-space: nowrap;padding-right: 6px;" | {{#if:{{{loot_special|}}}|{{#arrayprint:lootArraySpecial|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}}
+
| style="white-space: nowrap;padding-right: 6px;" | {{#if:{{{loot_special|}}}|{{#arrayprint:lootArraySpecial|<br/>|@@@@ |{{#vardefine:val|{{#replace:{{#replace:{{#replace:@@@@|①|1}}|②|2}}|③|3}} }}[[Category:UO Mobs that drop {{Trim|{{#ifexpr:{{IsNumber|{{#explode:{{#var:val}}| |0}}}}|{{Str right|{{#var:val}}|{{#pos:{{#var:val}}}}}}|{{#var:val}}}}|{{#var:val}}]] }}]][[UO:{{#ifexpr:{{IsNumber|{{#explode:{{#var:val}}| |0}}}}|{{Str right|{{#var:val}}|{{#pos:{{#var:val}}}}}}|{{#var:val}}}}|{{#var:val}}]] }}|<span class="translatable">unknown</span>{{Missing Info}}}}
|-
 
| <span class="translatable">...w/Harvester's</span> || {{#if:{{{loot_harvester|}}}|{{#arrayprint:lootArrayHarvester|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}}
 
 
|-
 
|-
 
| <span class="translatable">Stealing</span>        || {{#if:{{{loot_stealing|}}}|{{#arrayprint:lootArrayStealing|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}}
 
| <span class="translatable">Stealing</span>        || {{#if:{{{loot_stealing|}}}|{{#arrayprint:lootArrayStealing|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}}
Line 15: Line 13:
  
 
{| class=infobox style="clear: right;"
 
{| class=infobox style="clear: right;"
|class=titlecell colspan="2"| <span class="translatable">Carving</span>
+
|class=titlecell colspan="21"| <span class="translatable">Carving</span>
|{|
 
|-
 
|class=titlecell colspan="2" style="background-color: #345!important;"| <span class="translatable">Non-Felucca</span><!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td> <td> {{UO_Image|image|Pile of Hides|no}}<td> {{UO_Image|image|Pile of Leather|no}} }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td> <td> {{UO_Image|image|Pile of Spined Hides|no}}<td> {{UO_Image|image|Pile of Spined Leather|no}} }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td> <td> {{UO_Image|image|Pile of Horned Hides|no}}<td> {{UO_Image|image|Pile of Horned Leather|no}} }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td> <td> {{UO_Image|image|Pile of Barbed Hides|no}}<td> {{UO_Image|image|Pile of Barbed Leather|no}} }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td> {{UO_Image|image|Raw Bird|no}} }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td> {{UO_Image|image|Raw Leg of Lamb|no}} }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td> {{UO_Image|image|Raw Chicken Leg|no}} }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td> {{UO_Image|image|Cut Of Raw Ribs|no}} }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td> {{UO_Image|image|Feather|no}} }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td> {{UO_Image|image|Dragon's Blood|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td> {{UO_Image|image|Black Dragon Scale|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td> {{UO_Image|image|Blue Dragon Scale|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td> {{UO_Image|image|Green Dragon Scale|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td> {{UO_Image|image|Red Dragon Scale|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td> {{UO_Image|image|White Dragon Scale|no}} }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td> {{UO_Image|image|Yellow Dragon Scale|no}} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|Elf/Gargoyle<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td>{{{pileHidesN|}}}</td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td>{{{pileHidesS|}}}</td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td>{{{pileHidesH|}}}</td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td>{{{pileHidesB|}}}</td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{{rawBird|}}}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{{rawLamb|}}}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{{rawChicken|}}}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{{rawRibs|}}}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{{feathers|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{{dragonBlood|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{{dragonScaleBlack|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{{dragonScaleBlue|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{{dragonScaleGreen|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{{dragonScaleRed|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{{dragonScaleWhite|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{{dragonScaleYellow|}}}</td> }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td></td><td>{{#expr: {{{pileHidesN|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td></td><td>{{#expr: {{{pileHidesS|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td></td><td>{{#expr: {{{pileHidesH|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td></td><td>{{#expr: {{{pileHidesB|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: {{{rawBird|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: {{{rawLamb|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: {{{rawChicken|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: {{{rawRibs|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: {{{feathers|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: {{{dragonBlood|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: {{{dragonScaleBlack|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: {{{dragonScaleBlue|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: {{{dragonScaleGreen|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: {{{dragonScaleRed|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: {{{dragonScaleWhite|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: {{{dragonScaleYellow|}}} * 1.1 round 0 }}</td> }} }}
 
|- style="border-bottom: 1px solid #999"
 
|Human<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td>{{#expr: {{{pileHidesN|}}} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td>{{#expr: {{{pileHidesS|}}} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td>{{#expr: {{{pileHidesH|}}} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td>{{#expr: {{{pileHidesB|}}} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{{rawBird|}}}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{{rawLamb|}}}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{{rawChicken|}}}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{{rawRibs|}}}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{{feathers|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{{dragonBlood|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{{dragonScaleBlack|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{{dragonScaleBlue|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{{dragonScaleGreen|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{{dragonScaleRed|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{{dragonScaleWhite|}}}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{{dragonScaleYellow|}}}</td> }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{{pileHidesN|}}} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{{pileHidesS|}}} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{{pileHidesH|}}} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{{pileHidesB|}}} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: {{{rawBird|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: {{{rawLamb|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: {{{rawChicken|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: {{{rawRibs|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: {{{feathers|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: {{{dragonBlood|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: {{{dragonScaleBlack|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: {{{dragonScaleBlue|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: {{{dragonScaleGreen|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: {{{dragonScaleRed|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: {{{dragonScaleWhite|}}} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: {{{dragonScaleYellow|}}} * 1.1 round 0 }}</td> }} }}
 
 
|-
 
|-
|class=titlecell colspan="2" style="background-color: #345!important;"| <span class="translatable">Felucca</span>
+
{{#vardefine: nocarveables|0}}
|- style="border-bottom: 1px solid #999"
+
{{#ifeq: {{{pileHidesN|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|Elf/Gargoyle<!--
+
{{#ifeq: {{{pileHidesS|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td>{{#expr: 2 * {{{pileHidesN|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{pileHidesH|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td>{{#expr: 2 * {{{pileHidesS|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{pileHidesB|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td>{{#expr: 2 * {{{pileHidesH|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{rawBird|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td>{{#expr: 2 * {{{pileHidesB|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{rawLamb|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: 2 * {{{rawBird|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{rawChicken|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: 2 * {{{rawLamb|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{rawRibs|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: 2 * {{{rawChicken|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{feathers|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: 2 * {{{rawRibs|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonBlood|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: 2 * {{{feathers|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleBlack|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: 2 * {{{dragonBlood|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleBlue|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleBlack|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleGreen|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleBlue|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleRed|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleGreen|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleWhite|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleRed|}}} }}</td> }} }}<!--
+
{{#ifeq: {{{dragonScaleYellow|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleWhite|}}} }}</td> }} }}<!--
+
{{#ifeq: {{#var: nocarveables}} | 0 |
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleYellow|}}} }}</td> }} }}
+
{{!}} colspan="21"{{!}} <span class="translatable">Nothing</span>|
|- style="border-bottom: 1px solid #999"
+
{{Loot_CarveablesTable
|...w/Harvester's<!--
+
| pileHidesN = {{{pileHidesN|}}}
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td></td><td>{{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| pileHidesS = {{{pileHidesS|}}}
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td></td><td>{{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| pileHidesH = {{{pileHidesH|}}}
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td></td><td>{{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| pileHidesB = {{{pileHidesB|}}}
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td></td><td>{{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| rawBird = {{{rawBird|}}}
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawBird|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| rawLamb = {{{rawLamb|}}}
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawLamb|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| rawChicken = {{{rawChicken|}}}
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawChicken|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| rawRibs = {{{rawRibs|}}}
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawRibs|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| feathers = {{{feathers|}}}
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{feathers|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonBlood = {{{dragonBlood|}}}
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonBlood|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleBlack = {{{dragonScaleBlack|}}}
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleBlack|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleBlue = {{{dragonScaleBlue|}}}
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleBlue|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleGreen = {{{dragonScaleGreen|}}}
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleGreen|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleRed = {{{dragonScaleRed|}}}
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleRed|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleWhite = {{{dragonScaleWhite|}}}
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleWhite|}}} }} * 1.1 round 0 }}</td> }} }}<!--
+
| dragonScaleYellow = {{{dragonScaleYellow|}}}
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleYellow|}}} }} * 1.1 round 0 }}</td> }} }}
+
}} }}
|- style="border-bottom: 1px solid #999"
 
|Human<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 round 0 }}</td><td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: 2 * {{{rawBird|}}} }}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: 2 * {{{rawLamb|}}} }}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: 2 * {{{rawChicken|}}} }}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: 2 * {{{rawRibs|}}} }}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: 2 * {{{feathers|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: 2 * {{{dragonBlood|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleBlack|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleBlue|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleGreen|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleRed|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleWhite|}}} }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: 2 * {{{dragonScaleYellow|}}} }}</td> }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's<!--
 
-->{{#if: {{{pileHidesN|}}} | {{#expr: {{{pileHidesN|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesS|}}} | {{#expr: {{{pileHidesS|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesH|}}} | {{#expr: {{{pileHidesH|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{pileHidesB|}}} | {{#expr: {{{pileHidesB|}}} > 0 |<td></td><td>{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawBird|}}} | {{#expr: {{{rawBird|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawBird|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawLamb|}}} | {{#expr: {{{rawLamb|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawLamb|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawChicken|}}} | {{#expr: {{{rawChicken|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawChicken|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{rawRibs|}}} | {{#expr: {{{rawRibs|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{rawRibs|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{feathers|}}} | {{#expr: {{{feathers|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{feathers|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonBlood|}}} | {{#expr: {{{dragonBlood|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonBlood|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlack|}}} | {{#expr: {{{dragonScaleBlack|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleBlack|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleBlue|}}} | {{#expr: {{{dragonScaleBlue|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleBlue|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleGreen|}}} | {{#expr: {{{dragonScaleGreen|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleGreen|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleRed|}}} | {{#expr: {{{dragonScaleRed|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleRed|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleWhite|}}} | {{#expr: {{{dragonScaleWhite|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleWhite|}}} }} * 1.1 round 0 }}</td> }} }}<!--
 
-->{{#if: {{{dragonScaleYellow|}}} | {{#expr: {{{dragonScaleYellow|}}} > 0 |<td>{{#expr: {{#expr: 2 * {{{dragonScaleYellow|}}} }} * 1.1 round 0 }}</td> }} }}
 
 
|}
 
|}

Latest revision as of 12:46, 25 May 2020

Loot
Gold unknown
Base Loot unknown
Special Loot unknown
Stealing unknown
Carving
Non-Felucca
Elf/Gargoyle
...w/Harvester's
Human
...w/Harvester's
Felucca
Elf/Gargoyle
...w/Harvester's
Human
...w/Harvester's