Dynamic TariffsCreated by: Tuv0xDownloadSourceDuring a vanilla play-through, I decided that a 30% tariff while dealing with a faction I have good reputation with, just didn't make sense.
I figured I might as well break into the modding scene with a mod that handles this problem, not to mention it let me practice my seriously rusty Java.
DISCLAIMER:I'm assuming there are no issues with 0.95.1a, this mod relies on very basic principles. If anything should come up reach out to me on Discord: Tuv0x#5263
I'll update the mod_info.json again once the release candidates slow down after a while.
What It Does:Whenever you open a market, it modifies the tariff based on your reputation with the owning faction.
When you close a market, the modifications are removed, hence why this is a utility mod.
Compatibility:This mod shouldn't have any issues with other mods because of the whitelist feature.
The whitelist in the settings.json are the only markets effected by this mod (currently only vanilla markets).
This was done because there are a handful of mods out there that handle markets in their own way when it comes to tariffs.
You could potentially have issues with this mod if you (or a mod) edited the default tariff in /data/campaign/econ/economy.json
Default Tariffs:Suspicious: 30%
Neutral: 25%
Favorable: 20%
Welcoming: 15%
Friendly: 10%
Cooperative: 5%
Commission discount: 5%
These are sort of random, I haven't tested them that much.
If you don't like these edit the settings.json
ThanksHuge thanks to the folks in discord including:
LazyWizard, stormbringer951, extremely loweffort art god, Rubin, and Jaghaimo (for the capital P in modPlugin).
Be warned:Take account of your faction reps when doing trader runs, it can make things more tricky
Settings.json Spoiler
dt_percents defines what tariffs should be at each level of reputation from Suspicious to Cooperative.
dt_granular if set to true (default) will offer all values in-between the set percents based on your actual reputation level. Note: if set true, if you reach 100 reputation with a faction your tariffs will be 0%.
dt_commission if enabled (default) will give you a discount when commissioned with the market's owning faction.
dt_commDiscount is how much it should discount (default is 5%)
dt_whitelist contains all of the vanilla market id's, these will be the only markets that are effected, if you wish to add some markets, just add their market id's to the list.
Spoiler
1.4 - Updated the mod_info.json for the 0.95.1a release.
1.3 - Added Granular Tariffs (percentage tariffs in between each milestone)
1.2h - Hotfix for crashing when a market doesn't exist, added commission feature that can lower tariffs further in markets you are commissioned with.
1.1 - Reworked the code a bit. Instead of modifying on every market open/close, it now modifies all whitelisted markets when you load your save. Before you save, it removes all modifications, and after you save (if you're just quick saving) it reimplements all of the modified changes. It will also do this on the fly if your rep changes with a faction (I see you selling all those drugs on the black market).
1.0 - Release!