Allow for train interrupts added before current stop

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

lego_zane
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Oct 22, 2024 10:07 pm
Contact:

Allow for train interrupts added before current stop

Post by lego_zane »

I've been trying to create a waiting area for my trains using the new interrupts system (which I love by the way), and I've been having trouble with it. I have an interrupt set to when the destination is full it goes to the waiting area (for example, my smelter station is full as it's leaving the mining station, so it goes to wait until the smelter is available). However, because the interrupt gets added after the target station, this means that the interrupt gets added after my smelter station. Once the train arrives at the waiting area, it paths to the next station (the mining station). This creates a loop of the trains just constantly going back to my mining stations and never waiting at the waiting area. There should be the option for various interrupts to add the interrupt to the schedule before the stop it's currently pathing to, rather than after.
Broadbent
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Oct 24, 2024 5:31 am
Contact:

Re: Allow for train interrupts added before current stop

Post by Broadbent »

Agree 100%. Just spent 7 hours trying to solve this and got nowhere.

Devs need to look into this.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Allow for train interrupts added before current stop

Post by mrvn »

When an interrupt is allowed tointerrupt another isn't it selected as the next target in the schedule regardless where it is added?
lego_zane
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Oct 22, 2024 10:07 pm
Contact:

Re: Allow for train interrupts added before current stop

Post by lego_zane »

mrvn wrote: Thu Oct 24, 2024 6:55 am When an interrupt is allowed tointerrupt another isn't it selected as the next target in the schedule regardless where it is added?
An interrupt is selected as the target, however it’s added *after* the current target. This means that once the interrupt is completed, instead of resuming its original path, the train skips over the station it was going to before the interrupt and moves on to the next one
Azgard
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jul 25, 2017 2:28 am
Contact:

Re: Allow for train interrupts added before current stop

Post by Azgard »

I think this is actually a bug. Developers please fix. It should always handle interrupt and return back to the previous task when interrupt was triggered, not the next task in the schedule. The same as it is done in hardware interrupts.
Post Reply

Return to “Ideas and Suggestions”