From Dark and Darker Wiki
m (Updated example) |
(Fixed selected tab not displaying when Normal version doesn't exist.) |
||
Line 7: | Line 7: | ||
Type: | Type: | ||
-->{{#vardefine:isActive|yes}}<!-- | |||
-->{{#switch:1<!-- | -->{{#switch:1<!-- | ||
-->|{{#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}}<!-- | -->{{#vardefine:isLocked}}<!-- | ||
-->{{#vardefine:isActive|1}}<!-- | |||
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'''|active=yes|tabid=loottable}}<!-- | ||
-->{{#vardefine:isLocked|#Locked}} }}<!-- | -->{{#vardefine:isLocked|#Locked}}<!-- | ||
-->{{#vardefine:isActive|1}} }}<!-- | |||
-->{{#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|''' | -->{{TabToggle|HighRoller|'''High Roller'''|active={{#var:isActive}}|tabid=loottable}}<!-- | ||
-->{{#vardefine:isLockedHR}}<!-- | -->{{#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|''' | -->{{TabToggle|HighRoller|'''High Roller'''|active={{#var:isActive}}|tabid=loottable}}<!-- | ||
-->{{#vardefine:isLockedHR|#Locked}} }}<!-- | -->{{#vardefine:isLockedHR|#Locked}} }}<!-- | ||
Line 69: | Line 72: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
Example <pre style="width:fit-content">{{GeneratePropLootDrops| | Example <pre style="width:fit-content">{{GeneratePropLootDrops|Marvelous Chest|Global}}</pre> | ||
{{GeneratePropLootDrops| | {{GeneratePropLootDrops|Marvelous Chest|Global}} | ||
</noinclude> | </noinclude> |
Revision as of 01:47, 7 August 2024
Example
{{GeneratePropLootDrops|Marvelous Chest|Global}}
Loot Tables
Currently on Source: Global
There is no Marvelous Chest on this Source.