From Dark and Darker Wiki

(Automated edit:)
(Automated edit: HF80-2)
Line 1,709: Line 1,709:
|quantity=1
|quantity=1
|dungeon=[https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave]
|dungeon=[https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave]
|module=Cave Altar
|module=Cave Altar A
|mustescape=true
|mustescape=true
|lootstate=
|lootstate=
|summary=Explore [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] Cave Altar module (1x) (must escape)
|summary=Explore [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] Cave Altar A module (1x) (must escape)
|all=type,quantity,dungeon,module,mustescape,lootstate,summary
|all=type,quantity,dungeon,module,mustescape,lootstate,summary
}}
}}
|objectivessummary=Explore [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] Cave Altar module (1x) (must escape)
|objectivessummary=Explore [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] Cave Altar A module (1x) (must escape)
|all=1,objectivessummary
|all=1,objectivessummary
}}
}}

Revision as of 06:15, 15 March 2025


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,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