From Dark and Darker Wiki
m (affinity rarity format changed) |
m (typo to previous) |
||
Line 4: | Line 4: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Spellbook]],[[Magic Staff]],[[Potion of Healing]],[[Potion of Protection]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Crystal Sword]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Crystal Sword]],[[Spellbook]],[[Magic Staff]] | ||
|100 | |100 affinity / <span class="colorrarity2">common</span>=[[Crystal Sword]],[[Spellbook]],[[Magic Staff]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,100 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} | ||
Line 387: | Line 387: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Gjermundbu]],[[Crusader Armor]],[[Champion Armor]],[[Dark Cuirass]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Armet]],[[Barbuta Helm]],[[Chapel De Fer]],[[Dark Plate Armor]],[[Fine Cuirass]],[[Heavy Gauntlets]],[[Hounskull]],[[Kettle Hat]],[[Northern Full Tunic]],[[Plate Boots]],[[Plate Pants]],[[Templar Armor]],[[Viking Helm]],[[Visored Barbuta Helm]],[[Spangenhelm]],[[Sallet]],[[Open Sallet]],[[Visored Sallet]],[[Norman Nasal Helm]],[[Crusader Helm]],[[Topfhelm]],[[Great Helm]],[[Light Gauntlets]],[[Ornate Jazerant]],[[Grand Brigandine]],[[Heavy Gambeson]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Crusader Armor]],[[Champion Armor]],[[Dark Cuirass]] | ||
|75 | |75 affinity / <span class="colorrarity1">poor</span>=[[Armet]],[[Barbuta Helm]],[[Chapel De Fer]],[[Dark Plate Armor]],[[Fine Cuirass]],[[Gjermundbu]],[[Heavy Gauntlets]],[[Hounskull]],[[Kettle Hat]],[[Northern Full Tunic]],[[Plate Boots]],[[Plate Pants]],[[Templar Armor]],[[Viking Helm]],[[Visored Barbuta Helm]],[[Spangenhelm]],[[Sallet]],[[Open Sallet]],[[Visored Sallet]],[[Norman Nasal Helm]],[[Crusader Helm]],[[Topfhelm]],[[Great Helm]],[[Light Gauntlets]],[[Ornate Jazerant]],[[Grand Brigandine]],[[Heavy Gambeson]] | ||
|125 | |125 affinity / <span class="colorrarity2">common</span>=[[Armet]],[[Barbuta Helm]],[[Chapel De Fer]],[[Dark Plate Armor]],[[Fine Cuirass]],[[Gjermundbu]],[[Heavy Gauntlets]],[[Hounskull]],[[Kettle Hat]],[[Northern Full Tunic]],[[Plate Boots]],[[Plate Pants]],[[Templar Armor]],[[Viking Helm]],[[Visored Barbuta Helm]],[[Spangenhelm]],[[Sallet]],[[Open Sallet]],[[Visored Sallet]],[[Norman Nasal Helm]],[[Crusader Helm]],[[Topfhelm]],[[Great Helm]],[[Light Gauntlets]],[[Ornate Jazerant]],[[Grand Brigandine]],[[Heavy Gambeson]],[[Crusader Armor]],[[Champion Armor]],[[Dark Cuirass]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,75 Affinity / <span class="colorrarity1">Poor</span>,125 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} | ||
Line 764: | Line 764: | ||
|servicetypes=Buy,Quest | |servicetypes=Buy,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Crystal Ball]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Crystal Ball]] | ||
|100 | |100 affinity / <span class="colorrarity2">common</span>=[[Crystal Ball]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,100 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|questchapters={{#switch:{{lc:{{{3|}}}}} | |questchapters={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,251: | Line 1,251: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Heavy Boots]],[[Wizard Shoes]],[[Dark Leather Leggings]],[[Studded Leather]],[[Runestone Gloves]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Adventurer Boots]],[[Feathered Hat]],[[Heavy Leather Leggings]],[[Laced Turnshoe]],[[Leather Bonnet]],[[Leather Cap]],[[Leather Chausses]],[[Leather Gloves]],[[Leather Leggings]],[[Lightfoot Boots]],[[Marauder Outfit]],[[Occultist Boots]],[[Padded Leggings]],[[Rawhide Gloves]],[[Reinforced Gloves]],[[Riveted Gloves]],[[Rugged Boots]],[[Troubadour Outfit]],[[Warden Outfit]],[[Gloves of Utility]],[[Turnshoe]],[[Stitched Turnshoe]],[[Low Boots]],[[Buckled Boots]],[[Dashing Boots]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Dark Leather Leggings]],[[Studded Leather]],[[Runestone Gloves]] | ||
|75 | |75 affinity / <span class="colorrarity1">poor</span>=[[Adventurer Boots]],[[Feathered Hat]],[[Heavy Boots]],[[Heavy Leather Leggings]],[[Laced Turnshoe]],[[Leather Bonnet]],[[Leather Cap]],[[Leather Chausses]],[[Leather Gloves]],[[Leather Leggings]],[[Lightfoot Boots]],[[Marauder Outfit]],[[Occultist Boots]],[[Padded Leggings]],[[Rawhide Gloves]],[[Reinforced Gloves]],[[Riveted Gloves]],[[Rugged Boots]],[[Troubadour Outfit]],[[Warden Outfit]],[[Wizard Shoes]],[[Gloves of Utility]],[[Turnshoe]],[[Stitched Turnshoe]],[[Low Boots]],[[Buckled Boots]],[[Dashing Boots]] | ||
|125 | |125 affinity / <span class="colorrarity2">common</span>=[[Adventurer Boots]],[[Feathered Hat]],[[Heavy Boots]],[[Heavy Leather Leggings]],[[Laced Turnshoe]],[[Leather Bonnet]],[[Leather Cap]],[[Leather Chausses]],[[Leather Gloves]],[[Leather Leggings]],[[Lightfoot Boots]],[[Marauder Outfit]],[[Occultist Boots]],[[Padded Leggings]],[[Rawhide Gloves]],[[Reinforced Gloves]],[[Riveted Gloves]],[[Rugged Boots]],[[Troubadour Outfit]],[[Warden Outfit]],[[Wizard Shoes]],[[Gloves of Utility]],[[Turnshoe]],[[Stitched Turnshoe]],[[Low Boots]],[[Buckled Boots]],[[Dashing Boots]],[[Dark Leather Leggings]],[[Studded Leather]],[[Runestone Gloves]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,75 Affinity / <span class="colorrarity1">Poor</span>,125 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,570: | Line 1,570: | ||
|servicetypes=Buy,Sell,Quest | |servicetypes=Buy,Sell,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Bandage]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span> | ||
}} | }} | ||
|questchapters={{#switch:{{lc:{{{3|}}}}} | |questchapters={{#switch:{{lc:{{{3|}}}}} | ||
Line 1,788: | Line 1,788: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Adventurer Tunic]],[[Cloth Pants]],[[Doublet]],[[Frock]],[[Ranger Hood]],[[Rogue Cowl]],[[Wanderer Attire]],[[Wizard Hat]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Bardic Pants]],[[Chaperon]],[[Forest Hood]],[[Loose Trousers]],[[Mystic Vestments]],[[Occultist Hood]],[[Occultist Pants]],[[Occultist Robe]],[[Occultist Tunic]],[[Old Shoes]],[[Oracle Robe]],[[Padded Tunic]],[[Regal Gambeson]],[[Shadow Hood]],[[Shadow Mask]],[[Straw Hat]],[[Light Aketon]],[[Poupoint]],[[Mystic Gloves]] | ||
|75 | |75 affinity / <span class="colorrarity1">poor</span>=[[Adventurer Tunic]],[[Bardic Pants]],[[Chaperon]],[[Cloth Pants]],[[Doublet]],[[Forest Hood]],[[Frock]],[[Loose Trousers]],[[Mystic Vestments]],[[Occultist Hood]],[[Occultist Pants]],[[Occultist Robe]],[[Occultist Tunic]],[[Old Shoes]],[[Oracle Robe]],[[Padded Tunic]],[[Ranger Hood]],[[Regal Gambeson]],[[Rogue Cowl]],[[Shadow Hood]],[[Shadow Mask]],[[Straw Hat]],[[Wanderer Attire]],[[Wizard Hat]],[[Light Aketon]],[[Poupoint]],[[Mystic Gloves]] | ||
|125 | |125 affinity / <span class="colorrarity2">common</span>=[[Adventurer Tunic]],[[Bardic Pants]],[[Chaperon]],[[Cloth Pants]],[[Doublet]],[[Forest Hood]],[[Frock]],[[Loose Trousers]],[[Mystic Vestments]],[[Occultist Hood]],[[Occultist Pants]],[[Occultist Robe]],[[Occultist Tunic]],[[Old Shoes]],[[Oracle Robe]],[[Padded Tunic]],[[Ranger Hood]],[[Regal Gambeson]],[[Rogue Cowl]],[[Shadow Hood]],[[Shadow Mask]],[[Straw Hat]],[[Wanderer Attire]],[[Wizard Hat]],[[Light Aketon]],[[Poupoint]],[[Mystic Gloves]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,75 Affinity / <span class="colorrarity1">Poor</span>,125 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} | ||
Line 2,162: | Line 2,162: | ||
|servicetypes=Buy,Quest | |servicetypes=Buy,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Drum]],[[Flute]],[[Lute]],[[Lyre]] | ||
|75 | |75 affinity / <span class="colorrarity1">poor</span>=[[Drum]],[[Flute]],[[Lute]],[[Lyre]] | ||
|150 | |150 affinity / <span class="colorrarity2">common</span>=[[Drum]],[[Flute]],[[Lute]],[[Lyre]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,75 Affinity / <span class="colorrarity1">Poor</span>,150 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|questchapters={{#switch:{{lc:{{{3|}}}}} | |questchapters={{#switch:{{lc:{{{3|}}}}} | ||
Line 3,171: | Line 3,171: | ||
|servicetypes=Buy,Sell,Craft,Quest | |servicetypes=Buy,Sell,Craft,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Arming Sword]],[[Battle Axe]],[[Buckler]],[[Castillon Dagger]],[[Falchion]],[[Flanged Mace]],[[Quarterstaff]],[[Rapier]],[[Rondel Dagger]],[[Round Shield]],[[Short Sword]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Bardiche]],[[Double Axe]],[[Felling Axe]],[[Halberd]],[[Hatchet]],[[Heater Shield]],[[Horseman's Axe]],[[Kris Dagger]],[[Longsword]],[[Morning Star]],[[Pavise]],[[Spear]],[[Stiletto Dagger]],[[Viking Sword]],[[War Maul]],[[Zweihander]],[[War Hammer]],[[Club]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Arming Sword]],[[Bardiche]],[[Battle Axe]],[[Buckler]],[[Castillon Dagger]],[[Double Axe]],[[Falchion]],[[Felling Axe]],[[Flanged Mace]],[[Halberd]],[[Hatchet]],[[Heater Shield]],[[Horseman's Axe]],[[Kris Dagger]],[[Longsword]],[[Morning Star]],[[Pavise]],[[Quarterstaff]],[[Rapier]],[[Rondel Dagger]],[[Round Shield]],[[Short Sword]],[[Spear]],[[Stiletto Dagger]],[[Viking Sword]],[[War Maul]],[[Zweihander]],[[War Hammer]],[[Club]] | ||
|100 | |100 affinity / <span class="colorrarity2">common</span>=[[Arming Sword]],[[Bardiche]],[[Battle Axe]],[[Buckler]],[[Castillon Dagger]],[[Double Axe]],[[Falchion]],[[Felling Axe]],[[Flanged Mace]],[[Halberd]],[[Hatchet]],[[Heater Shield]],[[Horseman's Axe]],[[Kris Dagger]],[[Longsword]],[[Morning Star]],[[Pavise]],[[Quarterstaff]],[[Rapier]],[[Rondel Dagger]],[[Round Shield]],[[Short Sword]],[[Spear]],[[Stiletto Dagger]],[[Viking Sword]],[[War Maul]],[[Zweihander]],[[War Hammer]],[[Club]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,100 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|crafts={{#switch:{{lc:{{{3|}}}}} | |crafts={{#switch:{{lc:{{{3|}}}}} | ||
Line 3,671: | Line 3,671: | ||
|servicetypes=Buy,Sell,Quest | |servicetypes=Buy,Sell,Quest | ||
|squireoffers={{#switch:{{lc:{{{3|}}}}} | |squireoffers={{#switch:{{lc:{{{3|}}}}} | ||
|0 | |0 affinity / <span class="colorrarity0">junk</span>=[[Recurve Bow]],[[Torch]],[[Francisca Axe]],[[Hunting Trap]],[[Throwing Knife]] | ||
|25 | |25 affinity / <span class="colorrarity0">junk</span>=[[Crossbow]],[[Hand Crossbow]],[[Longbow]],[[Survival Bow]],[[Windlass Crossbow]] | ||
|50 | |50 affinity / <span class="colorrarity1">poor</span>=[[Crossbow]],[[Hand Crossbow]],[[Longbow]],[[Recurve Bow]],[[Survival Bow]],[[Windlass Crossbow]] | ||
|100 | |100 affinity / <span class="colorrarity2">common</span>=[[Crossbow]],[[Hand Crossbow]],[[Longbow]],[[Recurve Bow]],[[Survival Bow]],[[Windlass Crossbow]] | ||
|all=0 | |all=0 Affinity / <span class="colorrarity0">Junk</span>,25 Affinity / <span class="colorrarity0">Junk</span>,50 Affinity / <span class="colorrarity1">Poor</span>,100 Affinity / <span class="colorrarity2">Common</span> | ||
}} | }} | ||
|questchapters={{#switch:{{lc:{{{3|}}}}} | |questchapters={{#switch:{{lc:{{{3|}}}}} |
Revision as of 16:31, 11 April 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,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