jsbursik / DynamicTariffs

Starsector Mod for dynamic tariffs based on rep. level
2 stars 6 forks source link

Dynamic Tariffs

This is a utility mod for Starsector that dynamically changes tariffs based on your current reputation with the faction that owns the market.

How it works

When you open a market, an event is fired that will then modify the tariffs based on the parameters in the settings.json (read about that below), when you close a market, all modifications will be removed as to maintain utility status.

Settings.json

Stock settings

Reputation Tariff
Suspicious 30%
Neutral 25%
Favorable 20%
Welcoming 15%
Friendly 10%
Cooperative 5%

And if you are commissioned with the faction, it will be lowered an additional 5%. (This can be turned off in the settings.json with dt_commission:false)

Also, It doesn't go below "Suspicious" because you can't trade with factions below that reputation level.

Thanks

Huge thanks to the folks in discord including: LazyWizard, stormbringer951, extremely loweffort art god, Ω Rubin Ω, and Jaghaimo (for the capital P in modPlugin).

This is my first mod for this game, and my first time using Java since high school, they helped A LOT.

Current Workflow setup