From Dark and Darker Wiki
Usage
{{Merchant_Data|<variable1>|<variable2>|...}}
Variables
- <merchant_name>
- greetingtext
- servicetypes
- squireoffers
- <affinity>
- crafts
- <item_to_craft>
- rarity
- quantity
- conversationtext
- craftcompletetext
- ingredients
- <item_to_craft>
- questchapters
- <quest_chapter>
- <quest>
- greetingtext
- completetext
- requiredquest
- objectives
- objectivessummary
- <objective_number>
- type
- quantity
- fetch
- summary
- <quest>
- <quest_chapter>
All
All sub-layers can also call |all for a list of all unique attributes
For example, Alchemist,Armourer,Expressman,Fortune Teller,Goblin Merchant,Goldsmith,Jack O' Lantern,Leathersmith,Nicholas,Skeleton,Squire,Surgeon,Tailor,Tavern Master,The Collector,Treasurer,Valentine,Weaponsmith,Woodsman will output a list of all items See example 6 for more information
Examples
Example 1
Squire offer at 50 affinity
{{Merchant_Data|Alchemist|squireoffers|50}}
Outputs
Example 2
Ingredients of Rubysilver Powder
{{Merchant_Data|Alchemist|crafts|Rubysilver Powder|ingredients}}
Outputs 2-Rubysilver Ore-5
Example 3
Objective 1's Summary
{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|1|summary}}
Outputs
Example 4
Objective 2's required quest
{{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}
Outputs
Example 5
All objective summaries
{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}
Outputs
Example 6
All unique quests for one of Alchemist's questchapters
{{Merchant_Data|Alchemist|questchapters|More Important Matters|all}}
Outputs