|
|
(7 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly><!-- | | <includeonly><!-- |
| --><h2>Loot Tables</h2><!-- | | --><h2>Loot Tables</h2><!-- |
| --><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding:3px; font-weight:bold; margin:20px; border-radius:10px;">Loot Tables last updated for {{:TODO|LootTables}}</p><!-- | | --><p style="width:fit-content; border:1px solid #DD952A; text-align:center; padding:3px; font-weight:bold; margin:20px; border-radius:10px;">Loot Tables last updated for {{:TODO|Props}}</p><!-- |
| --><div style="width:fit-content">{{ContainersMapNavBar}}</div><!-- | | --><div style="width:fit-content">{{ContainersMapNavBar}}</div><!-- |
| -->Currently on Map: {{{2|}}}<!-- | | -->Currently on Source: {{{2|}}}<!-- |
|
| |
|
| Type: | | Type: |
| -->{{#if:{{#vardefineecho:Normal|{{Props Data|{{{1|}}}|drops|{{{2|}}}|N|all}} }}<!-- | | -->{{#if:{{#vardefineecho:Normal|{{Prop Data|{{{1|}}}|drops|{{{2|}}}|N|all}} }}<!-- |
| -->|{{TabToggle|Normal|'''Normal'''|active=yes|tabid=loottable}} }}<!-- | | -->|{{TabToggle|Normal|'''Normal'''|active=yes|tabid=loottable}} }}<!-- |
| -->{{#if:{{#vardefineecho:HighRoller|{{Props Data|{{{1|}}}|drops|{{{2|}}}|HR|all}} }}<!-- | | -->{{#if:{{#vardefineecho:HighRoller|{{Prop Data|{{{1|}}}|drops|{{{2|}}}|HR|all}} }}<!-- |
| -->|{{TabToggle|HighRoller|'''High Roller'''|tabid=loottable}} }}<!-- | | -->|{{TabToggle|HighRoller|'''High Roller'''|tabid=loottable}} }}<!-- |
|
| |
|
| Loot Table: | | Loot Tables for container {{{1|}}} on source {{{2|}}} |
| -->{{#if:{{#var:Normal}}<!-- | | Transclude the Loot Tables for the Normal drops |
| -->|<div class="Normal-data"><!-- | | --><div class="Normal-data" {{#if:{{#var:Normal}}||style="display:none"}}><!-- |
| -->{{ListContainersLootDrops<!-- | | -->{{#arraydefine:drops|{{#var:Normal}} }}<!-- |
| -->|container={{{1|}}}<!-- | | -->{{#loop:i|0|{{#arraysize:drops}}<!-- |
| -->|map={{{2|}}}<!-- | | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- |
| -->|version=N}}</div>}}<!--
| | -->{{TabToggle<!-- |
| -->{{#if:{{#var:HighRoller}}<!-- | | -->|{{#var:currentdrop}}<!-- |
| -->|<div class="HighRoller-data" style="display:none"><!--
| | -->|{{#var:currentdrop}}<!-- |
| -->{{ListContainersLootDrops<!-- | | -->|active={{#ifeq:{{ #var:i }}|0|yes|no}}<!-- |
| -->|container={{{1|}}}<!-- | | -->|tabid={{{1|}}}}} }}<!-- |
| -->|map={{{2|}}}<!-- | | -->{{#loop:i|0|{{#arraysize:drops}}<!-- |
| -->|version=HR}}</div>}}<!-- | | -->|{{#vardefine:currentdrop|{{#arrayindex:drops|{{#var:i}} }} }}<!-- |
| | --><div class="{{#var:currentdrop}}-data" {{#ifeq:{{#var:i}}|0||style="display:none"}}><!-- |
| | --><br><!-- |
| | --><span style="margin-left:30px"><!-- |
| | -->Rolls {{Prop Data|{{{1|}}}|drops|{{{2|}}}|N|{{#var:currentdrop}} }} times</span><!-- |
| | --><br><!-- |
| | -->{{:LootTable:{{#var:currentdrop}} }}</div> }}</div><!-- |
| | |
| | Transclude the Loot Tables for the High Roller drops |
| | --><div class="HighRoller-data" {{#if:{{#var:Normal}}|style="display:none"}}><!-- |
| | -->{{#arraydefine:drops|{{#var:HighRoller}} }}<!-- |
| | -->{{#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|}}}}} }}<!-- |
| | -->{{#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"><!-- |
| | -->Rolls {{Prop Data|{{{1|}}}|drops|{{{2|}}}|HR|{{#var:currentdrop}} }} times</span><!-- |
| | --><br><!-- |
| | -->{{:LootTable:{{#var:currentdrop}} }}</div> }}</div><!-- |
| | |
| | If there are no drops for the Source tell the user |
| | --><div {{#if:{{#var:Normal}}{{#var:HighRoller}}|style="display:none"}}>There is no {{{1|}}} on this Source.</div><!-- |
| | |
| --></includeonly><noinclude> | | --></includeonly><noinclude> |
| Example <pre style="width:fit-content">{{GenerateContainersLootDrops|Golden Chest|Goblin Caves}}</pre> | | Example <pre style="width:fit-content">{{GenerateContainersLootDrops|Golden Chest|Inferno}}</pre> |
| {{GenerateContainersLootDrops|Golden Chest|Goblin Caves}} | | {{GenerateContainersLootDrops|Golden Chest|Inferno}} |
| </noinclude> | | </noinclude> |