MK4 Supply Trader
Galaxy Trader MK4 Supply¶
Since v0.15.0 (named MK4 Supply since v0.16.5; older saves that still carried the temporary MK4-2 order id migrate automatically).
Galaxy Trader MK4 Supply is the “feed my factories” trader. It looks for NPC and player sell offers that match what your stations need, buys the goods, and delivers them — using a dedicated MK4 trade cache plus live search, tuned for supply urgency (how much is needed and how far away) rather than open-market profit.
You set two jump limits: Coverage Distance is how far from home the ship looks for who needs something. The buy distance is how far it may travel to pick up goods. Unlike MK2, you do not maintain fixed source and destination lists — MK4 reads station need from the market. It can skip stations already served by an MK1 supply ship when Ignore MK1-Supplied Stations is on.
When the supplier is player-owned and the customer is also yours (station or build storage), pickup and delivery run as free internal transfers — no credits leave your wallet and the destination does not need funds on that leg. Buying from NPC suppliers to your stations stays a normal paid purchase.
Delivery-target priorities¶
Four sliders (0–10 each) say which kinds of destinations matter most. 0 = that target type is disabled. If all four are 0, the ship idles and does not search.
| Slider | Default | What it covers |
|---|---|---|
| Build Storage Priority | 10 | Construction build storage at player stations (and home build storage when relevant). |
| Stations Priority | 8 | Regular player-owned factories, hubs, and trading stations. |
| Aux Ships Priority | 0 | Player-owned auxiliary ships that need supply. |
| Carrier Ships Priority | 0 | Player-owned carriers that need supply. |
Higher values multiply that destination type’s urgency score (10 = strongest bias). Example presets: factories only — Stations 10, others 0; HQ build projects only — Build Storage 10, Stations 0.
Supplier priorities (replaces on/off buy toggles)¶
Player Supplier Priority and Faction Supplier Priority are also 0–10 sliders. 0 excludes that supplier side entirely. At 5/5 (defaults) both sides compete fairly; raise one side to prefer your stations vs the NPC market.
| Setting | Default | Range | Description |
|---|---|---|---|
| Home | Current sector | Sector or Station | Anchor for supply operations. |
| Assign to Home Station | On | On/Off | When home is a station, assign the ship as that station’s trade subordinate. |
| Coverage Distance | Skill-based | 1–25 jumps (cap by skill) | How far from home the ship looks for stations that need deliveries. |
| Buy distance (buy leg) | Skill-based | 1–25 jumps (cap by skill) | How far the ship may go to buy after it knows what is needed. |
| Serve Home Only | Off | On/Off | When on, deliveries stay in strict home scope (including home build storage). When off, other player stations inside coverage can receive goods by urgency. |
| Player Supplier Priority | 5 | 0–10 | 0 = never buy from player-owned suppliers. 1–10 = preference vs faction suppliers. |
| Faction Supplier Priority | 5 | 0–10 | 0 = never buy from NPC/faction suppliers. 1–10 = preference vs player suppliers. |
| Build Storage Priority | 10 | 0–10 | Delivery urgency weight for build storage. 0 = ignore build storage targets. |
| Stations Priority | 8 | 0–10 | Delivery urgency weight for player stations. |
| Aux Ships Priority | 0 | 0–10 | Delivery urgency weight for auxiliary ships. 0 = ignore aux targets. |
| Carrier Ships Priority | 0 | 0–10 | Delivery urgency weight for carriers. 0 = ignore carrier targets. |
| Include Resources | On | On/Off | Deliver raw production inputs. See ware categories. |
| Include Intermediates | On | On/Off | Deliver factory products and intermediate inputs. See ware categories. |
| Include Tradewares | On | On/Off | Deliver wares on the station’s tradeware list. See ware categories. |
| Auto Wares | On | On/Off | Automatic ware selection (vs manual ware basket). |
| Ware Basket | Empty | Ware list | Optional manual restriction list. |
| Priority Wares | Empty | Ware list | Wares you want favored when several deals look similar. |
| Priority Ware Bonus | 1 | 1–10 | 1 = no extra score. 2–10 adds bonus score when the trade ware is in the priority list (on top of class priority). |
| Max Trades per Cycle | 3 | 1–3 | Cap on separate buy → deliver legs bundled into one outing. |
| Backtrack Tolerance | 1 | 0–5 | Extra jumps allowed when chaining multiple supplier stops on one trip. |
| Min Cargo Used % | 80 | 10–100 | Target fill before another pickup on the same outing — only when minimum cargo enforcement is on (default off). |
| Allow small destination fills | On | On/Off | When Min Cargo Used enforcement is on, allow extra multitrade legs below the one-third volume floor if they fully cover remaining destination demand. |
| Min Station Storage % | 100 | 5–100 (step 5) | Only supply Stations while per-ware fill is below this %. 100 = disabled (default). Does not gate Build Storage or Aux. To hard-exclude stations, set Stations Priority to 0 instead. |
| Station Whitelist | Empty | Station list | Optional allow list. Player stations listed here may be customers and suppliers; NPC stations are suppliers only. Empty player side = all customers allowed; empty NPC side = all suppliers allowed. |
| Station Blacklist | Empty | Station list | Optional block list. Player stations listed here are blocked as customers and suppliers; NPC stations are blocked as suppliers only. Customer blocks activate when any player station is listed; supplier blocks activate when any listed station (player or NPC) is present. Empty = unrestricted. |
| Allow Illegal Wares | Off | On/Off | Whether the ship trades contraband. |
| Illegal Route Filter | Off | On/Off | With illegal wares allowed, legal route in every sector; enforced before trades and in flight. |
| Idle Parking | Off | On/Off | After repeated failed supply searches, park at home. |
| Autoscale | Off | On/Off | After training or Trading Academy, snap coverage and buy distances to pilot tier max. |
| Ignore Trade Rules | Off | On/Off | Bypasses station trade restrictions when searching. |
| Ignore MK1-Supplied Stations | On | On/Off | Skip stations already served by MK1 supply traders. |
| Logbook Entries | On | On/Off | Per-trade logbook messages. |
| Sector Whitelist | Empty | Sector list | Sectors always allowed even if threat-blacklisted. |
| Distance Penalty | 50% | 0–100% | How much the ship dislikes long jumps when comparing deals. |
Several pickups on one trip (multi-trade)¶
When Max Trades per Cycle is higher than 1, MK4 can chain several buy→deliver legs if cargo, money, and offers allow. Per-destination delivery budgets prevent overfilling a single customer when the freighter is larger than the destination hold.
With Min Cargo Used enforcement on, each extra leg normally must carry at least one-third of the hold volume implied by your Min Cargo Used % setting. That blocks token padding runs when the freighter is nearly full. Allow small destination fills (default on) still admits smaller legs when they would fully top up what a destination still needs.
Backtrack Tolerance keeps extra supplier stops geographically compact. Your account balance still matters — purchases respect the global Min Player Money floor.
Resources, intermediates, and tradewares¶
These three checkboxes filter what MK4 will supply to player-owned delivery targets. Galaxy Trader uses the same ware lists X4 stores on each station.
| Checkbox | Which wares match | Typical examples |
|---|---|---|
| Include Resources | Station resource list, not marked intermediate | Ore, Silicon, Ice, Hydrogen, Helium, Nividium |
| Include Intermediates | Station product list plus intermediate-flagged resources | Energy Cells, Graphene, Microchips, Hull Parts |
| Include Tradewares | Station tradeware list | Trading Post goods: Spacefuel, Drone Components, Smart Chips |
Build storage is controlled by Build Storage Priority, not these three checkboxes. Priority if a ware appears in multiple lists: tradeware wins.
What happens each cycle¶
- Training, repairs, money, and cargo checks; Autoscale may snap distances.
- If every delivery-class priority slider is 0, the ship idles (no search).
- Waits its fleet search turn, then checks the MK4 cache or runs live search.
- Scores deals by demand urgency (amount needed vs distance), class priorities, supplier priorities, ware filters, and distance penalty.
- Validates docking, blacklists, budget, and trade rules, then executes buys and deliveries.
If the ship rarely delivers¶
- All four delivery priority sliders at 0 — raise at least one.
- Both supplier priorities at 0 — enable player or faction suppliers.
- Coverage or buy distance too tight, or pilot level caps the slider.
- Ware categories off or ware basket too narrow.
- Serve Home Only on but needs are outside home scope.
- Threat-blacklisted sectors — use Sector Whitelist for trusted lanes, or permanent map whitelist pins.
- Station Blacklist / whitelist too tight, or Min Station Storage % already met so stations are skipped.
MK4 Quick Setup (60 seconds)¶
- Assign GalaxyTrader MK4 Supply under Trade.
- Set Home and Assign to Home Station when appropriate.
- Set Build Storage and Stations priorities (defaults 10/8 work for most factories).
- Tune coverage and buy distance.
- Adjust supplier priorities and ware groups.
- Leave Max Trades per Cycle at 3 for fuller runs.
Best for: Keeping your stations stocked from the market while MK3 handles general profit trading.
flowchart TD
A[Next supply run] --> B[Training repairs credits OK Autoscale may snap distances]
B --> C{All delivery class sliders zero?}
C -->|Yes| IDLE[Wait 60 to 75 seconds no search]
IDLE --> A
C -->|No| D[Wait for fleet search turn]
D --> E{MK4 cache or live supply deals?}
E -->|No| R[Retry backoff]
R --> IP{Idle Parking on?}
IP -->|Yes| PARK[Park at home station or sector]
PARK --> A
IP -->|No| N[Wait and try again]
N --> A
E -->|Yes| S[Score demand urgency class priority sliders]
S --> T{Ware groups on Resources Intermediates Tradewares?}
T --> U{Skip MK1-supplied stations if enabled?}
U --> V{Serve home only scope?}
V --> W[Match suppliers player and faction priority 0-10]
W --> F{Max Trades per cycle greater than 1?}
F -->|Yes| G[Multi-buy plan Backtrack min cargo rule if on]
F -->|No| H[Single buy deliver pair]
G --> I[Validate blacklists docking money trade rules illegal route]
H --> I
I --> J[Fly buy deliver player legs internal no wallet debit]
J --> A