[0.17.66] Train leaves station despite conditions not met
Posted: Sun Sep 01, 2019 5:28 pm
I have a modded game which has a science train - it collects 800 of each of the science packs in one wagon, and delivers them to the science labs, where they get unloaded by filter inserters.
The train has a wait condition of: if (Cargo Automation Science = 0) OR (Cargo Logistics Science = 0) OR .... etc.
The train station 'Science <' is connected to a medium power pole, which has no other connections. There are no inputs to the station.
When all 'Mode of operations' of the train station are disabled, then the train acts as expected - it will unload science packs until one of them is depleted, then goes to refill.
If the mode of operation is set to 'Send to train', the train will immediately leave the station, even if none of the packs are 0. This occurs if the train arrives at the station when this mode is set, or if the mode is changed while the train is present.
Only the 'Send to train' has this effect - all other modes of operation do not affect the train.
I have removed all of the mods from the save, and still get this strange behaviour, although I have not been able to reproduce it in a clean vanilla game.
I've attached the save with no mods, so the factory will not run properly, but you should be able to see the train action if you keep sending it to 'Science <' and change the station mode of operation.
The train has a wait condition of: if (Cargo Automation Science = 0) OR (Cargo Logistics Science = 0) OR .... etc.
The train station 'Science <' is connected to a medium power pole, which has no other connections. There are no inputs to the station.
When all 'Mode of operations' of the train station are disabled, then the train acts as expected - it will unload science packs until one of them is depleted, then goes to refill.
If the mode of operation is set to 'Send to train', the train will immediately leave the station, even if none of the packs are 0. This occurs if the train arrives at the station when this mode is set, or if the mode is changed while the train is present.
Only the 'Send to train' has this effect - all other modes of operation do not affect the train.
I have removed all of the mods from the save, and still get this strange behaviour, although I have not been able to reproduce it in a clean vanilla game.
I've attached the save with no mods, so the factory will not run properly, but you should be able to see the train action if you keep sending it to 'Science <' and change the station mode of operation.