From Dark and Darker Wiki
m (Automated edit: Patch 7 data pages) |
m (Automated edit: HF74) |
||
Line 6: | Line 6: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0/1=Spellbook,Magic Staff,Potion of Healing,Potion of Protection,Ceremonial Staff | |0/1=Crystal Sword,Spellbook,Magic Staff,Potion of Healing,Potion of Protection,Ceremonial Staff | ||
| | |50/2=Crystal Sword,Spellbook,Magic Staff,Ceremonial Staff | ||
|all=0/1,50/2 | |||
|all=0 | |||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} |
Latest revision as of 01:07, 21 December 2024
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