From Dark and Darker Wiki
m (Cleaned up whitespace. Formatted the code to indicate scope level.) |
m (phrasing adjustment) |
||
(20 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
< | <span style="font-size:18px; width:100%; display:inline-block"><h2 style="width:100%">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><!-- | |||
--><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:{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}}<!-- | --><span style="font-size:24px"><!-- | ||
-->{{#if:{{#vardefineecho:common|{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|all}} }}<!-- | |||
-->{{#if:{{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:{{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: | ||
{{#if:{{ | --><div class="Common-data" {{#if:{{#var:common}}||style="display:none"}}><!-- | ||
-->{{#arraydefine:drops|{{#var:common}} }}<!-- | |||
-->{{#if:{{ | -->Loot Table: <!-- | ||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->{{#if:{{ | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | ||
-->{{TabToggle<!-- | |||
--></includeonly | -->|{{#var:currentdrop}}<!-- | ||
Example <pre>{{GenerateLootDrops|zombie}}</pre> | -->|{{#var:currentdrop}}<!-- | ||
-->|active={{#ifeq:{{#var:i}}|0|yes|no}}<!-- | |||
-->|tabid={{{1|{{PAGENAME}}}}}}} }}<!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | |||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | |||
--><br><!-- | |||
--><span style="margin-left:30px; font-size:24px"><!-- | |||
-->Rolls <b>{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | |||
--><br><!-- | |||
-->{{:LootTable:{{#var:currentdrop}}|C}}</div>}}</div><!-- | |||
--><div class="Elite-data" {{#if:{{#var:common}}|style="display:none"|{{#if:{{#var:elite}}||style="display:none"}} }}><!-- | |||
-->{{#arraydefine:drops|{{#var:elite}} }}<!-- | |||
-->Loot Table: <!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | |||
-->{{TabToggle<!-- | |||
-->|{{#var:currentdrop}}<!-- | |||
-->|{{#var:currentdrop}}<!-- | |||
-->|active={{#ifeq:{{#var:i}}|0|yes|no}}<!-- | |||
-->|tabid={{{1|{{PAGENAME}}}}}#elite}} }}<!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | |||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | |||
--><br><!-- | |||
--><span style="margin-left:30px; font-size:24px"><!-- | |||
-->Rolls <b class="colorrarityElite">{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | |||
--><br><!-- | |||
-->{{: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"}} }} }}><!-- | |||
-->{{#arraydefine:drops|{{#var:nightmare}} }}<!-- | |||
-->Loot Table: <!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | |||
-->{{TabToggle<!-- | |||
-->|{{#var:currentdrop}}<!-- | |||
-->|{{#var:currentdrop}}<!-- | |||
-->|active={{#ifeq:{{#var:i}}|0|yes|no}}<!-- | |||
-->|tabid={{{1|{{PAGENAME}}}}}#nightmare}} }}<!-- | |||
-->{{#loop:i|0|{{#arraysize:drops}}<!-- | |||
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- | |||
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i }}|0|yes|style="display:none"}}><!-- | |||
--><br><!-- | |||
--><span style="margin-left:30px; font-size:24px"><!-- | |||
-->Rolls <b class="colorrarityNightmare">{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|{{#var:currentdrop}} }}</b> time(s)</span><!-- | |||
--><br><!-- | |||
-->{{:LootTable:{{#var:currentdrop}}|N}}</div>}}</div><!-- | |||
--></includeonly> | |||
==Example== | |||
<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.