
Valheim
You are viewing a potentially older version of this package. View Latest Version

Configurable add-on for HaldorExpansion that lets you customize items players can sell to Haldor and items players can buy from Haldor.
After launching once, edit:
BepInEx/config/mg.haldorsellpatch.cfg
Known default items have their own readable config entries:
[1 - Sell To Haldor - Default Metals]
Iron - Sell Enabled = true
Iron - Sell Price = 7
Extra items use a compact list:
[2 - Sell To Haldor - Custom Items]
Items = Coal:2,Stone:1
Format: PrefabName:Price
Known shop items have separate enabled, quantity, and price entries:
[3 - Buy From Haldor - Default Metals]
Iron - Buy Enabled = true
Iron - Buy Quantity = 10
Iron - Buy Price = 0
For quantity, 0 means use the item's current max stack.
For buy price, 0 means auto-price at double the sell value for the stack.
Example: if Iron sells for 7 and buy quantity is 10, automatic buy price is 140.
Extra shop items use a compact list:
[7 - Buy From Haldor - Custom Items]
Items = Coal:50:100
Format: PrefabName:Quantity:Price
Use MaxStack as quantity to sell the item's current max stack:
Items = Coal:MaxStack:100
Controls trophy selling:
[8 - Trophies]
Enable Trophy Selling = true
Default Trophy Price = 10
Trophy Price Overrides = TrophyDeer:15,TrophyBoar:15,TrophyNeck:25