Train schedule evaluates all circuit conditions as false if train stop is not connected to circuit network

Things that has been reported already before.
Xoriun
Long Handed Inserter
Long Handed Inserter
Posts: 78
Joined: Wed Apr 01, 2020 11:31 am
Contact:

Train schedule evaluates all circuit conditions as false if train stop is not connected to circuit network

Post by Xoriun »

When a train is at a station that is not connected to a circuit network, all wait or interrupt conditions evaluate to false, even something like 'wood == 0'.
However, I would expect that - just like with combinators - there is no difference between an all empty network (e.g. only the station and a power pole) and no network at all, hence 'wood == 0' would be evaluated as True for a not-connected station.

The way I stumbled upon this is when I wanted to add a new condition to my generic train schedule to be able to locally disable a certain interrupt from the current train stop via circuit network.
Since currently, some of my train stops are not connected to the circuit network, the observed behavior lead to my whole train system breaking.

Yes, I could connect each and every train stop to a lonely powerpole, but that would go directly against the idea of only add stuff once it's needed, like outlaid in FFF 402.

Maybe related: 28067

Blueprint for MWE:
Post Reply

Return to “Duplicates”