From Dark and Darker Wiki
(Changed to use item property iscraftableby) |
(Implemented a fix for potions.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#arraydefine:merchants|{{{{{category|Armor}}} Data|{{ | -->{{#if:{{#pos:{{{1|{{PAGENAME}}}}}|Potion}}<!-- | ||
-->|{{#vardefine:item|{{#explode:{{{1|{{PAGENAME}}}}}| |1|2}}}}<!-- | |||
-->|{{#vardefine:item|{{{1|{{PAGENAME}}}}}}}}}<!-- | |||
-->{{#arraydefine:merchants|{{{{{category|Armor}}} Data|{{#var:item}}|iscraftableby}}}}<!-- | |||
--><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}> | --><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}> | ||
<h2>Craftable</h2> | <h2>Craftable</h2> | ||
Line 10: | Line 13: | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
==Example== | ==Example== | ||
<pre>{{Craftable|Golden Cloak}}</pre> | <pre>{{Craftable|Golden Cloak}}</pre> |
Latest revision as of 06:45, 23 June 2024
Example
{{Craftable|Golden Cloak}}
Example
{{Craftable|Sterling Blade|category=Weapon}}
Example
{{Craftable|Grimsmile Ring|category=Accessory}}
Example
{{Craftable|Rare Potion of Healing|category=Utility}}
Example
{{Craftable|Gold Coin Bag|category=Misc}}