Interrupts and No Path to Destination
Posted: Mon Dec 01, 2025 8:15 pm
I'm a bit stuck on how to configure my trains. My goal is basically: if a train is at a pickup station and a drop-off station needs its freight, it should go there to deliver it. Else it should just stay there. If it gets stuck somewhere else and has no valid goal to go to, it should drive to a depot.
The interrupts that should achieve that are attached. It works if no drop-off station is active. For example, if all coal stations currently have train limit 0, the coal train will stay at its pickup station.
However, if there is a coal station with train limit > 0, but no path to it, the train will leave the station and then go to the depot. I don't want that! It leads to my depot being clogged up with trains full of resources I currently don't need while the trains could have better stuff to do.
What can I change so that no train leaves a station to go somewhere where no path exists?
The interrupts that should achieve that are attached. It works if no drop-off station is active. For example, if all coal stations currently have train limit 0, the coal train will stay at its pickup station.
However, if there is a coal station with train limit > 0, but no path to it, the train will leave the station and then go to the depot. I don't want that! It leads to my depot being clogged up with trains full of resources I currently don't need while the trains could have better stuff to do.
What can I change so that no train leaves a station to go somewhere where no path exists?