From Dark and Darker Wiki
(testing) |
(Implemented a fix for potions.) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{ | <includeonly><!-- | ||
==Craftable== | |||
-->{{#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"}}> | |||
<h2>Craftable</h2> | |||
{{{1|{{PAGENAME}} }}} is a [[Crafting|craftable item]].<!-- | |||
-->{{#loop:i |0 |{{#arraysize:merchants}}<!-- | |||
-->|{{#vardefine:merchant|{{#arrayindex:merchants|{{#var:i}}}}}}<!-- | |||
-->{{GenerateCraftingTable|{{#var:merchant}}|{{{1|{{PAGENAME}}}}}}}}}</div><!-- | |||
--></includeonly><noinclude> | |||
==Example== | |||
<pre>{{Craftable|Golden Cloak}}</pre> | |||
{{Craftable|Golden Cloak}} | |||
==Example== | |||
<pre>{{Craftable|Sterling Blade|category=Weapon}}</pre> | |||
{{Craftable|Sterling Blade|category=Weapon}} | |||
==Example== | |||
<pre>{{Craftable|Grimsmile Ring|category=Accessory}}</pre> | |||
{{Craftable|Grimsmile Ring|category=Accessory}} | |||
==Example== | |||
<pre>{{Craftable|Rare Potion of Healing|category=Utility}}</pre> | |||
{{Craftable|Rare Potion of Healing|category=Utility}} | |||
==Example== | |||
<pre>{{Craftable|Gold Coin Bag|category=Misc}}</pre> | |||
{{Craftable|Gold Coin Bag|category=Misc}} | |||
</noinclude> |
Latest revision as of 06:45, 23 June 2024
Example
{{Craftable|Golden Cloak}}
Craftable
Golden Cloak is a craftable item.Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Tailor | 150 |
Example
{{Craftable|Sterling Blade|category=Weapon}}
Craftable
Sterling Blade is a craftable item.Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Weaponsmith | 25 |
Example
{{Craftable|Grimsmile Ring|category=Accessory}}
Craftable
Grimsmile Ring is a craftable item.Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Alchemist | 100 |
Example
{{Craftable|Rare Potion of Healing|category=Utility}}
Craftable
Rare Potion of Healing is a craftable item.Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Alchemist | 25 |
Example
{{Craftable|Gold Coin Bag|category=Misc}}
Craftable
Gold Coin Bag is a craftable item.Name | Ingredients | Merchant | Affinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it! |
---|---|---|---|
Leathersmith | 25 |