From Dark and Darker Wiki

(Automated edit: HF57 data templates that didnt get added in last edit)
(Automated edit: Removed placeholder quests)
Line 1,761: Line 1,761:
}}
}}
|all=Shiny Secrets,Gamba,One Eyed Foe
|all=Shiny Secrets,Gamba,One Eyed Foe
}}
|placeholder_questchapter_name_goblinmerchant_05={{#switch:{{lc:{{{4|}}}}}
|placeholder_quest_goblinmerchant_title_13={{#switch:{{lc:{{{5|}}}}}
|greetingtext=Placeholder_Quest_GoblinMerchant_Greeting_13
|completetext=Placeholder_Quest_GoblinMerchant_Complete_13
|requiredquest=One Eyed Foe
|objectives={{#switch:{{lc:{{{6|}}}}}
|1={{#switch:{{lc:{{{7|}}}}}
|type=Kill
|quantity=100
|killtarget=[[Beast]] [[Goblin]]
|dungeon=[https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave]
|summary=Kill [[Beast]] [[Goblin]] in [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] dungeon (100x)
|all=type,quantity,killtarget,dungeon,summary
}}
|2={{#switch:{{lc:{{{7|}}}}}
|type=Kill
|quantity=5
|killtarget=[[Giant Centipede]]
|dungeon=[https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave]
|summary=Kill [[Giant Centipede]] in [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] dungeon (5x)
|all=type,quantity,killtarget,dungeon,summary
}}
|3={{#switch:{{lc:{{{7|}}}}}
|type=Fetch
|quantity=20
|fetch=[[Goblin Ear]] (any rarity)
|summary=Fetch [[Goblin Ear]] (any rarity) (20x)
|all=type,quantity,fetch,summary
}}
|objectivessummary=Kill [[Beast]] [[Goblin]] in [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] dungeon (100x), Kill [[Giant Centipede]] in [https://darkanddarker.map.spellsandguns.com/map/GoblinCave-01-N Goblin Cave] dungeon (5x), Fetch [[Goblin Ear]] (any rarity) (20x)
|all=1,2,3,objectivessummary
}}
|rewards= Emote "Coin Tossing"<br>1000 Experience<br>
|all=greetingtext,completetext,requiredquest,objectives,rewards
}}
|all=Placeholder_Quest_GoblinMerchant_Title_13
}}
}}
|lucky coin={{#switch:{{lc:{{{4|}}}}}
|lucky coin={{#switch:{{lc:{{{4|}}}}}
Line 1,836: Line 1,799:
|all=Gobo's Cavern Cleansing
|all=Gobo's Cavern Cleansing
}}
}}
|all=Everyone's Favorite Goblin,Tricks And Treasures,Favorite Soft Skin,Greater Threats,Placeholder_QuestChapter_Name_GoblinMerchant_05,Lucky Coin
|all=Everyone's Favorite Goblin,Tricks And Treasures,Favorite Soft Skin,Greater Threats,Lucky Coin
}}
}}
}}
}}

Revision as of 02:22, 20 July 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,Jack O' Lantern,Leathersmith,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 (any rarity) (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 (any rarity) (1x), Fetch Potion of Protection (any rarity) (1x), Fetch Potion of Invisibility (any rarity) (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