From Dark and Darker Wiki

No edit summary
(Added example. Added missing default PAGENAME.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!--
-->{{#arraydefine:merchants|{{{{{ingredientcategory|Misc}}} Data|{{{1|{{PAGENAME}}}}}|incraftingrecipefor}}}}<!--
--><div {{#ifeq:{{#arraysize:merchants}}|0|style="display:none"}}>
==Ingredient==
==Ingredient==
You can use {{PAGENAME}} for [[Crafting]]:
{{{1|{{PAGENAME}}}}} can be used in [[crafting]]:<!--
{{CraftingTable|
-->{{#loop:i|0|{{#arraysize:merchants}}<!--
{{GenerateCraftingRows|all|ingredient={{PAGENAME}}}}
-->|{{#vardefine:merchant|{{#arrayindex:merchants|{{#var:i}}}}}}<!--
}}
    -->{{GenerateCraftingTable|{{#var:merchant}}|ingredient={{{1|{{PAGENAME}}}}}|ingredientcategory={{{ingredientcategory|Misc}}}}}}}</div><!--
 
--></includeonly><noinclude>
If the template is being used for non-Misc items, the category argument is required.
=Example=
<pre style="width:fit-content">{{Ingredient|Potion of Healing|category=Utility}}</pre>
{{Ingredient|Potion of Healing|ingredientcategory=Utility}}
=Example=
<pre style="width:fit-content">{{Ingredient|Cyclops's Club}}</pre>
{{Ingredient|Cyclops's Club}}
=Example=
<pre style="width:fit-content">{{Ingredient|Firefly's Abdomen}}</pre>
{{Ingredient|Firefly's Abdomen}}
=Example=
<pre style="width:fit-content">{{Ingredient|Gold}}</pre>
{{Ingredient|Gold}}
=Example=
<pre style="width:fit-content">{{Ingredient|Gold Coin}}</pre>
{{Ingredient|Gold Coin}}
=Example=
<pre style="width:fit-content">{{Ingredient|Silver Ore}}</pre>
{{Ingredient|Silver Ore}}
</noinclude>

Latest revision as of 06:55, 23 June 2024

If the template is being used for non-Misc items, the category argument is required.

Example

{{Ingredient|Potion of Healing|category=Utility}}

Ingredient

Potion of Healing can be used in crafting:
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Potion of Healing1
Lifeleaf1
Alchemist0
Potion of Healing1
Lifeleaf2
Alchemist25
Potion of Healing1
Lifeleaf3
Alchemist50
Potion of Healing1
Lifeleaf5
Alchemist?

Example

{{Ingredient|Cyclops's Club}}

Ingredient

Cyclops's Club can be used in crafting:
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Club1
Cyclops's Club1
Grave Essence1
Bone3
Gold Coin50
Weaponsmith150

Example

{{Ingredient|Firefly's Abdomen}}

Ingredient

Firefly's Abdomen can be used in crafting:
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Flanged Mace1
Firefly's Abdomen1
Broken Skull3
Gold Ingot3
Gold Coin50
Weaponsmith150

Example

{{Ingredient|Gold}}

Ingredient

Gold can be used in crafting:

Example

{{Ingredient|Gold Coin}}

Ingredient

Gold Coin can be used in crafting:
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Gold Ingot1
Wolf Fang2
Wolf Claw3
Gold Coin300
Alchemist100
Gold Ingot1
Golden Teeth1
Gold Coin300
Alchemist100
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Grave Essence2
Wolf Pelt5
Gold Coin25
Leathersmith75
Grave Essence2
Wolf Pelt4
Gold Coin25
Leathersmith75
Troll Pelt1
Wolf Pelt2
Gold Coin25
Leathersmith75
Centaur Tail1
Old Cloth2
Gold Coin25
Leathersmith75
Centaur Tail1
Maggots3
Gold Coin25
Leathersmith75
Centaur Tail1
Bone3
Gold Coin25
Leathersmith75
Studded Leather1
Frost Wyvern's Hide1
Extra Thick Pelt3
Gold Coin25
Leathersmith150
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Spider Silk1
Grave Essence3
Enchanted Dark Fabric1
Gold Coin200
Tailor100
Spider Silk1
Enchanted Dark Fabric2
Gold Coin25
Tailor100
Spider Silk1
Enchanted Dark Fabric1
Gold Coin25
Tailor100
Spider Silk1
Enchanted Dark Fabric1
Gold Coin25
Tailor100
Cyclops Rags1
Enchanted Dark Fabric1
Gold Coin25
Tailor100
Adventurer Tunic1
Dark Matter1
Spider Silk3
Enchanted Dark Fabric2
Gold Coin25
Tailor150
NameIngredientsMerchantAffinity to UnlockAffinity values are collected manually by the community. If you spot an error, please kindly follow the link and fix it!
Longsword1
Dark Matter1
Gold Ingot3
Gold Coin50
Weaponsmith150
Troll's Club1
Wolf Claw5
Bone2
Gold Coin50
Weaponsmith150
Spear1
Rotten Fluids2
Moldy Bread5
Gold Ingot3
Gold Coin50
Weaponsmith150
Rapier1
Demon Blood1
Bone2
Gold Ingot3
Gold Coin50
Weaponsmith150
Crystal Ball1
Captured Mana Flakes1
Intact Skull2
Gold Coin50
Weaponsmith150
Falchion1
Token of Honor1
Rusty Broken Sword2
Gold Ingot3
Gold Coin50
Weaponsmith150
Flanged Mace1
Firefly's Abdomen1
Broken Skull3
Gold Ingot3
Gold Coin50
Weaponsmith150
Recurve Bow1
Centaur Horn1
Bowstring5
Gold Coin50
Weaponsmith150
Crystal Ball1
Cyclops Eye1
Grave Essence3
Gold Coin50
Weaponsmith150
Club1
Cyclops's Club1
Grave Essence1
Bone3
Gold Coin50
Weaponsmith150
Castillon Dagger1
Frost Wyvern's Claws1
Froststone Ingot2
Gold Coin50
Weaponsmith150
Crystal Sword1
Ghostly Essence1
Rubysilver Ingot3
Grave Essence3
Gold Coin50
Weaponsmith150
Zweihander1
Warlord's Broken Sword Blade1
Rubysilver Ingot2
Silver Ingot2
Gold Coin50
Weaponsmith150

Example

{{Ingredient|Silver Ore}}

Ingredient

Silver Ore can be used in crafting: