From Dark and Darker Wiki

m (affinity/experience text bug fixed, link color fixed)
(HF42)
Line 2,559: Line 2,559:
|fortune teller={{#switch:{{lc:{{{2|}}}}}
|fortune teller={{#switch:{{lc:{{{2|}}}}}
|greetingtext=I am the conduit between the realms, offering to weave increased fortune into the tapestry of your fates.
|greetingtext=I am the conduit between the realms, offering to weave increased fortune into the tapestry of your fates.
|servicetypes=Buy,Quest
|servicetypes=Buy,Quest,Mindwipe
|squireoffers={{#switch:{{lc:{{{3|}}}}}
|squireoffers={{#switch:{{lc:{{{3|}}}}}
|0/0=Crystal Ball
|0/0=Crystal Ball
Line 3,760: Line 3,760:
|all=greetingtext,completetext,requiredquest,objectives,rewards
|all=greetingtext,completetext,requiredquest,objectives,rewards
}}
}}
|passage of bones={{#switch:{{lc:{{{5|}}}}}
|stone and bones={{#switch:{{lc:{{{5|}}}}}
|greetingtext=The Skeleton Door is no ordinary threshold. It holds secrets, and perhaps even danger. You see, in these treacherous lands, it's not just about brute strength. You need skill, precision, and a bit of old-fashioned know-how.
|greetingtext=There's a door, marked by stone or bones; this is no ordinary threshold. It holds secrets, and perhaps even unseen danger. You see, in these treacherous lands, it's not just about brute strength. You need skill, precision, and a bit of old-fashioned know-how.
|completetext=Aha, you've done it! The Skeleton Door yields its secrets to you. Remember, knowledge is power, and you've just added another piece to your arsenal. Keep exploring, keep learning, and who knows what other secrets you might uncover.
|completetext=Aha, you've done it! The Skeleton Door yields its secrets to you. Remember, knowledge is power, and you've just added another piece to your arsenal. Keep exploring, keep learning, and who knows what other secrets you might uncover.
|requiredquest=Purging Darkness
|requiredquest=Purging Darkness
Line 3,767: Line 3,767:
|1={{#switch:{{lc:{{{7|}}}}}
|1={{#switch:{{lc:{{{7|}}}}}
|type=Props
|type=Props
|quantity=1
|quantity=5
|dungeon=Crypts
|dungeon=Crypts
|summary=Unhandled objective type
|summary=Unhandled objective type
Line 3,778: Line 3,778:
|all=greetingtext,completetext,requiredquest,objectives,rewards
|all=greetingtext,completetext,requiredquest,objectives,rewards
}}
}}
|all=Critical Care,Purging Darkness,Passage Of Bones
|all=Critical Care,Purging Darkness,Stone And Bones
}}
}}
|all=Family Medicine,Pending Diagnosis,Methods and Madness,Beyond The Threshold Of Darkness
|all=Family Medicine,Pending Diagnosis,Methods and Madness,Beyond The Threshold Of Darkness
Line 10,654: Line 10,654:
|requiredquest=Morbid Souvenirs
|requiredquest=Morbid Souvenirs
|objectives={{#switch:{{lc:{{{6|}}}}}
|objectives={{#switch:{{lc:{{{6|}}}}}
|all=
|1={{#switch:{{lc:{{{7|}}}}}
|type=Fetch
|quantity=4
|fetch=[[Ancient Scroll|<span class="colorrarity5">Epic Ancient Scroll</span>]]
|summary=Fetch [[Ancient Scroll|<span class="colorrarity5">Epic Ancient Scroll</span>]] (4x)
|all=type,quantity,fetch,summary
}}
|2={{#switch:{{lc:{{{7|}}}}}
|type=Fetch
|quantity=4
|fetch=[[Gold Waterpot|<span class="colorrarity5">Epic Gold Waterpot</span>]]
|summary=Fetch [[Gold Waterpot|<span class="colorrarity5">Epic Gold Waterpot</span>]] (4x)
|all=type,quantity,fetch,summary
}}
|3={{#switch:{{lc:{{{7|}}}}}
|type=Fetch
|quantity=4
|fetch=[[Gold Crown|<span class="colorrarity5">Epic Gold Crown</span>]]
|summary=Fetch [[Gold Crown|<span class="colorrarity5">Epic Gold Crown</span>]] (4x)
|all=type,quantity,fetch,summary
}}
|objectivessummary=Fetch [[Ancient Scroll|<span class="colorrarity5">Epic Ancient Scroll</span>]] (4x), Fetch [[Gold Waterpot|<span class="colorrarity5">Epic Gold Waterpot</span>]] (4x), Fetch [[Gold Crown|<span class="colorrarity5">Epic Gold Crown</span>]] (4x)
|all=1,2,3,objectivessummary
}}
}}
|rewards=200 [[Gold Coin|<span class="colorrarity7">Unique Gold Coin</span>]]<br>1 [[Lantern|<span class="colorrarity5">Epic Lantern</span>]]<br>1 [[Battle Axe|<span class="colorrarity5">Epic Battle Axe</span>]]<br>300 Experience<br>
|rewards=200 [[Gold Coin|<span class="colorrarity7">Unique Gold Coin</span>]]<br>1 [[Lantern|<span class="colorrarity5">Epic Lantern</span>]]<br>1 [[Battle Axe|<span class="colorrarity5">Epic Battle Axe</span>]]<br>300 Experience<br>
Line 10,679: Line 10,701:
|greetingtext=The Goblin Merchant owed me a favor, so he gave me some information about the Warlord possessing a key. It's said to unlock a hidden door or passage, concealed from sight unless one holds that magical key. I'm determined to uncover the truth behind these whispers.
|greetingtext=The Goblin Merchant owed me a favor, so he gave me some information about the Warlord possessing a key. It's said to unlock a hidden door or passage, concealed from sight unless one holds that magical key. I'm determined to uncover the truth behind these whispers.
|completetext=I know this may sound crazy because it's no secret that green skin is a trickster, but I have a gut feeling he was telling the truth. I wonder if we should keep trying or admit we might have been played…
|completetext=I know this may sound crazy because it's no secret that green skin is a trickster, but I have a gut feeling he was telling the truth. I wonder if we should keep trying or admit we might have been played…
|requiredquest=Tip From A Green Skin
|requiredquest=Wails In The Walls
|objectives={{#switch:{{lc:{{{6|}}}}}
|objectives={{#switch:{{lc:{{{6|}}}}}
|1={{#switch:{{lc:{{{7|}}}}}
|1={{#switch:{{lc:{{{7|}}}}}

Revision as of 01:55, 18 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,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 (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