Difference between revisions of "Template:Loot InfoBox"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(48 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#arraydefine:lootArrayBase|{{{loot_base}}}}}{{#arraydefine:lootArraySpecial|{{{loot_special}}}}}{{#arraydefine:lootArrayCarved|{{{loot_carved}}}}}{{#arraydefine: | + | {{#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"> | + | | <span class="translatable">Stealing</span> || {{#if:{{{loot_stealing|}}}|{{#arrayprint:lootArrayStealing|<br/> }}|<span class="translatable">unknown</span>{{Missing Info}}}} |
+ | |} | ||
+ | |||
+ | {| class=infobox style="clear: right;" | ||
+ | |class=titlecell colspan="21"| <span class="translatable">Carving</span> | ||
|- | |- | ||
− | | | + | {{#vardefine: nocarveables|0}} |
− | | | + | {{#ifeq: {{{pileHidesN|}}} | 0 | | {{#vardefine: nocarveables|1}} }} |
− | | | + | {{#ifeq: {{{pileHidesS|}}} | 0 | | {{#vardefine: nocarveables|1}} }} |
+ | {{#ifeq: {{{pileHidesH|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{pileHidesB|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{rawBird|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{rawLamb|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{rawChicken|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{rawRibs|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{feathers|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonBlood|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleBlack|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleBlue|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleGreen|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleRed|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleWhite|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{{dragonScaleYellow|}}} | 0 | | {{#vardefine: nocarveables|1}} }} | ||
+ | {{#ifeq: {{#var: nocarveables}} | 0 | | ||
+ | {{!}} colspan="21"{{!}} <span class="translatable">Nothing</span>| | ||
+ | {{Loot_CarveablesTable | ||
+ | | pileHidesN = {{{pileHidesN|}}} | ||
+ | | pileHidesS = {{{pileHidesS|}}} | ||
+ | | pileHidesH = {{{pileHidesH|}}} | ||
+ | | pileHidesB = {{{pileHidesB|}}} | ||
+ | | rawBird = {{{rawBird|}}} | ||
+ | | rawLamb = {{{rawLamb|}}} | ||
+ | | rawChicken = {{{rawChicken|}}} | ||
+ | | rawRibs = {{{rawRibs|}}} | ||
+ | | feathers = {{{feathers|}}} | ||
+ | | dragonBlood = {{{dragonBlood|}}} | ||
+ | | dragonScaleBlack = {{{dragonScaleBlack|}}} | ||
+ | | dragonScaleBlue = {{{dragonScaleBlue|}}} | ||
+ | | dragonScaleGreen = {{{dragonScaleGreen|}}} | ||
+ | | dragonScaleRed = {{{dragonScaleRed|}}} | ||
+ | | dragonScaleWhite = {{{dragonScaleWhite|}}} | ||
+ | | dragonScaleYellow = {{{dragonScaleYellow|}}} | ||
+ | }} }} | ||
|} | |} |
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 | ||||||||||||||||||||