[2.0.28] interrupt "station is not full" with generic item does not trigger (unless a later interrupt triggers)
Posted: Wed Jan 15, 2025 11:01 pm
The setup is as follows:
- I have a station "<iron ore> Pickup" at my mine, and "<iron ore> Dropoff" at my main base. I also have "Depot".
- My train schedule just says "go to Depot, wait 10s", the rest is meant to be handled via interrupts.
- The main interrupt is: "station is not full" with station name set to "<generic item> Pickup", that then adds both "<generic item> Pickup" and "<generic item> Dropoff" to the schedule.
This does nothing: even when "<iron ore> Pickup" is indeed not full, the interrupt does not trigger. Changing the interrupt to check "<iron ore> Pickup" works, so it seems like "<generic item>" somehow does not work properly when used with "station is not full". This sounds a bit like this problem. However, things are more weird than that.
- I added another interrupt after the first one, "item count" with "<generic item> greater than 0", adding "<generic item> Dropoff" to the schedule.
When I do that and put some iron ore into the train, the first interrupt triggers: both "<iron ore> Pickup" and "<iron ore> Dropoff" are added to the schedule! That makes no sense at all to me. If the second interrupt was triggered, it would only have added the Dropoff?
It seems a bit as if the fact that one interrupt triggered made Factorio evaluate all interrupts in a different mode, and now it realizes that actually the first interrupt (which on its own is inert) should have triggered, and it uses that one! However, that can't quite be what happens; I tried adding other interrupts that trigger and couldn't get it to trigger my "Pickup then Dropoff" interrupt.
Surely this is a bug? It would be great if "station is not full" with station name set to "<generic item> Pickup" worked properly. (I know there are other ways I can set up my train schedule, but that's besides the point.)
This is with Factorio 2.0.28 on Linux.
First interrupt, the one that is inert on its own: Second interrupt, if I add this one then the first one suddenly triggers:
- I have a station "<iron ore> Pickup" at my mine, and "<iron ore> Dropoff" at my main base. I also have "Depot".
- My train schedule just says "go to Depot, wait 10s", the rest is meant to be handled via interrupts.
- The main interrupt is: "station is not full" with station name set to "<generic item> Pickup", that then adds both "<generic item> Pickup" and "<generic item> Dropoff" to the schedule.
This does nothing: even when "<iron ore> Pickup" is indeed not full, the interrupt does not trigger. Changing the interrupt to check "<iron ore> Pickup" works, so it seems like "<generic item>" somehow does not work properly when used with "station is not full". This sounds a bit like this problem. However, things are more weird than that.
- I added another interrupt after the first one, "item count" with "<generic item> greater than 0", adding "<generic item> Dropoff" to the schedule.
When I do that and put some iron ore into the train, the first interrupt triggers: both "<iron ore> Pickup" and "<iron ore> Dropoff" are added to the schedule! That makes no sense at all to me. If the second interrupt was triggered, it would only have added the Dropoff?
It seems a bit as if the fact that one interrupt triggered made Factorio evaluate all interrupts in a different mode, and now it realizes that actually the first interrupt (which on its own is inert) should have triggered, and it uses that one! However, that can't quite be what happens; I tried adding other interrupts that trigger and couldn't get it to trigger my "Pickup then Dropoff" interrupt.
Surely this is a bug? It would be great if "station is not full" with station name set to "<generic item> Pickup" worked properly. (I know there are other ways I can set up my train schedule, but that's besides the point.)
This is with Factorio 2.0.28 on Linux.
First interrupt, the one that is inert on its own: Second interrupt, if I add this one then the first one suddenly triggers: