Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I tried using a circuit network to bother my train to move when one set of chests was empty but it got wonky and gave me negative and 0 values where negative and 0 values shouldn't exist.
Let's say you transport iron ores, you can set the departure condition to "iron ore < 100".
Obviously, you will have to tweak the amount based on stack size and your own setup, but it's a fairly good way to do that if you didn't balance your unloading.
You could also try to do some logic with circuit network stuff, but I find it much easier to just set that condition and change it if it's either too high or too low.
EDIT:
Combine that with the inactivity for better results, so that it doesn't iddle for too long if nothing is unloaded for a while, but that runs the risk of having full trains constantly going back and forth if your unloading gets filled up.
If the two wagons have the same cargo, it's far better to use a belt balancer after unloading than to try to setup a condition like "inactivity".
If the cargo is different, set two leave conditions. Each cargo wagon can hold 40 stacks of an item, so it has 2000 ore, 4000 of an item that is 100 stacks (steel, plates), or 8000 of 200-stack circuits. Set it to leave when
CARGO A = 0
OR CARGO B = 0.
If both wagons are the same and for some reason you don't balance the output (I actually have a case where this happens), do this:
-
CARGO <= (whatever a single wagon can hold)
AND 1 SECONDS OF INACTIVITY
-
This will let the train leave if the inserters stop for any reason, and only if at least one wagon has been fully unloaded. I have a coal train taking from remote coal mines to a storage depot, which simply loads into chest after chest and then loads into a train bound for more local consumption. This way I don't have to schedule coal for plastics to come directly from a coal mine that might run out on me. I have no belts, so I can't balance for when I have a single wagon train pickup from the storage. So I just have the supply train go back to the mining base if it could only unload the front wagon.