From Dark and Darker Wiki
(Added arguments to LootTable transclusions. This will fix canvas issues for the LootTable widget calls.) |
m (phrasing adjustment) |
||
(11 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <span style="font-size:18px; width:100%; display:inline-block"><h2 style="width:100%">Loot Tables</h2><!-- | ||
--><h2>Loot Tables</h2><!-- | --><p style="padding:20px; color:red;">Iron Mace reworked the loot system. The current loot information is out of date and incredibly misleading. Once things are fixed and loot information is accurate once more, they will be re-enabled.</p></span><!-- | ||
--><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding: | --><noinclude><includeonly><!-- | ||
--><h2 style="width:100%">Loot Tables</h2><!-- | |||
--><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding:5px; font-weight:bold; margin:20px; border-radius:10px;">Loot Tables last updated for {{#explode:{{:TODO|LootTables}}|$|0|2}}</p><!-- | |||
Type: | Type: | ||
-->{{#if:{{#vardefineecho:common|{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}}}}<!-- | --><span style="font-size:24px"><!-- | ||
-->{{#if:{{#vardefineecho:common|{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}} }}<!-- | |||
-->{{#if:{{#vardefineecho:elite|{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|all}}}}<!-- | -->|{{TabToggle|Common|'''Common'''|active=yes|tabid=loottable}} }}<!-- | ||
-->{{#if:{{#vardefineecho:elite|{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|all}} }}<!-- | |||
-->{{#if:{{#vardefineecho:nightmare|{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|all}}}}<!-- | -->|{{TabToggle|Elite|'''Elite'''|tabid=loottable}} }}<!-- | ||
-->{{#if:{{#vardefineecho:nightmare|{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|all}} }}<!-- | |||
-->|{{TabToggle|Nightmare|'''Nightmare'''|tabid=loottable}} }}</span><!-- | |||
Loot Table: | Loot Table: | ||
--><div class="Common-data" {{#if:{{#var:common}}||style="display:none"}}><!-- | --><div class="Common-data" {{#if:{{#var:common}}||style="display:none"}}><!-- | ||
-->{{#arraydefine:drops|{{#var:common}} }}<!-- | -->{{#arraydefine:drops|{{#var:common}} }}<!-- | ||
-->Loot Table: <!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | -->{{#loop:i|0|{{#arraysize:drops}}<!-- | ||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | ||
Line 25: | Line 29: | ||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | --><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | ||
--><br><!-- | --><br><!-- | ||
--><span style="margin-left:30px"><!-- | --><span style="margin-left:30px; font-size:24px"><!-- | ||
-->Rolls {{Monster Data|{{{1|{{PAGENAME}}}}}|drops|{{#var:currentdrop}} }} | -->Rolls <b>{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | ||
--><br><!-- | --><br><!-- | ||
-->{{:LootTable:{{#var:currentdrop}}|C}}</div>}}</div><!-- | -->{{:LootTable:{{#var:currentdrop}}|C}}</div>}}</div><!-- | ||
--><div class="Elite-data" {{#if:{{#var:common}}|style="display:none"|{{#if:{{#var:elite}}||style="display:none"}}}}><!-- | --><div class="Elite-data" {{#if:{{#var:common}}|style="display:none"|{{#if:{{#var:elite}}||style="display:none"}} }}><!-- | ||
-->{{#arraydefine:drops|{{#var:elite}} }}<!-- | -->{{#arraydefine:drops|{{#var:elite}} }}<!-- | ||
-->Loot Table: <!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | -->{{#loop:i|0|{{#arraysize:drops}}<!-- | ||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | ||
Line 42: | Line 47: | ||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | --><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | ||
--><br><!-- | --><br><!-- | ||
--><span style="margin-left:30px"><!-- | --><span style="margin-left:30px; font-size:24px"><!-- | ||
-->Rolls {{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|{{#var:currentdrop}} }} | -->Rolls <b class="colorrarityElite">{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | ||
--><br><!-- | --><br><!-- | ||
-->{{:LootTable:{{#var:currentdrop}}|E}}</div>}}</div><!-- | -->{{:LootTable:{{#var:currentdrop}}|E}}</div>}}</div><!-- | ||
--><div class="Nightmare-data" {{#if:{{#var:common}}|style="display:none"|{{#if:{{#var:elite}}|style="display:none"|{{#if:{{#var:nightmare}}||style="display:none"}}}}}}><!-- | --><div class="Nightmare-data" {{#if:{{#var:common}}|style="display:none"|{{#if:{{#var:elite}}|style="display:none"|{{#if:{{#var:nightmare}}||style="display:none"}} }} }}><!-- | ||
-->{{#arraydefine:drops|{{#var:nightmare}} }}<!-- | -->{{#arraydefine:drops|{{#var:nightmare}} }}<!-- | ||
-->Loot Table: <!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | -->{{#loop:i|0|{{#arraysize:drops}}<!-- | ||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | ||
Line 59: | Line 65: | ||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | --><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | ||
--><br><!-- | --><br><!-- | ||
--><span style="margin-left:30px"><!-- | --><span style="margin-left:30px; font-size:24px"><!-- | ||
-->Rolls {{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|{{#var:currentdrop}} }} | -->Rolls <b class="colorrarityNightmare">{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | ||
--><br><!-- | --><br><!-- | ||
-->{{:LootTable:{{#var:currentdrop}}|N}}</div>}}</div><!-- | -->{{:LootTable:{{#var:currentdrop}}|N}}</div>}}</div><!-- | ||
--></includeonly | --></includeonly> | ||
==Example== | ==Example== | ||
<pre>{{GenerateLootDrops|zombie}}</pre> | <pre>{{GenerateLootDrops|zombie}}</pre> | ||
{{GenerateLootDrops|zombie}} | {{GenerateLootDrops|zombie}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:46, 31 May 2025
Loot Tables
Iron Mace reworked the loot system. The current loot information is out of date and incredibly misleading. Once things are fixed and loot information is accurate once more, they will be re-enabled.
Example
{{GenerateLootDrops|zombie}}
Loot Tables
Iron Mace reworked the loot system. The current loot information is out of date and incredibly misleading. Once things are fixed and loot information is accurate once more, they will be re-enabled.