This mod will completely change how traders trade with the player. Instead of buying things with paper money. You now trade your own valuable items for the stuff you need. A bottle of water for a new mag. or perhaps a golden rolex for a shiny new gun. Who knows what the traders want, and what you are willing to give up.
Built with a foundation of customization, the mod has many many knobs to turn so you can tune the experience in a way that fits YOU and YOUR play style.
There is a seed functionality, along with settings on whether to update whenever traders do or not. One set of trades for your entire run? Update your seed once a week, or once a day. The choice is in your hands.
Unlike my other mods, this one's config is simply too big put in here. So instead. if you think this idea is something you'd enjoy. I recommend you to dig into the config file with a text editor that supports jsonc
files. The config is filled with comments and details on what everything does. Personally, I HIGHLY recommend using Visual Studio Code, to edit the config. VSCode
The config file is found in the \Leaves-BarterEconomy\config\
folder.
In classic Leaves™️ style; there is also an \Leaves-BarterEconomy\output
folder that holds usable data like the tiers of items and the complete generation of traders each update. The default settings are tuned to be quite difficult. So if you want an easier experience; go ham on the config.
3.8.0 Release
Added two new features
"maxValueOverHandbookMultiplier":
"tradeValueOverrides":
- Added safeguards to prevent the mod from hanging if there a trader is missing data in the assort.
Configs from previous version 1.0.1
are compatible.
- Lists installed traders at startup
- Implemented
"writeLog"
to output a list of all trades whenever a trader updates.output\trades__2024-04-07_14-52-11_<nickname>.txt
- Added
"writeLogLocale"
If missing defaults to "en".
Configs from previous version 1.0.1
and 1.0.2
are compatible.
- Added barterizing of the flea market. (This is disabled by default and takes a lot of time at startup to generate the thousands upon thousands of barters. (~30seconds on my pc on default settings.))
- Added a setting for having a trade remain as a cash trade, But with massively increased upfront costs.
Configs from previous versions are NOT compatible. but can be made compatible by adding the following settings
"cashTradeEnabled": true, //Enable cash trades. These are trades that should be barter trades, but are instead cash trades.
"cashTradeChance": 0.04, //Chance of a cash trade.
"cashTradeMinValue": 75000, //Minimum value of a cash trade.
"cashTradeMultiplier": 5, //Multiplier of the value of a cash trade.
"barterizeFleamarket": false, //Barterize the flea market. Will make the flea market a bit more interesting.
"offersPerItem": //Total offers per item. Default is 7-30 per item. But this is INCREDIBLY SLOW to generate. I highly recommend not using too many offers per item.
//Only applies if barterizeFleamarket is true.
{
"min": 2, //Minimum offers per item
"max": 4 //Maximum offers per item
}
- Fix Seed not working.
Configs from 1.0.4 ARE compatible with this release.
- Change naming to be proper package.json
Config files from 1.0.5 ARE compatible with this release.
FOLDER NAME HAS CHANGED!!! YOU HAVE TO DELETE THE OLD FOLDER AFTER INSTALLING THIS. REMEMBER TO COPY YOUR CONFIGS OVER.
- Update to 3.9.0
Config files ARE compatible. Have not balanced any new items that tarkov has added like a few new figures etc. They're still auto-valuated, but if you have good experience with live tarkov rarities and want to help, feel free to msg me.
- Probably fix seed. (AGAIN :D)
- 3.10.0 release
- Add a TON of items to the blacklist. Including arena crates and such. (Thanks to Agent772 for bringing this up)
- Improved data dumping output.
- Improved config descriptions to be more descriptive
- Drop support for flea-market barterizing
- Drop support for seed
- Fix slow breakdown of barters due to it iterating on itself each trader reset. Now resets to a backup of original database before each barterization.
- Fix weapons and armors value calculations. It didn't take into account all armors/weapons child items like attachments and plates. This results in weapons and armor being more expensive in general.
- Added a field in the config to adjust the calculated costs of different item types. By default it only includes weapons for now, but any parent type can be used.
- Manually tiered a few items that weren't valued properly.
- Added a few more borked items to the blacklist.
- Added the option to adjust maximum different items for a trade. Enjoy.
- Added a blacklist for specific items that traders might sell. And populated it with gilded key storage IDs.
- Added a save/load feature for the barters. This is to replace the old "seed" feature. Will save the list of barters on first run (after enabling) and then load those barters in the future. Default off
OLD CONFIGs are NOT compatible
- Updated blacklist
- Made the update message in server console mention trader nickname as well as their ID. (Previously only showed ID)
- Adjusted trade value of a lot of items.
- Made cash-trades use a set currency from the config. By default used to make peacekeeper and skier use USD and EUR respectively.
OLD CONFIGS are NOT compatible