Difference between revisions of "Template:Loot InfoBox"

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