- merchant - Merchant of interest.
- item - Singular item for which to create a table.
- ingredient - Ingredient name. Used to filter the provided merchant's crafts for those which use the ingredient.
The Dark and Darker Wiki is made by and for the players. Do you want to contribute?
From Dark and Darker Wiki
This is the documentation page for Module:Craft
Functions for making Crafting table. Data comes from Data:Merchant.json.
Creates a table of craftables
{{#invoke:Craft|draw_table|item=Void Blade|merchant=Weaponsmith}}
| Name | Ingredients | Merchant |
|---|---|---|
{{#invoke:Craft|draw_table|merchant=Weaponsmith|ingredient=Iron Ingot}}
| Name | Ingredients | Merchant |
|---|---|---|
{{#invoke:Craft|draw_table|merchant=Weaponsmith}}
| Name | Ingredients | Merchant |
|---|---|---|
Creates a table of craftables filtered for a specific ingredient.
{{#invoke:Craft|draw_ingredient_table|category=Misc|ingredient=Iron Ingot}}
Script error: The function "draw_ingredient_table" does not exist.
Creates a table of craftables filtered for specific item crafting recipes.
{{#invoke:Craft|draw_craftable_table|item=Void Blade|category=Weapon}}
Script error: The function "draw_craftable_table" does not exist.
{{#invoke:Craft|draw_craftable_table|category=Misc|item=Iron Ingot}}
Script error: The function "draw_craftable_table" does not exist.