From Dark and Darker Wiki

(HF42)
((test2) Automated edit for hotfix HF42)
Line 3,113: Line 3,113:
|all=Everyone's Favorite Goblin,Tricks And Treasures,Favorite Soft Skin,Greater Threats
|all=Everyone's Favorite Goblin,Tricks And Treasures,Favorite Soft Skin,Greater Threats
}}
}}
|#default=
}}
|jack o' lantern={{#switch:{{lc:{{{2|}}}}}
|greetingtext=Oh my head, that's a long story. By the way, I'd be looking for some nice treats. Lil bits of orange, yellow, and white. Makes a nice match with my noggin. I promise I won't trick ya.
|servicetypes=Buy
|#default=
|#default=
}}
}}
Line 3,484: Line 3,479:
|all=Finding Hope,Learning The Truth,It's All In The Details
|all=Finding Hope,Learning The Truth,It's All In The Details
}}
}}
|#default=
}}
|jack o' lantern={{#switch:{{lc:{{{2|}}}}}
|greetingtext=Oh my head, that's a long story. By the way, I'd be looking for some nice treats. Lil bits of orange, yellow, and white. Makes a nice match with my noggin. I promise I won't trick ya.
|servicetypes=Buy
|#default=
|#default=
}}
}}
Line 14,039: Line 14,039:
|#default=
|#default=
}}
}}
|all=Alchemist,Armourer,Fortune Teller,Goblin Merchant,Jack O' Lantern,Leathersmith,Nicholas,Squire,Surgeon,Tailor,Tavern Master,The Collector,Treasurer,Valentine,Weaponsmith,Woodsman
|all=Alchemist,Armourer,Fortune Teller,Goblin Merchant,Leathersmith,Jack O' Lantern,Nicholas,Squire,Surgeon,Tailor,Tavern Master,The Collector,Treasurer,Valentine,Weaponsmith,Woodsman
|default=}}</includeonly><noinclude>
|default=}}</includeonly><noinclude>



Revision as of 02:25, 23 April 2024


Usage

{{Merchant_Data|<variable1>|<variable2>|...}}


Variables

  • <merchant_name>
    • greetingtext
    • servicetypes
    • squireoffers
      • <affinity>
    • crafts
      • <item_to_craft>
        • rarity
        • quantity
        • conversationtext
        • craftcompletetext
        • ingredients
    • questchapters
      • <quest_chapter>
        • <quest>
          • greetingtext
          • completetext
          • requiredquest
          • objectives
            • objectivessummary
            • <objective_number>
              • type
              • quantity
              • fetch
              • summary


All

All sub-layers can also call |all for a list of all unique attributes

For example, Alchemist,Armourer,Fortune Teller,Goblin Merchant,Leathersmith,Jack O' Lantern,Nicholas,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 Fetch Potion of Healing (1x)


Example 4

Objective 2's required quest

{{Merchant_Data|Alchemist|questchapters|More Important Matters|Golden Opportunity|requiredquest}}

Outputs A Father's Legacy


Example 5

All objective summaries

{{Merchant_Data|Alchemist|questchapters|More Important Matters|A Father's Legacy|objectives|objectivessummary}}

Outputs Fetch Potion of Healing (1x), Fetch Potion of Protection (1x), Fetch Potion of Invisibility (1x)


Example 6

All unique quests for one of Alchemist's questchapters

{{Merchant_Data|Alchemist|questchapters|More Important Matters|all}}

Outputs A Father's Legacy,Golden Opportunity,Frozen Secrets