[2.0] A way to add temporary stops without removing a train's group

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
User avatar
MrFastZombie
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sat Feb 22, 2014 6:42 pm
Contact:

[2.0] A way to add temporary stops without removing a train's group

Post by MrFastZombie »

With the new groups system players can add temporary stops to a train either through interrupts, or through ctrl clicking on the map in a train's remote view. Both will keep the train's group assigned.

Currently if a lua script tries to add a temporary stop through the method of copying a LuaTrain's schedule, modifying it, and then copying it back to the LuaTrain, it will remove the train's group even if the only real change is a new temporary stop.

What I am requesting is either having the game internally check if a new schedule can be applied without needing to remove the train from a group, or for there to be function to add a station or track as a temporary stop, with optional wait conditions.
Last edited by MrFastZombie on Thu Dec 26, 2024 6:37 am, edited 1 time in total.
SubHobo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Nov 12, 2024 9:44 pm
Contact:

Re: [2.0] A way to add temporary stops without removing a train's group

Post by SubHobo »

Seconded. I would love a way to add a temporary stop to a train without wiping the group. This is very useful for specialty trains. e.g. Player trains
protocol_1903
Fast Inserter
Fast Inserter
Posts: 182
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: [2.0] A way to add temporary stops without removing a train's group

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Post Reply

Return to “Modding interface requests”