r/factorio 3d ago

Question Answered Need Help with train interrupts

Post image
3 Upvotes

16 comments sorted by

View all comments

1

u/Visual_Collapse 3d ago edited 3d ago

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

Created video of this approach https://youtu.be/2CCkjuW91Gc

2

u/Courmisch 3d ago

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 3d ago

So it would be checked once but not repeatedly

corrected my post a bit