TradersExtended
Trader specific buy and sell lists extended. Store UI extended. Sellable items listed next to tradeable with option to sell exact item.
Date uploaded | 9 months ago |
Version | 1.0.21 |
Download link | shudnal-TradersExtended-1.0.21.zip |
Downloads | 6647 |
Dependency string | shudnal-TradersExtended-1.0.21 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
Traders Extended
Trader specific buy and sell lists extended. Store UI extended. Sellable items listed next to tradeable with option to sell exact item.
Description
Yet another trader mod.
Less bloated then BetterTrader if your needs are much smaller than economics simulating.
A bit more functional than another "simple" trader mods.
Features
- extended store UI with item to sell list
- trader specific or common configurable lists of additional items to buy/sell
- live update on config changes
- server synced config
- configs saved as JSON files next to dll or in subdirectories
- configurable items are added to current lists (not replacing current vanilla items)
- double click on stackable item you want to buy (i.g. Iron pit ) to enter needed items amount
- use right gamepad stick to scroll sell list. Use (X) to sell selected item (ignore button hint)
Config file names
- are case insensitive for Windows
- should start with mod ID "shudnal.TradersExtended" and should have a ".json" extension (case sensitive for *nix)
- should include trader name (or "common") and list type (buy/sell)
- can be set for nonstandard trader name
Config file names for example:
- shudnal.TradersExtended.haldor.buy.json (items to buy from haldor (ingame name $npc_haldor))
- shudnal.TradersExtended.haldor.sell.json (items to sell to haldor (ingame name $npc_haldor))
- shudnal.TradersExtended.hildir.buy.json (items to buy from hildir (ingame name $npc_hildir))
- shudnal.TradersExtended.hildir.sell.json (items to sell to hildir (ingame name $npc_hildir))
- shudnal.TradersExtended.common.buy.json (items to buy from all traders)
- shudnal.TradersExtended.common.sell.json (items to sell to all traders)
Config formatting
Configs are JSON files containing array of objects with different formats for buy and sell lists.
Configs use game object prefab name. Current list of items here
For example "Simple cap red" sold by Hildir will be "HelmetHat5". Wrongly set prefab names will be ignored.
Configs use Boss Keys to filter tradeable item list (https://valheim.fandom.com/wiki/Global_Keys).
Tradeable(Buy) list example
- I want to be able to buy a Dragon egg for 500 coins after I had killed Moder
- I want to be able to buy a Boar meat for 10 coins
[
{
"prefab": "DragonEgg",
"stack": 1,
"price": 500,
"requiredGlobalKey": "defeated_dragon"
},
{
"prefab": "RawMeat",
"stack": 1,
"price": 10,
"requiredGlobalKey": ""
},
]
Sellable(Sell) list example
I want to be able to sell a Fishing rod for 200 coins I want to be able to sell a stack of Wood for 25 coins after Elder was killed
[
{
"prefab": "FishingRod",
"stack": 1,
"price": 200,
"requiredGlobalKey": ""
},
{
"prefab": "Wood",
"stack": 50,
"price": 25,
"requiredGlobalKey": "defeated_gdking"
},
]
Installation (manual)
Extract TradersExtended.dll file to your BepInEx\Plugins\TradersExtended\ folder
Create new config file next to dll to add items.
Compatibility
- The mod should be compatible with any mods changing item prices to make it sellable and extending tradeable item lists
- Incompatible with any mod hiding vanilla store UI
- Mod should be compatible with mods adding more traders with unique names (until they use vanilla store UI)
Mirrors
Changelog
v 1.0.20
- thunderstore package restructuring
v 1.0.19
- colored icons from epic loot
v 1.0.18
- patch 0.217.38
v 1.0.17
- partial gamepad support
v 1.0.16
- reduced logging messages
v 1.0.15
- proper fix for new patch
v 1.0.14
- fix for new patch
v 1.0.13
- proper fix for new bepinex
v 1.0.12
- fix for new bepinex
v 1.0.11
- another fix for lists priority
v 1.0.9
- fixed not setting sellable item values on vanilla items
v 1.0.8
- fixed not setting trade item values on vanilla items
v 1.0.7
- patch 0.217.22, text field fix
v 1.0.6
- patch 0.217.22, server sync fix
v 1.0.5
- patch 0.217.22
v 1.0.4
- tradersextendedsave command to save all items from ObjectDB
v 1.0.3
- better positioning for EpicLoot Adventure mode
v 1.0.2
- double click on stackable item to input needed amount
- item config unified
v 1.0.1
- option to load config stored internally
v 1.0.0
- Initial release
CHANGELOG
1.3.7
- proper alignment for sell list elements
1.3.6
- correct implementation of bog witch trader name
1.3.5
- bog witch
1.3.4
- minor refinements and bog witch preparations
1.3.3
- player unique keys support
1.3.2
- protection from wrong prefabs
1.3.1
- vanilla valuable item list fixed
1.3.0
- new Google Sheets JSON Helper for easy JSONs management (link and details in description)
- new command "tradersextended itemlist" for item list export
- requiredGlobalKey and notRequiredGlobalKey can be set as comma separated value
- amount dialog extended and now available for items sell as well
- if you have no free slots for coins after sell transaction the surplus of coins will be dropped on the ground at traders feet
- fixed item tooltip issue with gamepad enabled
- better gamepad support
1.2.5
- more solid trader coins replenishment in the morning
1.2.4
- fix for common sell list
1.2.3
- fix for common valuable items prices
1.2.2
- fix for dedicated server
1.2.1
- option to set fixed position for Store GUI
1.2.0
- items from hotbar, quick slots and equipped armor will not appear in sell list
- option to set global key that should not be set for item to be in the list
- configurable item quality
- multiple stacks size
- new console command to set trader coins
- option to buyback last item sold
- option to disable automatic addition of valuable items to sell list
Changelog History (click to expand)
1.1.6
- Ashlands
1.1.5
- patch 0.217.46
1.1.4
- quality multiplier
- item name position fix
- another trader coins fix
1.1.3
- minor trader coins fix
1.1.2
- minor fixes
- support for spent and earned EpicLoot coins
1.1.1
- minor fixes
1.1.0
- trader will wait for items discovery
- trader can repair your stuff for coins
- trader can have limited replenished amount of coins
- trader can give discounts and set markups
- JSON configs could be stored both next to dll and in config folder
- full gamepad support (except filter fields)
- configurable weight and stack size of coins
- vanilla items could be disabled
- lots of refinements and improvements
1.0.21
- refinements for shared config files reading
1.0.20
- thunderstore package restructuring
1.0.19
- colored icons from epic loot
1.0.18
- patch 0.217.38
1.0.17
- partial gamepad support
1.0.16
- reduced logging messages
1.0.15
- proper fix for new patch
1.0.14
- fix for new patch
1.0.13
- proper fix for new bepinex
1.0.12
- fix for new bepinex
1.0.11
- another fix for lists priority
1.0.9
- fixed not setting sellable item values on vanilla items
1.0.8
- fixed not setting trade item values on vanilla items
1.0.7
- patch 0.217.22, text field fix
1.0.6
- patch 0.217.22, server sync fix
1.0.5
- patch 0.217.22
1.0.4
- tradersextendedsave command to save all items from ObjectDB
1.0.3
- better positioning for EpicLoot Adventure mode
1.0.2
- double click on stackable item to input needed amount
- item config unified
1.0.1
- option to load config stored internally
1.0.0
- Initial release