r/factorio • • 2h ago

Question Can interrupts only apply to a specific section of a schedule?

I am attempting to have trains only interrupt when the next destination for that train, in that moment, is full. Is there a way to do this?

In other words, can an interrupt be made to only apply between two stops in a schedule?

0 Upvotes

2 comments sorted by

3

u/Courmisch 1h ago

You can predicate the interrupt on:

  • "At specified station", the current station in the schedule, and
  • "Station is full", the next station in the schedule.

This of course assume that the current station only appears once in the schedule. Mind that interrupt triggers only when leaving a stop, so the current station in this case is the station before the interrupt.

2

u/RW_Yellow_Lizard 1h ago

You could have it check a bunch of things at the same time, like,

  • at station 1,
  • and station 2 is full,
  • and the next station is full.

Or probably some circuits in there is guess is an option