Difference between revisions of "Template:Loot InfoBox"

m
m
 
(37 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="17"| <span class="translatable">Carving</span>
+
|class=titlecell colspan="21"| <span class="translatable">Carving</span>
|{|
 
|-
 
|class=titlecell style="background-color: #345!important;"| <span class="translatable">Non-Felucca</span>
 
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Hides|no}}</span>
 
{{!}}<span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Leather|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Spined Hides|no}}</span>
 
{{!}}<span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Spined Leather|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Horned Hides|no}}</span>
 
{{!}}<span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Horned Leather|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Barbed Hides|no}}</span>
 
{{!}}<span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Barbed Leather|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Bird|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Leg of Lamb|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Chicken Leg|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Cut Of Raw Ribs|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Feather|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Dragon's Blood|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Black Dragon Scale|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Blue Dragon Scale|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Green Dragon Scale|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Red Dragon Scale|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|White Dragon Scale|no}}</span> }} }}
 
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Yellow Dragon Scale|no}}</span> }} }}
 
|- style="border-bottom: 1px solid #999"
 
|Elf/Gargoyle
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{{pileHidesN|}}} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{{pileHidesS|}}} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{{pileHidesH|}}} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{{pileHidesB|}}} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{{rawBird|}}} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{{rawLamb|}}} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{{rawChicken|}}} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{{rawRibs|}}} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{{feathers|}}} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{{dragonBlood|}}} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{{dragonScaleBlack|}}} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{{dragonScaleBlue|}}} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{{dragonScaleGreen|}}} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{{dragonScaleRed|}}} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{{dragonScaleWhite|}}} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{{dragonScaleYellow|}}} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{{pileHidesN|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{{pileHidesS|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{{pileHidesH|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{{pileHidesB|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: {{{rawBird|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: {{{rawLamb|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: {{{rawChicken|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: {{{rawRibs|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: {{{feathers|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: {{{dragonBlood|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: {{{dragonScaleBlack|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: {{{dragonScaleBlue|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: {{{dragonScaleGreen|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: {{{dragonScaleRed|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: {{{dragonScaleWhite|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: {{{dragonScaleYellow|}}} * 1.1 round 0 }} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|Human
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{{pileHidesN|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{{pileHidesS|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{{pileHidesH|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{{pileHidesB|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{{rawBird|}}} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{{rawLamb|}}} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{{rawChicken|}}} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{{rawRibs|}}} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{{feathers|}}} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{{dragonBlood|}}} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{{dragonScaleBlack|}}} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{{dragonScaleBlue|}}} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{{dragonScaleGreen|}}} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{{dragonScaleRed|}}} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{{dragonScaleWhite|}}} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{{dragonScaleYellow|}}} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{#expr: {{{pileHidesN|}}} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{#expr: {{{pileHidesS|}}} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{#expr: {{{pileHidesH|}}} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{#expr: {{{pileHidesB|}}} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: {{{rawBird|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: {{{rawLamb|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: {{{rawChicken|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: {{{rawRibs|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: {{{feathers|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: {{{dragonBlood|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: {{{dragonScaleBlack|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: {{{dragonScaleBlue|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: {{{dragonScaleGreen|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: {{{dragonScaleRed|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: {{{dragonScaleWhite|}}} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: {{{dragonScaleYellow|}}} * 1.1 round 0 }} }} }}
 
 
|-
 
|-
|class=titlecell style="background-color: #345!important;"| <span class="translatable">Felucca</span>
+
{{#vardefine: nocarveables|0}}
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Hides|no}} <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Leather|no}}</span> }} }}
+
{{#ifeq: {{{pileHidesN|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Spined Hides|no}} <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Spined Leather|no}}</span> }} }}
+
{{#ifeq: {{{pileHidesS|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Horned Hides|no}} <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Horned Leather|no}}</span> }} }}
+
{{#ifeq: {{{pileHidesH|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Barbed Hides|no}} <span style="position: relative;left: -17px;">{{UO_Image|image|Pile of Barbed Leather|no}}</span> }} }}
+
{{#ifeq: {{{pileHidesB|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Bird|no}}</span> }} }}
+
{{#ifeq: {{{rawBird|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Leg of Lamb|no}}</span> }} }}
+
{{#ifeq: {{{rawLamb|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Raw Chicken Leg|no}}</span> }} }}
+
{{#ifeq: {{{rawChicken|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Cut Of Raw Ribs|no}}</span> }} }}
+
{{#ifeq: {{{rawRibs|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Feather|no}}</span> }} }}
+
{{#ifeq: {{{feathers|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Dragon's Blood|no}}</span> }} }}
+
{{#ifeq: {{{dragonBlood|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Black Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleBlack|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Blue Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleBlue|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Green Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleGreen|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Red Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleRed|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|White Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleWhite|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|style="color:white;background-color: #345!important;"|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 | <span style="position: relative;left: -17px;">{{UO_Image|image|Yellow Dragon Scale|no}}</span> }} }}
+
{{#ifeq: {{{dragonScaleYellow|}}} | 0 | | {{#vardefine: nocarveables|1}} }}
|- style="border-bottom: 1px solid #999"
+
{{#ifeq: {{#var: nocarveables}} | 0 |
|Elf/Gargoyle
+
{{!}} colspan="21"{{!}} <span class="translatable">Nothing</span>|
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: 2 * {{{pileHidesN|}}} }} }} }}
+
{{Loot_CarveablesTable
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: 2 * {{{pileHidesS|}}} }} }} }}
+
| pileHidesN = {{{pileHidesN|}}}
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: 2 * {{{pileHidesH|}}} }} }} }}
+
| pileHidesS = {{{pileHidesS|}}}
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: 2 * {{{pileHidesB|}}} }} }} }}
+
| pileHidesH = {{{pileHidesH|}}}
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: 2 * {{{rawBird|}}} }} }} }}
+
| pileHidesB = {{{pileHidesB|}}}
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: 2 * {{{rawLamb|}}} }} }} }}
+
| rawBird = {{{rawBird|}}}
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: 2 * {{{rawChicken|}}} }} }} }}
+
| rawLamb = {{{rawLamb|}}}
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: 2 * {{{rawRibs|}}} }} }} }}
+
| rawChicken = {{{rawChicken|}}}
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: 2 * {{{feathers|}}} }} }} }}
+
| rawRibs = {{{rawRibs|}}}
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: 2 * {{{dragonBlood|}}} }} }} }}
+
| feathers = {{{feathers|}}}
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: 2 * {{{dragonScaleBlack|}}} }} }} }}
+
| dragonBlood = {{{dragonBlood|}}}
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: 2 * {{{dragonScaleBlue|}}} }} }} }}
+
| dragonScaleBlack = {{{dragonScaleBlack|}}}
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: 2 * {{{dragonScaleGreen|}}} }} }} }}
+
| dragonScaleBlue = {{{dragonScaleBlue|}}}
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: 2 * {{{dragonScaleRed|}}} }} }} }}
+
| dragonScaleGreen = {{{dragonScaleGreen|}}}
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: 2 * {{{dragonScaleWhite|}}} }} }} }}
+
| dragonScaleRed = {{{dragonScaleRed|}}}
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: 2 * {{{dragonScaleYellow|}}} }} }} }}
+
| dragonScaleWhite = {{{dragonScaleWhite|}}}
|- style="border-bottom: 1px solid #999"
+
| dragonScaleYellow = {{{dragonScaleYellow|}}}
|...w/Harvester's
+
}} }}
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawBird|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawLamb|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawChicken|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawRibs|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: {{#expr: 2 * {{{feathers|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonBlood|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleBlack|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleBlue|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleGreen|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleRed|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleWhite|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleYellow|}}} }} * 1.1 round 0 }} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|Human
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: 2 * {{{rawBird|}}} }} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: 2 * {{{rawLamb|}}} }} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: 2 * {{{rawChicken|}}} }} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: 2 * {{{rawRibs|}}} }} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: 2 * {{{feathers|}}} }} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: 2 * {{{dragonBlood|}}} }} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: 2 * {{{dragonScaleBlack|}}} }} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: 2 * {{{dragonScaleBlue|}}} }} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: 2 * {{{dragonScaleGreen|}}} }} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: 2 * {{{dragonScaleRed|}}} }} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: 2 * {{{dragonScaleWhite|}}} }} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: 2 * {{{dragonScaleYellow|}}} }} }} }}
 
