From Dark and Darker Wiki

(Basic generate table prop. Complete for the following types: Torches, Roasters, Regular Doors, Special Doors. Needs work for the other types.)
 
m (endurance and resistance hyperlinked to mechanic page)
 
(18 intermediate revisions by one other user not shown)
Line 3: Line 3:
Get the list of props for which to generate rows
Get the list of props for which to generate rows
-->{{#arraydefine:Props|{{Prop Data|AllList|{{{1|}}}}} }}<!--
-->{{#arraydefine:Props|{{Prop Data|AllList|{{{1|}}}}} }}<!--
If a manual list was provided, use that instead
-->{{#if:{{{list|}}}|{{#arraydefine:Props|{{{list}}} }} }}<!--


Create table header row -->
Create table header row -->
<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>
{{#vardefine:isLight}}
<th style="width:200px;">Name</th>
{{#vardefine:isDoor}}
{{#vardefine:isDestructible}}{{#vardefine:isEnvironmentalTrap}}{{#vardefine:isPortal}}{{#vardefine:isLight}}{{#vardefine:isSkeletonBarrel}}{{#vardefine:isShrine}}{{#vardefine:isCollectable}}{{#vardefine:isDoor}}
{{#switch:{{lc:{{{1|}}}}}
{{#switch:{{lc:{{{1|}}}}}
|torch
|destructible=
|roaster=
{{#vardefine:isDestructible|1}}
{{#vardefine:isLight|1}}
<th style="width:200px">[[Impact_Power#Impact_Endurance|Impact Endurance]] & [[Impact_Power#Impact_Resistance|Resistance]]</th>
<th style="width:200px;">Name</th>
|environmental trap=
<th style="width:200px;">Activate</th>
{{#vardefine:isEnvironmentalTrap|1}}
<th style="width:200px;">Deactivate</th>
<th style="width:200px" class="tooltip">*Disarming Trap<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
<th style="width:200px;">AP/XP</th></tr>
<th style="width:200px">Requirements</th>
|special door
<th style="width:200px">Trap Effect</th>
|regular door=
|portal=
{{#vardefine:isDoor|1}}
{{#vardefine:isPortal|1}}
<th style="width:200px;">Name</th>
<th style="width:200px" class="tooltip">*Opening Portal<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Magical Interaction Speed|Magical Interaction Speed]]</span></th>
<th style="width:200px;">Unlock</th>
|special door
<th style="width:200px;">Activate</th>
|regular door=
<th style="width:200px;">Close</th>
{{#vardefine:isDoor|1}}
<th style="width:200px;">AP/XP</th></tr>}}<!--
<th style="width:200px" class="tooltip">*Unlock<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
<th style="width:200px">Requirements</th>
<th style="width:200px" class="tooltip">*Open<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
<th style="width:200px" class="tooltip">*Close<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
|torch
|lever
|roaster=
{{#vardefine:isLight|1}}
<th style="width:200px" class="tooltip">*Turn On<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
<th style="width:200px" class="tooltip">*Turn Off<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Regular Interaction Speed|Regular Interaction Speed]]</span></th>
|skeleton barrel=
{{#vardefine:isSkeletonBarrel|1}}
<th style="width:200px">[[Impact_Power#Impact_Endurance|Impact Endurance]] & [[Impact_Power#Impact_Resistance|Resistance]]</th>
<th style="width:200px">Effect Upon Breaking</th>
|shrine=
{{#vardefine:isShrine|1}}
<th style="width:200px" class="tooltip">*Use Shrine<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Stats#Magical Interaction Speed|Magical Interaction Speed]]</span></th>
<th style="width:200px">Shrine Effect</th>}}
<th style="width:200px" class="tooltip">*AP/XP<span class="tooltiptext-left" style="left:50%; transform:translate(-50%); bottom:66%; width:100%">[[Adventure Rank|Adventure Points Page]]<br>[[Experience|Experience Points Page]]</span></th></tr><!--


Loop over each prop
Loop over each prop
Line 30: Line 50:
-->|{{#vardefine:current_prop|{{#arrayindex:Props|{{#var:i}} }} }}<!--
-->|{{#vardefine:current_prop|{{#arrayindex:Props|{{#var:i}} }} }}<!--
-->{{#vardefine:grade_type|{{Prop Data|{{#var:current_prop}}|Global|GradeType}} }}<!--
-->{{#vardefine:grade_type|{{Prop Data|{{#var:current_prop}}|Global|GradeType}} }}<!--
-->{{#vardefine:localized_string|{{Prop Data|{{#var:current_prop}}|Global|LocalizedString}} }}<!--
-->{{#vardefine:localized_string|{{Prop Data|{{#var:current_prop}}|Global|LocalizedString}} }}{{#if:{{#var:localized_string}}||{{#vardefine:localized_string|{{#var:current_prop}} }} }}<!--
-->{{#vardefine:AP|{{Prop Data|{{#var:current_prop}}|Global|AP}} }}<!--
-->{{#vardefine:AP|{{Prop Data|{{#var:current_prop}}|Global|AP}}{{Prop Data|{{#var:current_prop}}|Common|AP}} }}<!--
-->{{#vardefine:XP|{{Prop Data|{{#var:current_prop}}|Global|XP}} }}<!--
-->{{#vardefine:XP|{{Prop Data|{{#var:current_prop}}|Global|XP}}{{Prop Data|{{#var:current_prop}}|Common|XP}} }}<!--
-->{{#vardefine:unlock_duration<!--
Open Duration, or Mining Duration, or Harvesting Duration, or...
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Unlock|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Pick Lock|Duration}} }}<!--
-->{{#vardefine: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|Mining|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Harvesting|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Loot|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Activate Lever|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Turn On|Duration}} }}<!--
-->{{#vardefine:requirements<!--
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Open|Requirement}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Unlock|Requirement}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Pick Lock|Requirement}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Disarm Trap|Requirement}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Mining|Requirement}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Activate Lever|Requirement}} }}<!--
-->{{#vardefine:close_duration<!--
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Close|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Deactivate Lever|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Turn Off|Duration}} }}<!--
-->{{#vardefine:IE|{{Prop Data|{{#var:current_prop}}|Global|ImpactEndurance}}{{Prop Data|{{#var:current_prop}}|Common|ImpactEndurance}} }}<!--
-->{{#vardefine:IR|{{Prop Data|{{#var:current_prop}}|Global|ImpactResistance}}{{Prop Data|{{#var:current_prop}}|Common|ImpactResistance}} }}<!--




Line 41: Line 88:
Use image link  
Use image link  
-->|{{#var:current_prop}}<!--
-->|{{#var:current_prop}}<!--
-->|rarity=<!--
-->|size=x125px<!--
-->{{#ifeq:HighEnd|{{#var:grade_type}}<!--
-->|7<!--
-->|2}}<!--
-->|caption=<!--
-->|caption=<!--
-->{{#ifeq:HighEnd|{{#var:grade_type}}<!--
-->{{#ifeq:HighEnd|{{#var:grade_type}}<!--
-->|<span class="colorrarity7">"{{#var:localized_string}}"</span><!--
-->|<span class="colorrarity7">{{#var:localized_string}}</span><!--
-->|<span class="colorrarity2">"{{#var:localized_string}}"</span>}} }}</td><!--
-->|<span class="colorrarity2">{{#var:localized_string}}</span>}} }}</td><!--


Unlock
Unlock Duration
-->{{#if:{{#var:isDoor}}<!--
--><td {{#if:{{#var:isDoor}}||style="display:none"}}><!--
-->|<td><!--
-->{{#if:{{#var:unlock_duration}}|{{#var:unlock_duration}}&nbsp;s}}</td><!--
-->{{#vardefine:unlock_duration<!--
Open Duration, or Mining Duration, or Harvesting Duration, or...
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Unlock|Duration}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Pick Lock|Duration}} }}<!--
-->{{#if:{{#var:unlock_duration}}|{{#var:unlock_duration}}&nbsp;s}}</td>}}<!--


Open
Requirements
--><td><!--
--><td {{#if:{{#var:isDoor}}||style="display:none"}}><!--
-->{{#vardefine:open_duration<!--
-->{{#if:{{#var:isDoor}}<!--
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Open|Duration}}<!--
-->|{{#replace:{{#var:requirements}}|,|<br>}} }}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Mining|Duration}}<!--
--></td><!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Harvesting|Duration}}<!--
 
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Loot|Duration}}<!--
Open Duration
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Activate Lever|Duration}}<!--
--><td {{#if:{{#var:isCollectable}}{{#var:isDoor}}{{#var:isLight}}{{#var:isShrine}}{{#var:isEnvironmentalTrap}}{{#var:isPortal}}||style="display:none"}}><!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Turn On|Duration}} }}<!--
-->{{#if:{{#var:open_duration}}|{{#var:open_duration}}&nbsp;s}}<!--
-->{{#if:{{#var:open_duration}}|{{#var:open_duration}}&nbsp;s}}</td><!--
-->{{#if:{{#var:isShrine}}{{#var:isPortal}}|{{#if:{{#var:open_duration}}|<br>[[Stats#Magical Interaction Speed|Magical Interaction Speed]]}} }}</td><!--
Close
 
--><td><!--
Requirements
-->{{#vardefine:close_duration<!--
--><td {{#if:{{#var:isEnvironmentalTrap}}||style="display:none"}}><!--
-->|{{Prop Data|{{#var:current_prop}}|Global|Interactions|Close|Duration}}<!--
-->{{#if:{{#var:isEnvironmentalTrap}}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Deactivate Level|Duration}}<!--
-->|{{#replace:{{#var:requirements}}|,|<br>}} }}<!--
-->{{Prop Data|{{#var:current_prop}}|Global|Interactions|Turn Off|Duration}} }}<!--
--></td><!--
 
Close Duration
--><td {{#if:{{#var:isDoor}}{{#var:isLight}}||style="display:none"}}><!--
-->{{#if:{{#var:close_duration}}|{{#var:close_duration}}&nbsp;s}}</td><!--
-->{{#if:{{#var:close_duration}}|{{#var:close_duration}}&nbsp;s}}</td><!--
Interaction Count
--><td {{#if:{{#var:isCollectable}}||style="display:none"}}><!--
-->{{Prop Data|{{#var:current_prop}}|Global|InteractionCount}}</td><!--
Impact Endurance & Resistance
--><td {{#if:{{#var:isSkeletonBarrel}}{{#var:isDestructible}}||style="display:none"}}><!--
-->{{#if:{{#var:IE}}|<span style="color:#EEE8;">IE:</span> {{#var:IE}} }}<br><!--
-->{{#if:{{#var:IR}}|<span style="color:#EEE8;">IR:</span> {{#var:IR}} }}</td><!--
Effect
--><td {{#if:{{#var:isSkeletonBarrel}}{{#var:isShrine}}{{#var:isEnvironmentalTrap}}||style="display:none"}}><!--
-->{{#if:{{#var:isSkeletonBarrel}}{{#var:isEnvironmentalTrap}}<!--
-->|{{Effects|{{#var:current_prop}} }} }}<!--
-->{{#if:{{#var:isShrine}}<!--
-->|{{Effects|{{#explode:{{Prop Data|{{#var:current_prop}}|Global|Abilities|All}}|,|0|2}} }} }}<!--
--></td><!--


AP/XP
AP/XP
--><td>{{#if:{{#var:AP}}|<span style="color:#EEE8;">AP:</span> {{#var:AP}} }}<br><!--
--><td><!--
-->{{#if:{{#var:AP}}|<span style="color:#EEE8;">AP:</span> {{#var:AP}} }}<br><!--
-->{{#if:{{#var:XP}}|<span style="color:#EEE8;">XP:</span> {{#var:XP}} }}</td></tr>}}</table><!--
-->{{#if:{{#var:XP}}|<span style="color:#EEE8;">XP:</span> {{#var:XP}} }}</td></tr>}}</table><!--


--></includeonly><noinclude>
--></includeonly><noinclude>
List Props and generate rows with them
List Props and generate rows with them
==Example 1==
==Example: Shrine==
<pre>{{GeneratePropTable|Special Door}}</pre>
<pre>{{GeneratePropTable|Shrine}}</pre>
{{GeneratePropTable|Special Door}}
{{GeneratePropTable|Shrine}}
==Example 2==
==Example: Portal==
<pre>{{GeneratePropTable|Torch}}</pre>
<pre>{{GeneratePropTable|Portal}}</pre>
{{GeneratePropTable|Torch}}
{{GeneratePropTable|Portal}}
==Example 3==
==Example: Special Door: Custom List 1==
{{GeneratePropTable|Roaster}}
<pre>{{GeneratePropTable|Special Door|list=Skull Stone Door}}</pre>
<pre>{{GeneratePropTable|Roaster}}</pre>
{{GeneratePropTable|Special Door|list=Skull Stone Door}}
==Example: Special Door: Custom List 2==
<pre>{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}</pre>
{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}
</noinclude>
</noinclude>

Latest revision as of 05:05, 6 September 2024

List Props and generate rows with them

Example: Shrine

{{GeneratePropTable|Shrine}}
Name *Use ShrineMagical Interaction Speed Shrine Effect *AP/XPAdventure Points Page
Experience Points Page
20 s
Magical Interaction Speed

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 Interaction Speed

10 Move Speed Add for 60sAP: 5
XP: 3
5 s
Magical Interaction Speed

100 Magical Base HealingAP: 5
XP: 3
5 s
Magical Interaction Speed

15 Physical Power for 60sAP: 5
XP: 3
5 s
Magical Interaction Speed

5% Physical Damage Reduction and 5% Magical Damage Reduction for 60sAP: 5
XP: 3

Example: Portal

{{GeneratePropTable|Portal}}
Name *Opening PortalMagical Interaction Speed *AP/XPAdventure Points Page
Experience Points Page
5 s
Magical Interaction Speed

AP: 15
XP: 5
5 s
Magical Interaction Speed

AP: 15
XP: 5
5 s
Magical Interaction Speed

AP: 15
XP: 5
5 s
Magical Interaction Speed

AP: 15
XP: 5

AP: 15
XP: 5

Example: Special Door: Custom List 1

{{GeneratePropTable|Special Door|list=Skull Stone Door}}
Name *UnlockRegular Interaction Speed Requirements *OpenRegular Interaction Speed *CloseRegular Interaction Speed *AP/XPAdventure Points Page
Experience Points Page
3 sPlayer has Skull Key
AP: 25

Example: Special Door: Custom List 2

{{GeneratePropTable|Special Door|list=Skull Stone Door,Golden Door}}
Name *UnlockRegular Interaction Speed Requirements *OpenRegular Interaction Speed *CloseRegular Interaction Speed *AP/XPAdventure Points Page
Experience Points Page
3 sPlayer has Skull Key
AP: 25
5 sPlayer has Golden Key3 s0.5 s
AP: 15