From Dark and Darker Wiki
m (Typo) |
(Added examples. Added table types.) |
||
Line 9: | Line 9: | ||
<table class="wikitable sortable jquery-tablesorter stripedtable" cellspacing="0" style="text-align:center; vertical-align:middle;"> | <table class="wikitable sortable jquery-tablesorter stripedtable" cellspacing="0" style="text-align:center; vertical-align:middle;"> | ||
<tr> | <tr> | ||
<th style="width:200px;">Name</th> | |||
{{#vardefine:isLight}}{{#vardefine:isSkeletonBarrel}}{{#vardefine:isShrine}}{{#vardefine:isCollectable}}{{#vardefine:isDoor}} | |||
{{#switch:{{lc:{{{1|}}}}} | |||
|destructible= | |||
{{#vardefine:isDestructible|1}} | |||
<th style="width:200px;">Impact Endurance & Resistance</th> | |||
<th style="width:200px;">Interaction</th> | |environmental trap= | ||
{{#vardefine:isEnvironmentalTrap|1}} | |||
<th style="width:200px;"> | <th style="width:200px;">Interaction</th> | ||
<th style="width:200px;">Effect</th> | |||
|portal= | |||
{{#vardefine:isPortal|1}} | |||
<th style="width:200px;">Interaction</th> | |||
|ore | |||
<th style="width:200px;"> | |herb= | ||
{{#vardefine:isCollectable|1}} | |||
<th style="width:200px;">Interaction</th> | |||
<th style="width:200px;">Interaction Count</th> | |||
|special door | |||
|regular door= | |||
{{#vardefine:isDoor|1}} | |||
<th style="width:200px;">Unlock</th> | |||
<th style="width:200px;">Open</th> | |||
<th style="width:200px;">Close</th> | |||
|torch | |||
|lever | |||
|roaster= | |||
{{#vardefine:isLight|1}} | |||
<th style="width:200px;">Activate</th> | |||
<th style="width:200px;">Deactivate</th> | |||
|skeleton barrel= | |||
{{#vardefine:isSkeletonBarrel|1}} | |||
<th style="width:200px;">Impact Endurance & Resistance</th> | |||
<th style="width:200px;">Effect</th> | |||
|shrine= | |||
{{#vardefine:isShrine|1}} | |||
<th style="width:200px;">Use Shrine</th> | |||
<th style="width:200px;">Effect</th>}} | |||
<th style="width:200px;">AP/XP</th></tr><!-- | |||
Loop over each prop | Loop over each prop | ||
Line 60: | Line 62: | ||
-->{{#vardefine:open_duration<!-- | -->{{#vardefine:open_duration<!-- | ||
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Open|Duration}}<!-- | -->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Open|Duration}}<!-- | ||
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Open Portal|Duration}}<!-- | |||
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Disarm Trap|Duration}}<!-- | |||
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Use Shrine|Duration}}<!-- | -->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Use Shrine|Duration}}<!-- | ||
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Mining|Duration}}<!-- | -->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Mining|Duration}}<!-- | ||
Line 89: | Line 93: | ||
-->|<span class="colorrarity2">"{{#var:localized_string}}"</span>}} }}</td><!-- | -->|<span class="colorrarity2">"{{#var:localized_string}}"</span>}} }}</td><!-- | ||
Unlock | Unlock Duration | ||
--><td {{#if:{{#var:isDoor}}||style="display:none"}}><!-- | --><td {{#if:{{#var:isDoor}}||style="display:none"}}><!-- | ||
-->{{#if:{{#var:unlock_duration}}|{{#var:unlock_duration}} s}}</td><!-- | -->{{#if:{{#var:unlock_duration}}|{{#var:unlock_duration}} s}}</td><!-- | ||
Open | Open Duration | ||
--><td {{#if:{{#var:isCollectable}}{{#var:isDoor}}{{#var:isLight}}{{#var:isShrine}}||style="display:none"}}><!-- | --><td {{#if:{{#var:isCollectable}}{{#var:isDoor}}{{#var:isLight}}{{#var:isShrine}}{{#var:isEnvironmentalTrap}}{{#var:isPortal}}||style="display:none"}}><!-- | ||
-->{{#if:{{#var:open_duration}}|{{#var:open_duration}} s}}<!-- | -->{{#if:{{#var:open_duration}}|{{#var:open_duration}} s}}<!-- | ||
-->{{#if:{{#var:isShrine}} | -->{{#if:{{#var:isShrine}}{{#var:isPortal}}|<br>Magical}}</td><!-- | ||
Close | Close Duration | ||
--><td {{#if:{{#var:isDoor}}{{#var:isLight}}||style="display:none"}}><!-- | --><td {{#if:{{#var:isDoor}}{{#var:isLight}}||style="display:none"}}><!-- | ||
-->{{#if:{{#var:close_duration}}|{{#var:close_duration}} s}}</td><!-- | -->{{#if:{{#var:close_duration}}|{{#var:close_duration}} s}}</td><!-- | ||
Line 107: | Line 111: | ||
Impact Endurance & Resistance | Impact Endurance & Resistance | ||
--><td {{#if:{{#var: | --><td {{#if:{{#var:isSkeletonBarrel}}{{#var:isDestructible}}||style="display:none"}}><!-- | ||
-->{{#if:{{#var:IE}}|<span style="color:#EEE8;">IE:</span> {{#var:IE}} }}<!-- | -->{{#if:{{#var:IE}}|<span style="color:#EEE8;">IE:</span> {{#var:IE}} }}<!-- | ||
-->{{#if:{{#var:IR}}|<span style="color:#EEE8;">IR:</span> {{#var:IR}} }}</td><!-- | -->{{#if:{{#var:IR}}|<span style="color:#EEE8;">IR:</span> {{#var:IR}} }}</td><!-- | ||
Effect | Effect | ||
--><td {{#if:{{#var: | --><td {{#if:{{#var:isSkeletonBarrel}}{{#var:isShrine}}{{#var:isEnvironmentalTrap}}||style="display:none"}}><!-- | ||
-->{{#if:{{#var: | -->{{#if:{{#var:isSkeletonBarrel}}<!-- | ||
-->|{{Effects|{{#explode:{{#var:current_prop}}|,|0|2}}|{{#explode:{{#var:current_prop}}|,|1|2}} }} }}<!-- | -->|{{Effects|{{#explode:{{#var:current_prop}}|,|0|2}}|{{#explode:{{#var:current_prop}}|,|1|2}} }} }}<!-- | ||
-->{{#if:{{#var:isShrine}}<!-- | -->{{#if:{{#var:isShrine}}<!-- | ||
Line 126: | Line 130: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
List Props and generate rows with them | List Props and generate rows with them | ||
==Example | ==Example: Shrine== | ||
<pre>{{GeneratePropTable| | <pre>{{GeneratePropTable|Shrine}}</pre> | ||
{{GeneratePropTable| | {{GeneratePropTable|Shrine}} | ||
==Example | ==Example: Portal== | ||
<pre>{{GeneratePropTable|Portal}}</pre> | |||
{{GeneratePropTable|Portal}} | |||
==Example: Special Door: Custom List 1== | |||
<pre>{{GeneratePropTable|Special Door|list=Skull Stone Door}}</pre> | <pre>{{GeneratePropTable|Special Door|list=Skull Stone Door}}</pre> | ||
{{GeneratePropTable|Special Door|list=Skull Stone Door}} | {{GeneratePropTable|Special Door|list=Skull Stone Door}} | ||
==Example | ==Example: Special Door: Custom List 2== | ||
<pre>{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}</pre> | <pre>{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}</pre> | ||
{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}} | {{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}} | ||
</noinclude> | </noinclude> |
Revision as of 03:02, 14 August 2024
List Props and generate rows with them
Example: Shrine
{{GeneratePropTable|Shrine}}
Name | Use Shrine | Effect | AP/XP |
---|---|---|---|
20 s Magical | Hold a fallen ally's soul heart to interact with this shrine. When the interaction completes, the shrine resurrects the ally. | AP: 20 XP: 3 | |
5 s Magical | 10 Move Speed Add for 60s | AP: 5 XP: 3 | |
5 s Magical | 100 Magical Base Healing | AP: 5 XP: 3 | |
5 s Magical | 15 Physical Power for 60s | AP: 5 XP: 3 | |
5 s Magical | 5% Physical Damage Reduction and 5% Magical Damage Reduction for 60s | AP: 5 XP: 3 |
Example: Portal
{{GeneratePropTable|Portal}}
Name | Interaction | AP/XP |
---|---|---|
5 s Magical | AP: 15 XP: 5 | |
5 s Magical | AP: 15 XP: 5 | |
5 s Magical | AP: 15 XP: 5 | |
5 s Magical | AP: 15 XP: 5 | |
Magical | AP: 15 XP: 5 |
Example: Special Door: Custom List 1
{{GeneratePropTable|Special Door|list=Skull Stone Door}}
Name | Unlock | Open | Close | AP/XP |
---|---|---|---|---|
3 s | Magical | AP: 25 |
Example: Special Door: Custom List 2
{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}
Name | Unlock | Open | Close | AP/XP |
---|---|---|---|---|
3 s | Magical | AP: 25 | ||
5 s | 3 s Magical | 0.5 s | AP: 15 |