Converts or removes all money trades from all traders (except Fence).
BarderTradeMod
Converts or removes all money trades from all traders (except Fence).
Conversion uses random barter trade items (see list below).
Also converts trades from modded traders when placed after in mod load order.
Edit the folder name "z-Lavax-BarterTrades" or order.json.
Inspired by ODT-Softcore and extends the idea that all items are valueable now.
Function:
Compares the cost of the item with all barter items.
Replaces the money trade with equally valued barter items.
If there is no barter item with a high enough value multiple items need to be traded in.
Sometimes a second item is needed for the barter trade if the value of the first is not enough.
Ammo trades are replaced with less valued ammo in a 2 for 1 or 4 for 1 exchange rate.
Watch out an ammo trade deletes 1 full ammo stack from your inventory, so put in the correct number.
Questitems and dogtags are excluded.
Regular barter trades are not changed.
Trades are randomed each server restart or generated via a seed number and stay the same.
If you change the seed and restart the server the trades will be different.
Install:
Extract folder into user/mods.
Remove folder and restart server to uninstall
Config:
Enable RemoveMoneyTrades or ReplaceMoneyTrades
- "BarterBlacklist": exclude items to be used as barter
- "BarterItemPriceLimit": exclude items to be used as barter with value > X
- "NotAffectedTraders": exclude traders from being converted
- "convertAmmo": default true, set to false if you want to keep trading ammo for money
- "minCostToConvert": only item that cost more than this will be converted to barter trades
- "exclusionList": items in this list will not be converted to barter trades.
- "enableSeededRandomness": default true, set to false if you want to re-random at each server restart.
- "seed": this is a value to control the random generation. The randomization for a specific value will always be the same.
-
BarterValueMultiplicator: with this you can set how much value your traded items need to have to get the item you want
- "applyToItemsWithValueGreater": set a value in rubles to only apply this to expensive items, because the pool for a fair trade is very small
- "mult": set a multiplier to reduce the needed value of items
-
example: 500000 and mult = 0.5
reduces the value of items that cost more than 500k (e.g. Junkbox) by half so you only need to trade in less valueable items.
Random Trade Items:
Others = "5b47574386f77428ca22b2f4" -- Dogtags are excluded
Buildingmaterials = "5b47574386f77428ca22b2ee"
Electronics = "5b47574386f77428ca22b2ef"
Energyelements = "5b47574386f77428ca22b2ed"
Flammablematerials = "5b47574386f77428ca22b2f2"
Householdmaterials = "5b47574386f77428ca22b2f0"
Medicalsupplies = "5b47574386f77428ca22b2f3"
Tools = "5b47574386f77428ca22b2f6"
Valuables = "5b47574386f77428ca22b2f1"
Ammo = "5485a8684bdc2da71d8b4567"
408 Downloads
Added a few config options:
"convertAmmo": default true, set to false if you want to keep trading ammo for money
"minCostToConvert": only item that cost more than this will be converted to barter trades
"exclusionList": items in this list will not be converted to barter trades.
"enableSeededRandomness": default true, set to false if you want to re-random at each server restart.
"seed": this is a value to control the random generation. The randomization for a specific value will always be the same.
90 Downloads
Added a config option to set a value multiplier for items above a certain cost.
For example:
"applyToItemsWithValueGreater": 500000,
"mult": 0.5
reduces the value of items that cost more than 500k (e.g. Junkbox) by half.
So you only have to trade in less valueable items.
But you can also make it harder by setting the mult >1
229 Downloads
Fixed error with remove money trades
189 Downloads
Updated the formula for how barter items are picked.
Now more different barter goods are used for items of the same value, however, it is more likely that a second barter item is necessary.
Before more expensive items almost always needed LedX, Tank Battery or MCC.
Added some quest items to the exclusion list (Motor Controller, Gyroscope and Tree Ornaments)
147 Downloads
New
Config Options:
BarterBlacklist: exclude items to be used as barter
BarterItemPriceLimit: exclude items to be used as barter with value > X
(this may result in high amounts of less valued items)
NotAffectedTraders: exclude traders from being converted
88 Downloads
added checks for undefined to prevent errors
Not quite yet...