|- style="border-bottom: 1px solid #999"
 
|...w/Harvester's
 
|{{#if: {{{pileHidesN|}}} | {{#ifexpr: {{{pileHidesN|}}} > 0 |{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesN|}}} }} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesS|}}} | {{#ifexpr: {{{pileHidesS|}}} > 0 |{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesS|}}} }} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesH|}}} | {{#ifexpr: {{{pileHidesH|}}} > 0 |{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesH|}}} }} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{pileHidesB|}}} | {{#ifexpr: {{{pileHidesB|}}} > 0 |{{#expr: {{#expr: {{#expr: 2 * {{{pileHidesB|}}} }} * 1.1 }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawBird|}}} | {{#ifexpr: {{{rawBird|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawBird|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawLamb|}}} | {{#ifexpr: {{{rawLamb|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawLamb|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawChicken|}}} | {{#ifexpr: {{{rawChicken|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawChicken|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{rawRibs|}}} | {{#ifexpr: {{{rawRibs|}}} > 0 |{{#expr: {{#expr: 2 * {{{rawRibs|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{feathers|}}} | {{#ifexpr: {{{feathers|}}} > 0 |{{#expr: {{#expr: 2 * {{{feathers|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonBlood|}}} | {{#ifexpr: {{{dragonBlood|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonBlood|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlack|}}} | {{#ifexpr: {{{dragonScaleBlack|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleBlack|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleBlue|}}} | {{#ifexpr: {{{dragonScaleBlue|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleBlue|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleGreen|}}} | {{#ifexpr: {{{dragonScaleGreen|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleGreen|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleRed|}}} | {{#ifexpr: {{{dragonScaleRed|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleRed|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleWhite|}}} | {{#ifexpr: {{{dragonScaleWhite|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleWhite|}}} }} * 1.1 round 0 }} }} }}
 
|{{#if: {{{dragonScaleYellow|}}} | {{#ifexpr: {{{dragonScaleYellow|}}} > 0 |{{#expr: {{#expr: 2 * {{{dragonScaleYellow|}}} }} * 1.1 round 0 }} }} }}
 
 
|}
 
|}

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