From Dark and Darker Wiki

m (Typo)
(Adding effect column to Musical Instruments and Throwables.)
Line 2: Line 2:
-->{{#arraydefine:Utilities|{{Utility Data|AllLists|Types|Utility|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}<!--
-->{{#arraydefine:Utilities|{{Utility Data|AllLists|Types|Utility|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}<!--
--><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="rgb(220,220,220,0.2); color:#eee; background:transparent; text-align:center; vertical-align:middle;">
--><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="rgb(220,220,220,0.2); color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<tr style="font-weight:bold;">
<th style="width:5%">Name</th>
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{lc:{{{1}}}}}
|drink
|drink
|consumable=
|consumable=
<tr style="font-weight:bold;">
<th style="width:5%">Movement Speed</th>
<th style="width:5%">Name</th>
<th style="width:20%">Effect</th>
<th style="width:5%">Movement Speed</th>
<th style="width:10%">Action Time</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Action Time</th>
|lightsource
<th style="width:10%">Action Movement Speed</th>
|musicalinstrument=
<tr style="font-weight:bold;">
<th style="width:5%">Name</th>
<th style="width:5%">Class</th>
<th style="width:5%">Movement Speed</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:10%">Stats</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Slowdown On Hit</th>
|lightsource=
<tr style="font-weight:bold;">
<th style="width:5%">Name</th>
<th style="width:5%">Class</th>
<th style="width:5%">Movement Speed</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Slowdown On Hit</th>
|throwable=
|throwable=
<tr style="font-weight:bold;">
<th style="width:5%">Class</th>
<th style="width:5%">Name</th>
<th style="width:5%">Movement Speed</th>
<th style="width:5%">Class</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:5%">Movement Speed</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Slowdown On Hit</th>
<th style="width:10%">Slowdown On Hit</th>
|musicalinstrument
|mining=
|mining=
<tr style="font-weight:bold;">
<th style="width:5%">Class</th>
<th style="width:5%">Name</th>
<th style="width:5%">Movement Speed</th>
<th style="width:5%">Class</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:5%">Movement Speed</th>
<th style="width:10%">Stats</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Stats</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Slowdown On Hit</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Slowdown On Hit</th>
|soulheart=
|soulheart=
<tr style="font-weight:bold;">
<th style="width:20%">Effect</th>
<th style="width:5%">Name</th>
<th style="width:10%">Action Time</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Action Time</th>
|#default=
|#default=
<tr style="font-weight:bold;">
<th style="width:5%">Class</th>
<th style="width:5%">Name</th>
<th style="width:5%">Movement Speed</th>
<th style="width:5%">Class</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:5%">Movement Speed</th>
<th style="width:10%">Stats</th>
<th style="width:10%">Damage on Hit</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Stats</th>
<th style="width:10%">Action Time</th>
<th style="width:20%">Effect</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Action Time</th>
<th style="width:10%">Slowdown On Hit</th>
<th style="width:10%">Action Movement Speed</th>
<th style="width:10%">Slowdown On Hit</th>
}}<!--
}}<!--
-->{{#loop:i|0|{{#arraysize:Utilities}}<!--
-->{{#loop:i|0|{{#arraysize:Utilities}}<!--
Line 83: Line 60:
<pre>{{GenerateUtilityRows|Throwable}}</pre>
<pre>{{GenerateUtilityRows|Throwable}}</pre>
{{GenerateUtilityRows|Throwable}}
{{GenerateUtilityRows|Throwable}}
<pre>{{GenerateUtilityRows|Mining}}</pre>
{{GenerateUtilityRows|Mining}}
</noinclude>
</noinclude>

Revision as of 11:22, 8 May 2024

List Utilities and generate rows with them

Example

{{GenerateUtilityRows|Drink}}
Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name Movement Speed Effect Action Time Action Movement Speed
{{GenerateUtilityRows|Consumable}}
Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name Movement Speed Effect Action Time Action Movement Speed
{{GenerateUtilityRows|Installable}}
Template:GenerateUtilityRow
Name Class Movement Speed Damage on Hit Stats Effect Action Time Action Movement Speed Slowdown On Hit
{{GenerateUtilityRows|MusicalInstrument}}
Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name Class Movement Speed Damage on Hit Stats Effect Action Movement Speed Slowdown On Hit
{{GenerateUtilityRows|LightSource}}
Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name Class Movement Speed Damage on Hit Effect Action Movement Speed Slowdown On Hit
{{GenerateUtilityRows|Throwable}}
Name Class Movement Speed Damage on Hit Effect Action Movement Speed Slowdown On Hit
{{GenerateUtilityRows|Mining}}
Name Class Movement Speed Damage on Hit Stats Effect Action Movement Speed Slowdown On Hit