From Dark and Darker Wiki

Revision as of 23:15, 27 February 2025 by Raw Salad (talk | contribs) (Unlocks Grimmy+Fangs at 100 affinity)


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