From Dark and Darker Wiki

(Basic conversion of the discord's affinity research into a data template.)
 
m (Added some potentially helpful instruction for editing the template.)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
|alchemist={{#switch:{{lc:{{{2|}}}}}
|alchemist={{#switch:{{lc:{{{2|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|0=Powders, Uncommon Red/Blue/Magenta Potions, Common Clarity Potions
|0=Iron Powder, Copper Powder, Cobalt Powder, Rubysilver Powder, Silver Powder, Gold Powder, Froststone Powder, Uncommon Potion of Healing, Uncommon Potion of Protection, Uncommon Magic Protection Potion, Common Potion of Clarity
|25=Rare Red/Blue/Magenta Potions , Uncommon Clarity Potions
|25=Rare Potion of Healing, Rare Potion of Protection, Rare Magic Protection Potion, Uncommon Potion of Clarity
|50=Epic Red/Blue/Magenta Potions, Rare Clarity Potions
|50=Epic Potion of Healing, Epic Potion of Protection, Epic Magic Protection Potion, Rare Potion of Clarity
|75=Legend Potion of Healing, Legend Potion of Protection, Legend Magic Protection Potion, Epic Potion of Clarity
|100=Grimsmile Ring, Fangs of Death Necklace
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|Powders=0
|iron powder=0
|Uncommon=0
|copper powder=0
|Common=0
|cobalt powder=0
|Rare=25
|rubysilver powder=0
|Epic=50
|silver powder=0
|gold powder=0
|froststone powder=0
|uncommon potion of healing=0
|uncommon potion of protection=0
|uncommon magic protection potion=0
|common potion of clarity=0
|rare potion of healing=25
|rare potion of protection=25
|rare magic protection potion=25
|uncommon potion of clarity=25
|epic potion of healing=50
|epic potion of protection=50
|epic magic protection potion=50
|rare potion of clarity=50
|legend potion of healing=?
|legend potion of protection=?
|legend magic protection potion=?
|epic potion of clarity=?
|grimsmile ring=100
|fangs of death necklace=100
}}  
}}  
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=2x Poor Heal Pot, 3x Poor Magic Stuff
|0=2x Poor Potion of Healing, 3x Poor Magic Stuff
|50=2x Common Magic Stuff
|50=2x Common Magic Stuff
|75=3x Uncommon, 1x Rare, 2x Common Heal Pot
|75=3x Uncommon Magic Stuff, 1x Rare Magic Stuff, 2x Common Potion of Healing
}}
}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
Line 26: Line 48:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20%
}}
}}
}}
}}
|fortuneteller={{#switch:{{lc:{{{2|}}}}}
|fortuneteller={{#switch:{{lc:{{{2|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=2x Potion of Luck, 1x Poor Magic Stuff
|0=Potion of Luck,Great Potion of Luck,1x Poor Magic Stuff
|50=1x Common Magic Stuff
|50=1x Common Magic Stuff
}}
}}
Line 43: Line 66:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|armourer={{#switch:{{lc:{{{2|}}}}}
|armourer={{#switch:{{lc:{{{2|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|0=Iron, Ingots
|0=Iron Ingot,Copper Ingot,Cobalt Ingot,Froststone Ingot,Gold Ingot,Rubysilver Ingot,Silver Ingot
|25=Copperlight
|25=Copperlight Kettle Hat,Copperlight Sanctum Plate Armor,Copperlight Plate Pants,Copperlight Gauntlets,Copperlight Plate Boots
|50=Cobalt
|50=Cobalt Heavy Gauntlet,Cobalt Plate Boots,Cobalt Viking Helm,Cobalt Chapel De Fer,Cobalt Plate Pants,Cobalt Templar Armor
|100=Rubysilver
|100=Rubysilver Gauntlets,Rubysilver Plate Boots,Rubysilver Barbuta Helm,Rubysilver Plate Pants,Rubysilver Cuirass
|150=Gold, Froststone
|150=Golden Hounskull,Golden Armet,Golden Gjermundbu,Golden Plate,Golden Plate Pants,Golden Gauntlets,Golden Plate Boots,Frostlight Crusader Helm,Frostlight Norman Nasal Helm,Frostlight Abyss Plate Armor,Frostlight Plate Pants,Frostlight Gauntlets,Frostlight Plate Boots
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|iron=0
|iron ingot=0
|ingots=0
|copper ingot=0
|copperlight=25
|cobalt ingot=0
|cobalt=50
|froststone ingot=0
|rubysilver=100
|gold ingot=0
|gold=150
|rubysilver ingot=0
|froststone=150
|silver ingot=0
|copperlight kettle hat=25
|copperlight sanctum plate armor=25
|copperlight plate pants=25
|copperlight gauntlets=25
|copperlight plate boots=25
|cobalt heavy gauntlet=50
|cobalt plate boots=50
|cobalt viking helm=50
|cobalt chapel de fer=50
|cobalt plate pants=50
|cobalt templar armor=50
|rubysilver gauntlets=100
|rubysilver plate boots=100
|rubysilver barbuta helm=100
|rubysilver plate pants=100
|rubysilver cuirass=100
|golden hounskull=150
|golden armet=150
|golden gjermundbu=150
|golden plate=150
|golden plate pants=150
|golden gauntlets=150
|golden plate boots=150
|frostlight crusader helm=150
|frostlight norman nasal helm=150
|frostlight abyss plate armor=150
|frostlight plate pants=150
|frostlight gauntlets=150
|frostlight plate boots=150
}}
}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=8x Poor Plate
|0=8x Poor Plate
|50=8x Common Plate
|50=8x Common Plate
|75=13x Uncommon, 1x Rare
|75=13x Uncommon,1x Rare
|100=1x Uncommon, 3x Rare
|100=1x Uncommon,3x Rare
}}
}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
Line 77: Line 130:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|goblinmerchant={{#switch:{{lc:{{{2|}}}}}
|goblinmerchant={{#switch:{{lc:{{{2|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=1x item
|25=1x item
|50=1x item
|75=1x item
|100=1x item
|125=1x item
|150=1x item
}}
}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
Line 103: Line 162:
|leathersmith={{#switch:{{lc:{{{2|}}}}}
|leathersmith={{#switch:{{lc:{{{2|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|25=Copperlight
|25=Copperlight Riveted Gloves,Copperlight Lightfoot Boots,Gold Coin Bag,Gold Coin Pouch
|25=Gold Coin Bag
|50=Cobalt Leather Gloves,Cobalt Lightfoot Boots
|50=Cobalt
|75=Wolf Hunter Leggings,Gravewolf Gloves,Dread Hood,Tri-Pelt Northern Full Tunic,Demonclad Leggings,Foul Boots,Demon Grip Gloves
|75=Rare Non-Cobalt
|100=Rubysilver Leggings,Rubysilver Rawhide Gloves,Rubysilver Adventurer Boots,Rubysilver Cap
|100=Rubysilver
|150=Golden Leggings,Golden Chausses,Golden Gloves,Golden Boots,Frostlight Feathered Hat,Frostlight Warden Outfit,Frostlight Leather Leggings,Frostlight Riveted Gloves,Frostlight Runestone Gloves,Frostlight Rugged Boots,Frostlight Lightfoot Boots,Studded Wyvern Leather,Spectral Coinbag
|150=Gold, Froststone
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|copperlight=25
|copperlight riveted gloves=25
|copperlight lightfoot boots=25
|gold coin bag=25
|gold coin bag=25
|cobalt=50
|gold coin pouch=25
|rare non-cobalt=75
|cobalt leather gloves=50
|rubysilver=100
|cobalt lightfoot boots=50
|gold=150
|wolf hunter leggings=75
|froststone=150
|gravewolf gloves=75
|dread hood=75
|tri-pelt northern full tunic=75
|demonclad leggings=75
|foul boots=75
|demon grip gloves=75
|rubysilver leggings=100
|rubysilver rawhide gloves=100
|rubysilver adventurer boots=100
|rubysilver cap=100
|golden leggings=150
|golden chausses=150
|golden gloves=150
|golden boots=150
|frostlight feathered hat=150
|frostlight warden outfit=150
|frostlight leather leggings=150
|frostlight riveted gloves=150
|frostlight runestone gloves=150
|frostlight rugged boots=150
|frostlight lightfoot boots=150
|studded wyvern leather=150
|spectral coinbag=150
}}
}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=6x Poor Leather
|0=6x Poor
|50=6x Common Leather
|50=6x Common
|75=8x Uncommon Leather, 1x Rare Leather
|75=8x Uncommon,1x Rare
|100=5x Rare Leather
|100=5x Rare
}}
}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
|tradetotal={{#switch:{{lc:{{{3|}}}}}
Line 134: Line 215:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
Line 152: Line 234:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|tailor={{#switch:{{lc:{{{2|}}}}}
|tailor={{#switch:{{lc:{{{2|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|0=Copperlight
|0=Copperlight Straw Hat,Copperlight Shadow Hood,Copperlight Tunic,Copperlight Outfit,Copperlight Attire,Copperlight Pants
|50=Cobalt
|50=Cobalt Hat,Cobalt Hood,Cobalt Trousers,Cobalt Regal Gambeson,Cobalt Frock
|100=Rubysilver, Darkness
|100=Rubysilver Hood,Rubysilver Doublet,Rubysilver Vestments,Cloak of Darkness,Robe of Darkness,Cowl of Darkness,Shoes of Darkness,Tri-Pelt Doublet,Brave Hunter's Pants
|150=Gold, Froststone
|150=Golden Scarf,Golden Leaf Hood,Golden Robe,Golden Padded Tunic,Golden Cloak,Frostlight Wizard Hat,Frostlight Hood,Frostlight Aketon,Frostlight Oracle Robe,Frostlight Cloak,Frostlight Trousers,Frostlight Mystic Gloves,Dark Matter Tunic
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|Copperlight=25
|copperlight straw hat=25
|Cobalt=50
|copperlight shadow hood=25
|Darkness=100
|copperlight tunic=25
|Rubysilver=100
|copperlight outfit=25
|Froststone cloth=150
|copperlight attire=25
|Gold cloth=150
|copperlight pants=25
|cobalt hat=50
|cobalt hood=50
|cobalt trousers=50
|cobalt regal gambeson=50
|cobalt frock=50
|rubysilver hood=100
|rubysilver doublet=100
|rubysilver vestments=100
|cloak of darkness=100
|robe of darkness=100
|cowl of darkness=100
|shoes of darkness=100
|tri-pelt doublet=100
|brave hunter's pants=100
|golden scarf=150
|golden leaf hood=150
|golden robe=150
|golden padded tunic=150
|golden cloak=150
|frostlight wizard hat=150
|frostlight hood=150
|frostlight aketon=150
|frostlight oracle robe=150
|frostlight cloak=150
|frostlight trousers=150
|frostlight mystic gloves=150
|dark matter tunic=150
}}
}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=6x Poor Cloth
|0=6x Poor Cloth
|50=6x Common Cloth
|50=6x Common Cloth
|75=10x Uncommon, 1x Rare
|75=10x Uncommon,1x Rare
|100=3x Rare
|100=3x Rare
}}
}}
Line 184: Line 294:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|tavernmaster={{#switch:{{lc:{{{2|}}}}}
|tavernmaster={{#switch:{{lc:{{{2|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=1x Poor Ale, 4x Poor Music
|0=1x Poor Ale,4x Poor Music
|50=1x Common Ale, 4x Common Music
|50=1x Common Ale,4x Common Music
|75=1x Uncommon Ale, 2x Uncommon Music
|75=1x Uncommon Ale,2x Uncommon Music
|100=2x Rare Music
|100=2x Rare Music
}}
}}
Line 209: Line 320:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
Line 214: Line 326:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|weaponsmith={{#switch:{{lc:{{{2|}}}}}
|weaponsmith={{#switch:{{lc:{{{2|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|affinitytocrafts={{#switch:{{lc:{{{3|}}}}}
|0=Ingots, Utilities
|0=Iron Ingot, Copper Ingot, Cobalt Ingot, Froststone Ingot, Gold Ingot, Rubysilver Ingot, Silver Ingot, Hunting Trap, Francisca Axe, Throwing Knife, Pickaxe, Lockpick, Trap Disarming Kit
|25=Sterling
|25=Sterling Staff, Sterling Blade, Sterling Rod, Sterling Short Sword, Sterling Axe, Sterling Dagger, Sterling Bow
|50=Righteousness
|50=Staff of Righteousness, Blade of Righteousness, Rod of Righteousness, Short Sword of Righteousness, Axe of Righteousness, Dagger of Righteousness, Bow of Righteousness
|100=Divine
|100=Divine Staff, Divine Blade, Divine Rod, Divine Short Sword, Divine Axe, Divine Dagger, Divine Bow
|150=Epic, Legendary
|150=Icefang, Sovereign's Ghostblade, Grimslayer, Frostlight Crystal Sword, Frostlight Spear, Frostlight Lantern Shield, Void Blade, Troll's Bane, Spear of Rot, Demon's Glee, Mana Sphere, Falchion of Honor, Light Bringer, Centaur's Madness, Cyclops Vision Crystal, Boneshaper, Golden Felling Axe, Golden Viking Sword
}}
}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|craftstoaffinity={{#switch:{{lc:{{{3|}}}}}
|ingots=0
|iron ingot=0
|utilities=0
|copper ingot=0
|sterling=25
|cobalt ingot=0
|righteousness=50
|froststone ingot=0
|divine=100
|gold ingot=0
|epic=150
|rubysilver ingot=0
|legendary=150
|silver ingot=0
|hunting trap=0
|francisca axe=0
|throwing knife=0
|pickaxe=0
|lockpick=0
|trap disarming kit=0
|sterling staff=25
|sterling blade=25
|sterling rod=25
|sterling short sword=25
|sterling axe=25
|sterling dagger=25
|sterling bow=25
|staff of righteousness=50
|blade of righteousness=50
|rod of righteousness=50
|short sword of righteousness=50
|axe of righteousness=50
|dagger of righteousness=50
|bow of righteousness=50
|divine staff=100
|divine blade=100
|divine rod=100
|divine short sword=100
|divine axe=100
|divine dagger=100
|divine bow=100
|icefang=150
|sovereign's ghostblade=150
|grimslayer=150
|frostlight crystal sword=150
|frostlight spear=150
|frostlight lantern shield=150
|void blade=150
|troll's bane=150
|spear of rot=150
|demon's glee=150
|mana sphere=150
|falchion of honor=150
|light bringer=150
|centaur's madness=150
|cyclops vision crystal=150
|boneshaper=150
|golden felling axe=150
|golden viking sword=150
}}
}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
Line 250: Line 408:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|woodsman={{#switch:{{lc:{{{2|}}}}}
|woodsman={{#switch:{{lc:{{{2|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|newtradeoffers={{#switch:{{lc:{{{3|}}}}}
|0=10x Poor Utility, 7x Poor Weapon
|0=10x Poor Utility,7x Poor Weapon
|50=5x Common Weapon
|50=5x Common Weapon
|75=4x Uncommon Weapon, 2x Rare Weapon, 3x Common Utility
|75=4x Uncommon Weapon,2x Rare Weapon,3x Common Utility
|125=3x Rare Weapon
|125=3x Rare Weapon
}}
}}
Line 268: Line 427:
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|tradediscount={{#switch:{{lc:{{{3|}}}}}
|75=10% Discount
|75=10% Discount
|200=20% Discount
}}
}}
}}
}}
|all=Alchemist,Fortune Teller,Armourer,Goblin Merchant,Leathersmith,Surgeon,Tailor,Tavern Master,The Collector,Treasurer,Weaponsmith,Woodsman
|all=Alchemist,Fortune Teller,Armourer,Goblin Merchant,Leathersmith,Surgeon,Tailor,Tavern Master,The Collector,Treasurer,Weaponsmith,Woodsman
}}</includeonly><noinclude>
}}</includeonly><noinclude>__TOC__
 
 
<span style="font-size:24px;">'''This template stores data collected by the community.  It is ''not'' updated automatically.'''</span>
 
