Purpose:
TaterTrader is my attempt to provide a semi decent trading script. It attempts to seek out the best deal within the constraints you set when setting up the order.
Ive made a attempt to keep TaterTrader balanced, as it will only do trade deals that the player knows about.
NexusMods Link: https://www.nexusmods.com/x4foundations/mods/151/
OriginalGitHub Link: https://github.com/ludsoe/TaterTrader
DeadAirRT has been maintaining TaterTrader on their own fork. I recommend using their version.
DeadAirRT's GitHub Link: https://github.com/DeadAirRT/TaterTrader
Station Manager Auto Cash Transfer by Matterom
Mining/Trading Fleet by pesoda
Player Owned Warehouses by TheDeliveryMan
If you guys know of any other mods that pair with TaterTrader nicely, link em so i can put em here.
- Attempts to find the best profit based on the configurations of the order given.
- A bunch of settings you change to tweak how and where it trades.
- Only trades with trade offers known to the player.
- Uses the games own built in trade orders to conduct its trades.
- When the Traders home is set to a station, the station becomes the traders commander.
- Traders use their commanders money if they have one.
- The Traders follow faction trade restrictions, unless told otherwise.
- There's ware list presets you can copy within the configuration options.
- Fancy outputting to the player log.
- Station Trader Mode allows you to focus the trader onto a station, to handle all its trade offers. Can be used on both player and NPC owned stations, even accounts for the stations build storage.
Configuration Options:
- You can define a home sector or station.
- Can set the trader to always return "Home" before attempting to seek another trade.
- You can configure which wares the trader attempts to find trade deals for.
- The maximum distance from home the trader can buy or sell at.
- Change the Price the Traders perceive wares are set at your own stations. (Doesn't actually affect the cost)
- You can set the Traders to bypass faction trade restrictions.
- You can exclude sectors from the trade offer search.
- You can use preset ware lists, I copied the ones used by the game itself. But I can add based on suggestions.
- You can set the Trader to compare distances between stations when searching for deals.
- Enabling Station Trader Mode allows you to focus a stations offers, allowing you to automate your own stations or even NPC owned ones.
- You can Ban whole factions from being traded with, No more trading with those darn pirates and getting your traders destroyed.
- TraderHome: The sector or station the trader considers its home.
- HomeBound: Sets if the trader returns back to the home defined by TraderHome after each trade.
- Buy/Sell Gate Distance modifiers: Sets how far the trader can sell or buy from its home.
- Owned Station Buy Mod: The percentage of the average price the trader views player owned stations when buying from them.
- Owned Station Sell Mod: The percentage of the average price the trader views player owned stations when selling to them.
- FreeTrade: Sets if the trader is allowed to bypass faction trade restrictions set at player owned stations.
- FastTrade: When enabled, the trader trims down the amount of offers it compares to the absolute minimum.
- StationTrader: Enables Station Trader mode, The Trader attempts to fulfill any trade offers its Home station has.
- StationSmuggler: Enables trading illegal goods for Station Trader mode.
- WareList: The wares the trader is set to search deals for.
- Use Presets: Tells the trader to copy the wares from selected presets into its warebasket, you can enable multiple at will.
- (Bunch of presets, enable to flag their wares to be added to the warebasket)
- Exclude Sector: Disables searching for deals in selected sectors, Doesn't actually prevent path-finding though I cant do that without rewriting the games pathfinder.
- Include Sector: Always Scans included sectors for trade offers, even if they are not in range.
- TradeBans: When Enabled and factions selected, prevents the trader from trading with those factions.
- ScanSpeed: Trade Deals calculating too slow? You can up the scan speed, or down if you favor performance.
- The Trader Becomes highly unstable when homebound is toggled and the home is set to a sector. Either don't use homebound set to a sector, or set the home to station you own. (I'm attempting to fix this but Its taking longer then expected.)
- The Traders can sometimes become broken when attempting to trade with a Black-market dealer. (This is a problem with the base game.)
This is my first attempt at making a mod for an X game, so there's probably some quirks to be worked out and optimization issues.