Randomize vanilla barters. Optionally randomizes after every raid/trader reset! Customizable seed for replayability! Share your seed/difficulty to get the same outcome with friends!
What this mod changes:
-
Randomizes all trader "barter" items
The algorithm basically looks at the costs for the target item, and then randomly chooses items that are near to the same cost for the trade.
In general, trades should be more sensical and require fewer items.
-
Configurable difficulty
-
Configurable seed, let no two play throughs feel the same!
-
Randomize barters after every raid/trader reset by setting the seed to 0 (zero)!
-
Share your favourite seed/difficulty multiplier with friends to have the same experience as them!
Compatibility:
- PUT this AFTER ALGORITHMIC LEVEL PROGRESSION in the order.json load order!!!
- Should be compatible with almost everything
- There is a config option to support custom traders as well!
If you're really digging the mod, consider supporting my caffeine addiction ☕:
=== INSTALL STEPS ===
1. Drag and drop this folder into the user/mods folder.
2. Update your mods/order.json so that this is last on the list.
(this is likely only needed if you have custom quests you would like included)
3. Optionally change your configuration (see below configuration options).
4. ???????
5. Profit!!!!
Example order.json:
{
"order": [
"ServerValueModifier",
"zPOOP",
"Lua-CustomSpawnPoints",
"DewardianDev-XXXX",
"DewardianDev-AlgorithmicLevelProgression"
"DewardianDev-AlgorithmicBarterRandomizer",
]
}
==== Configuration Options ====
{
// Turn on/off the mod
"enable": true,
//Change this to change the randomizer, share seeds and difficulty with friends to get the same outcome!
"seed": 2023,
// This is the DIFFICULTY setting. For cheaper barters (0.2) is lower, more expensive barters is higher (1.5)
"barterCostMultiplier": 0.7,
//Turn this on to figure out the correct custom trader name to add to the below "customTradersToInclude"
"printUnkownTraders": false,
// This is to add custom traders (Experimental: will be dependent on other modders db changes)
"customTradersToInclude": [
"SteveTheExampleGuyThatHasSalewas",
"BobJustExampleBob"
],
// Turn these on/off to enable barters of these types
"MedBarterItems": true,
"MeleeBarterItems": true,
"GrenadeBarterItems": true,
//Will print out the changes for each cash change barter
"debugCashItems": false,
//Will print out the changes for each barter
"debug": false
}
1.4K Downloads
Major Update
- Removed Hardcore mode It's broken right now and I don't have time to fix it.
- Updated barters to be updated when traders reset and after each raid.
432 Downloads
Minor Update
- Updated to 3.7.0/3.7.1 (previous versions were broken)
- Fixed an issue with setting certain trader values on hardcore not staying after raid end.
316 Downloads
Major update
- The algorithm now runs on game start, and after raids.
- You can set the barters to randomize after every raid by setting:
"seed": 0, - Added a new setting to hardcoreSettings that makes it so you can turn on/off magazine barters for cash barters:
"excludeMagBarters": true
That's all for now, have fun!
258 Downloads
Compatibility Optimization:
- Should help with compatibility with mods that implement items incorrectly with the DB.
154 Downloads
Config change:
- Fixed a bug with cash barters and custom items.
- "Difficulty" has been replaced by two new values:
"barterCostMultiplier": 0.7,
"cashBarterCostMultiplier": 0.5,
These values multiply the base items (to be traded for's) prices to figure the rough cost of the total barter items.
For example, if the item costs 100, and the multiplier is 0.5, the traded item value would be 50.
88 Downloads
Complete rewrite:
- Completely rewrote the mod, balance feels much closer to live barters.
NOTE: the hardcore mode may present trades that when combined are unbalanced, this is a known side effect of the random nature of this mod.
Not quite yet...