Better Train Behavior

by Raidwas

Changes trains behavior so they will skip a station if the "wait until" condition is already met

Content
1 year, 2 months ago
1.1
1.24K
Trains

b When deciding to skip a station, the train will only check circuit conditions on the first station

5 months ago

If multiple stops have a circuit condition, it will only check if it should skip the first one, resulting in the train going to every second station in the list, or the first station with only a circuit condition active.

4 months ago

Hi Chakat, could you provide a blueprint string that shows this behavior?

a month ago
(updated a month ago)

in the constant combinator, set T to a number 1-10
with "check circuit conditions" checked, the train should skip every stop except that one
what happens instead is it will go to every second stop, until it reaches the correct one.
https://pastebin.com/ZDC2XZGX

You can also change the "wait until" on any station to something like "empty cargo" and you'll see that it will reliably skip those stations, but not the others.
(also, sorry I didn't see your reply for over 2 months, I stopped playing factorio for a while.)

New response