==Data Entry==
 
In order to contribute please click the pencil icon in the top right of the screen and select "Edit Source".  From there locate the figure of interest, adjust it, and then click "Save Changes" to finalize the change.


==Usage==
==Usage==
Line 295: Line 462:


===Example 1===
===Example 1===
Alchemist's crafts at affinity 0.
Alchemist's newly offered crafts at affinity 25.
<pre style="width:fit-content;">{{Merchant_Affinity|Alchemist|AffinityToCrafts|0}}</pre>
<pre style="width:fit-content;">{{Merchant_Affinity|Alchemist|AffinityToCrafts|25}}</pre>
Outputs: {{Merchant_Affinity|Alchemist|AffinityToCrafts|0}}
Outputs: <code>{{Merchant_Affinity|Alchemist|AffinityToCrafts|25}}</code>


===Example 2===
===Example 2===
Weaponsmith's affinity when initially offering Divine weapon crafts.
Weaponsmith's newly offered crafts at affinity 100.
<pre style="width:fit-content;">{{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine}}</pre>
<pre style="width:fit-content;">{{Merchant_Affinity|Weaponsmith|AffinityToCrafts|100}}</pre>
Outputs: {{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine}}
Outputs: <code>{{Merchant_Affinity|Weaponsmith|AffinityToCrafts|100}}</code>
 
