New interrupt condition: Station Exist
Posted: Thu Aug 13, 2026 11:47 am
When a train want to leave a station it checks its interupts.
If one of the interrupts is for example "Go to [cargo-wildcard] Station" it triggers and tries to go there, but if that station doesn't exist, it will say no path.
The problem is that this train is now considered as it has already left the station it was parked in, and if that station had a "send signal to train", the train will not recive the signals and other interrupt cannot work.
I cannot trigger the "Go to [cargo-wildcard] Station" only when the "destination is not full" becouse the train has to be in "waiting for space in destination station" to take advantage of the station priority and dispatch the train from the station with highest priority.
It may be usefull to have a "Station X exist" to check if a specific station with that name actualy exists somewhere on the map, so that it will not try to leave the station it is in, and can still recive signals from the "send to train" setting
If one of the interrupts is for example "Go to [cargo-wildcard] Station" it triggers and tries to go there, but if that station doesn't exist, it will say no path.
The problem is that this train is now considered as it has already left the station it was parked in, and if that station had a "send signal to train", the train will not recive the signals and other interrupt cannot work.
I cannot trigger the "Go to [cargo-wildcard] Station" only when the "destination is not full" becouse the train has to be in "waiting for space in destination station" to take advantage of the station priority and dispatch the train from the station with highest priority.
It may be usefull to have a "Station X exist" to check if a specific station with that name actualy exists somewhere on the map, so that it will not try to leave the station it is in, and can still recive signals from the "send to train" setting