From Dark and Darker Wiki

(Fixed issue that arose from assuming every prop has an unlocked variant. Issue primarily affected Golden Chest.)
(Fixed roll count info when only locked variants exist.)
Line 10: Line 10:
-->|{{#if:{{#vardefineecho:Normal|{{Prop Data|{{{1|}}}-{{{2|}}}|N|drops|all}} }}|1}}=<!--
-->|{{#if:{{#vardefineecho:Normal|{{Prop Data|{{{1|}}}-{{{2|}}}|N|drops|all}} }}|1}}=<!--
-->{{TabToggle|Normal|'''Normal'''|active=yes|tabid=loottable}}<!--
-->{{TabToggle|Normal|'''Normal'''|active=yes|tabid=loottable}}<!--
-->{{#vardefine:isLocked}}<!--
If the first case isn't triggered, this is a fall-through option.
If the first case isn't triggered, this is a fall-through option.
In practice, this means there only exist locked versions of the prop for Normals.
In practice, this means there only exist locked versions of the prop for Normals.
-->|{{#if:{{#vardefineecho:Normal|{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|N|drops|all}} }}|1}}=<!--
-->|{{#if:{{#vardefineecho:Normal|{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|N|drops|all}} }}|1}}=<!--
-->{{TabToggle|Normal|'''Normal'''|tabid=loottable}} }}<!--
-->{{TabToggle|Normal|'''Normal'''|tabid=loottable}}<!--
-->{{#vardefine:isLocked|#Locked}} }}<!--
-->{{#switch:1<!--
-->{{#switch:1<!--
-->|{{#if:{{#vardefineecho:HighRoller|{{Prop Data|{{{1|}}}-{{{2|}}}|HR|drops|all}} }}|1}}=<!--
-->|{{#if:{{#vardefineecho:HighRoller|{{Prop Data|{{{1|}}}-{{{2|}}}|HR|drops|all}} }}|1}}=<!--
-->{{TabToggle|HighRoller|'''HighRoller'''|tabid=loottable}}<!--
-->{{TabToggle|HighRoller|'''HighRoller'''|tabid=loottable}}<!--
-->{{#vardefine:isLockedHR}}<!--
If the first case isn't triggered, this is a fall-through option.
If the first case isn't triggered, this is a fall-through option.
In practice, this means there only exist locked versions of the prop for High Roller.
In practice, this means there only exist locked versions of the prop for High Roller.
-->|{{#if:{{#vardefineecho:HighRoller|{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|HR|drops|all}} }}|1}}=<!--
-->|{{#if:{{#vardefineecho:HighRoller|{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|HR|drops|all}} }}|1}}=<!--
-->{{TabToggle|HighRoller|'''HighRoller'''|tabid=loottable}} }}<!--
-->{{TabToggle|HighRoller|'''HighRoller'''|tabid=loottable}}<!--
-->{{#vardefine:isLockedHR|#Locked}} }}<!--


Loot Tables for container {{{1|}}} on source {{{2|}}}
Loot Tables for container {{{1|}}} on source {{{2|}}}
Line 38: Line 42:
--><br><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <b>{{Prop Data|{{{1|}}}-{{{2|}}}|N|drops|{{#var:currentdrop}} }}</b> time(s)</span><!--
-->Rolls <b>{{Prop Data|{{{1|}}}-{{{2|}}}{{#var:isLocked}}|N|drops|{{#var:currentdrop}} }}</b> time(s)</span><!--
--><br><!--
--><br><!--
-->{{:LootTable:{{#var:currentdrop}}|N}}</div> }}</div><!--
-->{{:LootTable:{{#var:currentdrop}}|N}}</div> }}</div><!--
Line 57: Line 61:
--><br><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <b class="colorrarityElite">{{Prop Data|{{{1|}}}-{{{2|}}}|HR|drops|{{#var:currentdrop}} }}</b> time(s)</span><!--
-->Rolls <b class="colorrarityElite">{{Prop Data|{{{1|}}}-{{{2|}}}{{#var:isLockedHR}}|HR|drops|{{#var:currentdrop}} }}</b> time(s)</span><!--
--><br><!--
--><br><!--
-->{{:LootTable:{{#var:currentdrop}}|HR}}</div> }}</div><!--
-->{{:LootTable:{{#var:currentdrop}}|HR}}</div> }}</div><!--
Line 66: Line 70:
--></includeonly><noinclude>
--></includeonly><noinclude>
Example <pre style="width:fit-content">{{GeneratePropLootDrops|Golden Chest|Crypt}}</pre>
Example <pre style="width:fit-content">{{GeneratePropLootDrops|Golden Chest|Crypt}}</pre>
{{GeneratePropLootDrops|Golden Chest|Crypt}}
{{GeneratePropLootDrops|Bronze Ornate Chest|Crypt}}
</noinclude>
</noinclude>

Revision as of 01:03, 6 August 2024

Example

{{GeneratePropLootDrops|Golden Chest|Crypt}}

Loot Tables

Currently on Source: Crypt

There is no Bronze Ornate Chest on this Source.