[2.0.47] Train schedule is overriden when using blueprint

Bugs that are actually features.
shnaps
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 07, 2022 10:26 pm
Contact:

[2.0.47] Train schedule is overriden when using blueprint

Post by shnaps »

Noticed that when I'm using blueprints for trains, the second pasted train schedule would be overridden by the first pasted existing train. Blueprint used is attached. Gif with flow attached as well. https://imgur.com/a/HoZDzch

robot256
Smart Inserter
Smart Inserter
Posts: 1205
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by robot256 »

When the blueprint contains the name of a train group, the new train is assigned to that group. If the group already exists, the train is given the schedule from the group already in the save, and the schedule in the blueprint is discarded. This is intentional so you don't have to update all your blueprint whe you tweak the groups schedule in game. If you don't want this behavior, remove the group before creating the blueprint.
shnaps
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 07, 2022 10:26 pm
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by shnaps »

robot256 wrote: Sun Jun 01, 2025 12:26 am When the blueprint contains the name of a train group, the new train is assigned to that group. If the group already exists, the train is given the schedule from the group already in the save, and the schedule in the blueprint is discarded. This is intentional so you don't have to update all your blueprint whe you tweak the groups schedule in game. If you don't want this behavior, remove the group before creating the blueprint.
I get the same behavior when there are no train groups assigned to trains in bp as well. "No groups assigned" on first train, paste another train from a bp - schedule will be overridden.
I also tested new bp creation from scratch. Still the same behavior. What exactly do I need to do to avoid it?
robot256
Smart Inserter
Smart Inserter
Posts: 1205
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by robot256 »

Hmm, that might be a bug. It'll be easier to replicate if you can upload a save file with the affected blueprint in your inventory.
shnaps
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 07, 2022 10:26 pm
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by shnaps »

Absolutely, I've attached my sandbox where I found the issue.
Sandbox.zip
(2.94 MiB) Downloaded 10 times
Blueprint is inside game blueprints and below
shnaps
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 07, 2022 10:26 pm
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by shnaps »

robot256 wrote: Sun Jun 01, 2025 4:48 am Hmm, that might be a bug. It'll be easier to replicate if you can upload a save file with the affected blueprint in your inventory.
I'm not sure about it, but should this ticket be moved out from the "Not a bug" subforum for now, if it is a bug potentially?
robot256
Smart Inserter
Smart Inserter
Posts: 1205
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by robot256 »

I'll check your save file tonight, but I'm not a mod so they will do what they think is right.
shnaps
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Dec 07, 2022 10:26 pm
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by shnaps »

Nevermind, I think this is not a bug. After some testing I figured that interrupts with the same name override each other as well. I changed name from "Dispatch" to "Dispatch - *W" in my case where * is number of wagons and started to work.
robot256
Smart Inserter
Smart Inserter
Posts: 1205
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: [2.0.47] Train schedule is overriden when using blueprint

Post by robot256 »

shnaps wrote: Sun Jun 01, 2025 9:18 pm Nevermind, I think this is not a bug. After some testing I figured that interrupts with the same name override each other as well. I changed name from "Dispatch" to "Dispatch - *W" in my case where * is number of wagons and started to work.
Oh right. Interrupt names are also overridden by what's in the save already. And since they can't be unnamed there are limited ways to share them via blueprints.
Post Reply

Return to “Not a bug”