===Example 3===
Weaponsmith's affinity when initially offering Divine Sword craft.
<pre style="width:fit-content;">{{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine Blade}}</pre>
Outputs: <code>{{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine Blade}}</code>


</noinclude>
</noinclude>

Latest revision as of 21:35, 12 March 2025


This template stores data collected by the community. It is not updated automatically.

Data Entry

In order to contribute please click the pencil icon in the top right of the screen and select "Edit Source". From there locate the figure of interest, adjust it, and then click "Save Changes" to finalize the change.

Usage

{{Merchant_Affinity|<merchant_name>|<variable1>|<variable2>}}

Variables

  • <merchant_name>
    • afinitytocrafts
      • <affinity>
    • craftstoaffinity
      • <item set>
    • newtradeoffers
      • <affinity>
    • tradetotal
      • <affinity>
    • tradediscount
      • <affinity>
    • servicediscount
      • <affinity>

Examples

Note, some variables may not be applicable to all merchants.

Example 1

Alchemist's newly offered crafts at affinity 25.

{{Merchant_Affinity|Alchemist|AffinityToCrafts|25}}

Outputs: Rare Potion of Healing, Rare Potion of Protection, Rare Magic Protection Potion, Uncommon Potion of Clarity

Example 2

Weaponsmith's newly offered crafts at affinity 100.

{{Merchant_Affinity|Weaponsmith|AffinityToCrafts|100}}

Outputs: Divine Staff, Divine Blade, Divine Rod, Divine Short Sword, Divine Axe, Divine Dagger, Divine Bow

Example 3

Weaponsmith's affinity when initially offering Divine Sword craft.

{{Merchant_Affinity|Weaponsmith|CraftsToAffinity|Divine Blade}}

Outputs: 100