[0.13][Twinsen] Train ignores circuit cond. until connected.
Posted: Sun Jul 03, 2016 2:48 pm
If you create a "circuit condition" on a train schedule for a station, then the station ignores the condition completely until red or green wire is attached to the station (i.e. until it becomes part of any circuit network). The wire can be "empty", for example simply connected to an electric pole on the other end.
Until that has happened, any trains will immediately leave the station, and never stop there (unless you also set additional conditions).
If you remove the wire, and the station becomes disconnected again, the circuit condition remains active, and a train will then wait indefinitely at the station.
So it appears as if the circuit condition only becomes "active" when the train station enters a circuit network.
In my opinion it should be active right away, even before the station is connected to any wire (since this is also the state it's in when you connect and disconnect a wire).
The underlying problem seems to be that the option "send circuit signals to train" is not active until you connect a wire to the station. When you connect a wire, it becomes active, and remains active even when the train station leaves the wire network. So a fix for this problem would be to let the "send circuit signals to train" option be active by default, after a train station is placed, and even before a wire gets connected (the option is not accessible in the UI before you connect a wire).
Edit: actually, after thinking about it, even if the "Mode of operation" is not "Send to train", the train should not simply ignore the condition and leave. If "Send to train" is disabled, and the only condition on the train station is a circuit condition, then the train should simply wait forever. The condition can never be true, after all. The train leaving is wrong behaviour in my opinion.
Until that has happened, any trains will immediately leave the station, and never stop there (unless you also set additional conditions).
If you remove the wire, and the station becomes disconnected again, the circuit condition remains active, and a train will then wait indefinitely at the station.
So it appears as if the circuit condition only becomes "active" when the train station enters a circuit network.
In my opinion it should be active right away, even before the station is connected to any wire (since this is also the state it's in when you connect and disconnect a wire).
The underlying problem seems to be that the option "send circuit signals to train" is not active until you connect a wire to the station. When you connect a wire, it becomes active, and remains active even when the train station leaves the wire network. So a fix for this problem would be to let the "send circuit signals to train" option be active by default, after a train station is placed, and even before a wire gets connected (the option is not accessible in the UI before you connect a wire).
Edit: actually, after thinking about it, even if the "Mode of operation" is not "Send to train", the train should not simply ignore the condition and leave. If "Send to train" is disabled, and the only condition on the train station is a circuit condition, then the train should simply wait forever. The condition can never be true, after all. The train leaving is wrong behaviour in my opinion.