Supply chains [trade scripts for internal logistics]
This scripts heavily inspired by X3TC era "CLS1/CLS2" scripts as well as X4 "Mules and warehouses" scripts.
- Supply courier
- Supply courier multi
- Sales agent
- Infrastructure courier
Establishes supply/demand connection between two chosen stations.
Script respects any trade restriction (faction restriction, buy/sell limit) but not the price. Courier will try to be effective. It will use as much cargo space as possible for both parts of the trips. I recommend to use L traders for this role.
Very similar to previous one, except it has two uneven parties.
First is warehouse (a station which can trade everything relevant in your economy), second is the list of the stations (in my example factories). This script randomly chooses a station from the list and runs supply courier script between the warehouse and chosen station. It will continue to serve chosen pair until no available trades will be available. In this case it will switch to another pair. This script allows to balance your traders between multiple stations.
This script serves to distribute excess wares from station (aka "warehouse"). There three groups of recipient station, each group with own threshold. If warehouse has some wares above certain threshold then excess of it would be traded to random recipient station.
This trader would serve any build or ressuply demands of your stations.
Every script fully supports mimic command. So you need to configure only one ship then choose any number of additional ships and order them to mimic behavior of the configured ship. If requirements are met then ships will fully copy order from the ship.
This is very early version, expect much to be changed.
Please report any problems or bugs with the scripts.
Currently scripts require some skill from pilot (1 star or 2 star), this should not be a problem as basic and 1-star seminars are easy to buy. If you have another opinion, please, comment about this.
No support of language files. Currently all text is hardcoded — to change this is my current priority.
Revisions:
Old revisions of this mod are available below. Click the link to download.