From Dark and Darker Wiki

(Made number of rolls more prominent.)
m (phrasing adjustment)
 
(8 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><!--
--><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><!--
--><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"><!--
-->|{{TabToggle|Common|'''Common'''|active=yes|tabid=loottable}}}}<!--
-->{{#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}} }}<!--
-->|{{TabToggle|Elite|'''Elite'''|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}} }}<!--
-->|{{TabToggle|Nightmare|'''Nightmare'''|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 26: Line 30:
--><br><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <u><b>{{Monster Data|{{{1|{{PAGENAME}}}}}|drops|{{#var:currentdrop}} }}</b></u> times</span><!--
-->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 43: Line 48:
--><br><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <u><b>{{Monster Data|{{{1|{{PAGENAME}}}}}#elite|drops|{{#var:currentdrop}} }}</b></u> times</span><!--
-->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 60: Line 66:
--><br><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <u><b>{{Monster Data|{{{1|{{PAGENAME}}}}}#nightmare|drops|{{#var:currentdrop}} }}</b></u> times</span><!--
-->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><noinclude>
--></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.