X4: Foundations

X4: Foundations

712 ratings
Mules, Supply and Warehouses Extended
9
6
3
9
2
3
5
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
403.060 KB
4 Mar, 2020 @ 9:00am
20 Apr @ 2:09am
36 Change Notes ( view )

Subscribe to download
Mules, Supply and Warehouses Extended

Description
About
A re-write of mules and warehouses v4.
These are a set of standalone mining/trade ship behaviour scripts that are more complex than vanilla trade orders ideal for empire management and sanity.
Public testing has begun for current release 7.50 as of 21/04/2025.

The Mules
  • Travel Mule
    This Mule is the ONLY one to care at all about prices and profits! It is the one you will use to sell from your warehouses and other stations to every other faction.

  • Station Mule
    These mules were the first in the family and are great for dedicated supply lines between two stations, back and forth, also are the ONLY ones who can create Warehouse Stations for centralised storage and distribution centres.

  • Supply Mule
    This Mule acts as a dedicated fetch mule for all own stations ware needs (or when assigned to a particular single station), for times when you just want to supply stations and nothing more. It does a job the Station Mule is capable to do only this is the only purpose.

    He will try to serve your builder first to get the station up and running, buys from player known stations if available.
    He will serve ALL your stations in a sector, unless you assign him to a particular station, starting with the most needed wares it requires. He WILL NEVER serve AI stations, unless assigned to one.

  • Distribution Mule
    This simple Mule is meant to distribute wares between your warehouses, so that every warehouse has at least some of everything. That way you can use a network of warehouses to supply factories in various systems instead of directly supplying your station via multiple production stations.

NEED HELP?
First please check out our Documentation and Usage[github.com].
Requests & BUG REPORTS let us know about them by VISITING Our GitHub[github.com]

F.A.Q
Question
Answer
My Travel Mule is stuck looking for trades with certain stations!
Try adjust 'Profit Override', this allows you to modify the price the mule sees for station trades.
0=Sell all wares regardless of trade offer price.
100= Obey Station Manager's sell offer prices, could be the station the mule is set to has the sell price too high (common issue if the station is a player warehouse with low stock) use this option to force a trade by setting this slider to 0.
Travel Mule, Max Jump limit is 15 can increase it?
No need! The Travel Mule max jump range technically works as no-limit to jump distance.
I need to setup a supply run between two stations e.g raw resource and production station.
Station Mule, enable two-way trade!
FOR MORE INFORMATION CHECK OUT THE LEGACY MODS
(however, a lot of information there is now outdated.)

Mules Extension[www.nexusmods.com]
Mules & Warehouses V4


Supported Mods
Civilian Fleets



Credits
This project includes contributions and the concepts of two other mods which can be found under various creators it contains code not entirely done by our team but from the likes of LegionOfOne, Ramokthan.
Popular Discussions View All (6)
31
1 May, 2023 @ 5:35am
General Discuss
Mo¡stDreams
16
15 May @ 7:32am
Debugging Thread
Davinci
1
23 Apr @ 8:05pm
Rewriting distrimule
Mig1985
741 Comments
Dorander 3 Jun @ 4:47am 
I'm currently using this mod for Station Mules to create dedicated supply lines, a feature which I absolutely love. Sadly, it doesn't seem to work, my dedicated Station Mules pick up goods that the station they're assigned to, isn't buying. Instead they're dropping it off at build storages.

I have a large industry set up in Boron space in Rolk's Demise, and all my Station Mules are in a traffic jam waiting to sell their goods to the build storage of the shipyard I've started constructing there, ruining the flow of the stations they are supposed to work for.

Anyone else suffering this and/or happens to know a solution?

N.B. They are *Station* (M2) Mules, not *Supply* (M3) Mules, but they seem to be behaving like they are.
Yakumo 3 Jun @ 1:37am 
used this great mod for years. Came back to X4 after a while and the game had regular freezes, making first person dogfights unplayable. Turns out it was this mod causing the freezes, so I had to disable it
Akira_R 29 May @ 7:40pm 
\o/
Thank you so much for updating this!!! This has been one of my favorite QoL mods for a looong time and I have been pretty bummed out trying to get through without it on my most recent play through. Again thank you so much for the update!
DocMitch50 3 May @ 8:21pm 
sorry to comment again so soon, but i just wanted to add that this makes it difficult to use large traders as suppliers because almost no stations can supply their storage in a single trade
DocMitch50 3 May @ 8:19pm 
hey, im not able to adjust the max trades option on my supply mules. it seems like it would be useful but i is locked at 1/1. i saw it detailed on your github so this strikes me as odd. am i doing something wrong?
Stroichik 3 May @ 3:26am 
is it possible to make Mules receive landing orders from Reactive Docking mod, when tied to a ship? so that they wouldn't stay in space if not trading?
Or ability to assign Supply Mule to entire fleet instead of just 1 ship? Otherwise it starts to supply stations, when fleet no longer needs supplies.
fatbasementdweller 26 Apr @ 1:19am 
@Galactus Dist Mules can have multiple Targets so just add all your stations that you want to distribute to the Targets and it should work without doing anything else. You might get some "backwash" to the main warehouse if it gets somewhat empty but this is the functionality that I want. If you don't want "backwash" then I guess you'd just add the Main Warehouse to "source" and the 2nd Warehouse to Target. Good luck.
Galactus 25 Apr @ 8:35pm 
@fatbasementdweller So do both stations already need to be a warehouse for the Dist mule to work? I am not wanting my second station to be supplied by any factory, only my first warehouse
fatbasementdweller 25 Apr @ 3:52pm 
Also, wanted to say thanks for the update of the mod. Can't play X4 without this mod and sometimes it acts wonky lately. Glad it's still being cared for.
fatbasementdweller 25 Apr @ 3:50pm 
@Galactus Dist mules are for ferrying stuff between warehouses so no warehouse is ever empty. If you want to fill a warehouse from other sources like factories, use supply or station mules.