Circuit wait condition on an interrupt does not cause the train to leave, the condition flickers constantly
Posted: Sun Oct 26, 2025 11:19 am
What did you do?
I am setting up a generic train pickup / drop off system using train interrupts. The train is sent to the drop off station by a generic item interrupt. At the drop off station, I want the train to leave when a circuit condition is set. (This condition is set when the drop off station has received enough of the resource by measuring a chest.)
I have reduced this down to a minimal example and have provided the same setup with a regular schedule to compare the two behaviours.
What happened?
The train with interrupt does not leave the drop off station in response to the circuit condition being set. If I open the train UI while it is waiting, the circuit condition I set toggles constantly between on (green) and off (gray), indicating that the train receives the circuit condition but then immediately loses it, then regains it, and so on. This appears to be happening every alternate frame.
Additionally, on the same UI, the train status in the upper left window toggles constantly between 'working' and 'waiting at station'.
What did you expect to happen instead?
The train should leave the station when the circuit condition is set, and the temporary stop created as a result of the interrupt condition should be removed.
In the save file provided, the left train loop shows the problem with the interrupt, while the right train loop shows the same setup using a regular schedule. The right loop shows the expected behaviour of the train leaving the station when the circuit condition is set.
To start each train moving and show the behaviour, please place 50 iron ore in the cargo wagon.
Does it happen always, once, or sometimes?
Always - when using interrupts that complete on the basis of circuit conditions. The train will never leave on the basis of the circuit condition.
Note: Potentially related to viewtopic.php?t=119399, but that described an issue with initiating an interrupt using a circuit condition. This issue relates to completing an already active interrupt using a circuit condition.
Thank you.
I am setting up a generic train pickup / drop off system using train interrupts. The train is sent to the drop off station by a generic item interrupt. At the drop off station, I want the train to leave when a circuit condition is set. (This condition is set when the drop off station has received enough of the resource by measuring a chest.)
I have reduced this down to a minimal example and have provided the same setup with a regular schedule to compare the two behaviours.
What happened?
The train with interrupt does not leave the drop off station in response to the circuit condition being set. If I open the train UI while it is waiting, the circuit condition I set toggles constantly between on (green) and off (gray), indicating that the train receives the circuit condition but then immediately loses it, then regains it, and so on. This appears to be happening every alternate frame.
Additionally, on the same UI, the train status in the upper left window toggles constantly between 'working' and 'waiting at station'.
What did you expect to happen instead?
The train should leave the station when the circuit condition is set, and the temporary stop created as a result of the interrupt condition should be removed.
In the save file provided, the left train loop shows the problem with the interrupt, while the right train loop shows the same setup using a regular schedule. The right loop shows the expected behaviour of the train leaving the station when the circuit condition is set.
To start each train moving and show the behaviour, please place 50 iron ore in the cargo wagon.
Does it happen always, once, or sometimes?
Always - when using interrupts that complete on the basis of circuit conditions. The train will never leave on the basis of the circuit condition.
Note: Potentially related to viewtopic.php?t=119399, but that described an issue with initiating an interrupt using a circuit condition. This issue relates to completing an already active interrupt using a circuit condition.
Thank you.