Interrupt Temporary Station inserted AFTER the problematic station
Posted: Tue Oct 22, 2024 1:40 am
I have 2 stops ("Pickup" and "DropOff") hardcoded in my train's schedule as we have in the past.
I add a "Refuel" interrupt, and it works great. Exist the pickup station, needs gas, gets gas, heads to Dropoff station.
I then add a "WAIT" interrupt for that's triggered when pickup or dropoff is full, disabled, train limit = 0, etc.
Train picks up, sees dropoff is full, interrupt fires and adds a temp trainstop AFTER dropoff. It then waits for whatever condition was set (I'm not sure what it should be since there is no "The station next in line is now available" because it's already Past where it should be)...I just added an Idle 5 seconds.
The train exists the temp wait station, and heads to Pickup...with all the cargo because it skipped dropping it off because the station was unavailable.
I think this is a bug, because one of the points of the changes to "no path" and stuff like that was so we didn't skip stations...which this bug causes.
Ideally, and logically, If my the next station in my schedule is busy, I head to the waiting station, wait until condition "The next station that was unavailable and caused you to wait now has space for you" is met, and the train moves to that station.
If it's not a bug, please explain how I'm supposed to implement this kind of thing with interrupts and not use All interrupts with the wildcards (I can make that method work, but it's really not intuitive)
I add a "Refuel" interrupt, and it works great. Exist the pickup station, needs gas, gets gas, heads to Dropoff station.
I then add a "WAIT" interrupt for that's triggered when pickup or dropoff is full, disabled, train limit = 0, etc.
Train picks up, sees dropoff is full, interrupt fires and adds a temp trainstop AFTER dropoff. It then waits for whatever condition was set (I'm not sure what it should be since there is no "The station next in line is now available" because it's already Past where it should be)...I just added an Idle 5 seconds.
The train exists the temp wait station, and heads to Pickup...with all the cargo because it skipped dropping it off because the station was unavailable.
I think this is a bug, because one of the points of the changes to "no path" and stuff like that was so we didn't skip stations...which this bug causes.
Ideally, and logically, If my the next station in my schedule is busy, I head to the waiting station, wait until condition "The next station that was unavailable and caused you to wait now has space for you" is met, and the train moves to that station.
If it's not a bug, please explain how I'm supposed to implement this kind of thing with interrupts and not use All interrupts with the wildcards (I can make that method work, but it's really not intuitive)