From Dark and Darker Wiki

(Set width of container nav bar div)
(Testing fix for Global Props with Drop Data)
Line 28: Line 28:
-->{{TabToggle|HighRoller|'''High Roller'''|active={{#var:isActive}}|tabid=loottable}}<!--
-->{{TabToggle|HighRoller|'''High Roller'''|active={{#var:isActive}}|tabid=loottable}}<!--
-->{{#vardefine:isLockedHR|&#35;Locked}} }}<!--
-->{{#vardefine:isLockedHR|&#35;Locked}} }}<!--
-->{{#switch:1<!--
-->|{{#if:{{#vardefineecho:Global|{{Prop Data|{{{1|}}}-{{{2|}}}|Global|drops|all}} }}|1}}=<!--
-->{{TabToggle|Global|'''Global'''|active={{#var:isActive}}|tabid=loottable}}<!--
-->{{#vardefine:isLockedGlobal}}<!--
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.
-->|{{#if:{{#vardefineecho:Global|{{Prop Data|{{{1|}}}-{{{2|}}}#Locked|Global|drops|all}} }}|1}}=<!--
-->{{TabToggle|Global|'''Global'''|active={{#var:isActive}}|tabid=loottable}}<!--
-->{{#vardefine:isLockedGlobal|&#35;Locked}} }}<!--


Loot Tables for container {{{1|}}} on source {{{2|}}}
Loot Tables for container {{{1|}}} on source {{{2|}}}
Line 67: Line 76:
--><br><!--
--><br><!--
-->{{:LootTable:{{#var:currentdrop}}|HR}}</div> }}</div><!--
-->{{:LootTable:{{#var:currentdrop}}|HR}}</div> }}</div><!--
Transclude the Loot Tables for the Global drops
--><div class="Global-data" {{#if:{{#var:Normal}}|style="display:none"}}><!--
-->{{#arraydefine:drops|{{#var:Global}} }}<!--
-->{{#loop:i|0|{{#arraysize:drops}}<!--
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!--
-->{{TabToggle<!--
-->|{{#var:currentdrop}}<!--
-->|{{#var:currentdrop}}<!--
-->|active={{#ifeq:{{ #var:i }}|0|yes|no}}<!--
-->|tabid=Global}} }}<!--
-->{{#loop:i|0|{{#arraysize:drops}}<!--
-->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!--
--><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i}}|0||style="display:none"}}><!--
--><br><!--
--><span style="margin-left:30px; font-size:24px"><!--
-->Rolls <b class="colorrarityElite">{{Prop Data|{{{1|}}}-{{{2|}}}{{#var:isLockedHR}}|Global|drops|{{#var:currentdrop}} }}</b> time(s)</span><!--
--><br><!--
-->{{:LootTable:{{#var:currentdrop}}|Global}}</div> }}</div><!--


If there are no drops for the Source tell the user
If there are no drops for the Source tell the user
Line 72: Line 100:


--></includeonly><noinclude>
--></includeonly><noinclude>
Example <pre style="width:fit-content">{{GeneratePropLootDrops|Marvelous Chest|Global}}</pre>
<h2>Example 1</h2>
<pre style="width:fit-content">{{GeneratePropLootDrops|Marvelous Chest|Global}}</pre>
{{GeneratePropLootDrops|Marvelous Chest|Global}}
{{GeneratePropLootDrops|Marvelous Chest|Global}}
<h2>Example 1</h2>
<pre style="width:fit-content">{{GeneratePropLootDrops|Spider Pot|Global}}</pre>
{{GeneratePropLootDrops|Spider Pot|Global}}
</noinclude>
</noinclude>

Revision as of 20:31, 13 August 2024

Example 1

{{GeneratePropLootDrops|Marvelous Chest|Global}}

Loot Tables

Global Goblin Caves
& Ice Cavern
Ruins Crypts Inferno
& Ice Abyss

Currently on Source: Global

High Roller
Goldchest_Marvelouschest_HR1
Spawn_Eventcurrency_N
Spawn_Treasure_Marvelouschesttreasure_HR1
Utility_Marvelouschestutility_HR1
Spawn_Chestcoin_Marvelouschestgold_HR1

Rolls 3 time(s)
0
50
100
150
200
300
400
500
Loot Summary at 0 Luck
Type
Rarity
Weapon
29.93%
Armor
53.28%
Accessory
13.87%
Utility
2.92%
Rare
70.0%
20.9489%37.2993%9.708%2.0438%
Epic
25.0%
7.4818%13.3212%3.4672%0.7299%
Legend
5.0%
1.4964%2.6642%0.6934%0.146%
Loot Table at 0 Luck
NameLuck GradeLuck Grades present on the graph but missing in the column below are associated with dropping nothing.RarityTypeItem CountProbability
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareUtility10.5109%
5EpicUtility10.1825%
6LegendaryUtility10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareUtility10.5109%
5EpicUtility10.1825%
6LegendaryUtility10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareUtility10.5109%
5EpicUtility10.1825%
6LegendaryUtility10.0365%
4RareUtility10.5109%
5EpicUtility10.1825%
6LegendaryUtility10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareAccessory10.5109%
5EpicAccessory10.1825%
6LegendaryAccessory10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareArmor10.5109%
5EpicArmor10.1825%
6LegendaryArmor10.0365%
4RareWeapon10.5109%
5EpicWeapon10.1825%
6LegendaryWeapon10.0365%

There is no Marvelous Chest on this Source.

Example 1

{{GeneratePropLootDrops|Spider Pot|Global}}

Loot Tables

Currently on Source: Global

There is no Spider Pot on this Source.