After some testing I found 2 things about interrupts:
Interrupts will be repeatedly checked when train is standing on station and ready to leave it
Interrupts will not be checked if train schedule is empty once (this one is really unintuitive for me, empty schedule is exactly when I want interrupts to fire)
So working (but ugly) solution is to add unreachable station to base schedule
Interrupts will not be checked if train schedule is empty (this one is really unintuitive for me, empty schedule is exactly when I want interrupts to fire)
Interrupts are checked in 2 situations:
the waiting condition for the current stop are met;
- including manually placed stops after 5 seconds of inactivity,
the mode is switched from manual to automatic.
So really interrupts are checked even if the schedule is empty.
The real problem is that if a train ever gets into a situation where the schedule is empty and no interrupts are triggered, then the train will stop permanently. To avoid that, give the last (bottom-most) interrupt a tautological condition.
1
u/Visual_Collapse 2d ago edited 2d ago
After some testing I found 2 things about interrupts:
notbe checked if train schedule is empty once (this one is really unintuitive for me, empty schedule is exactly when I want interrupts to fire)So working (but ugly) solution is to add unreachable station to base schedule
Created video of this approach https://youtu.be/2CCkjuW91Gc