[kovarex] [2.0.15] Train interrupts do not take into account blueprint parameterization

Bugs that are actually features.
h0stilax@gmail.com
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Nov 06, 2024 9:42 pm
Contact:

[kovarex] [2.0.15] Train interrupts do not take into account blueprint parameterization

Post by h0stilax@gmail.com »

What did you do?
I blueprinted a locomotive that had a preconfigured route. I've used blueprint parameterization to dynamically apply certain parameters to train station names. The blueprint is created successfully.

What happened?
When I place the blueprint and choose the parameters, not all of them are replaced. Actually, the only parameter that is not replaced dynamically is the name of a train station in an interrupt.

The first screenshot below shows the route of the train I want to blueprint, using the parameters:
"Default" route
"Default" route
01.jpg (164.85 KiB) Viewed 627 times
In this second screenshot, I'm using the blueprint parameterization so that two parameters can be selected (the number of locomotives and the number of cargo wagons - using the number symbols):
Setting the blueprint parameters
Setting the blueprint parameters
02.jpg (414.58 KiB) Viewed 627 times
In this third screenshot, we can see that almost all the parameters have been correctly replaced, except for one: the one in the interrupt train station name (I used "Signal-2" for the first parameter, and "Signal-4" for the second parameter while placing the blueprint):
A parameter has not been replaced
A parameter has not been replaced
03.jpg (206.02 KiB) Viewed 627 times
What did you expect to happen instead? It might be obvious to you, but do it anyway!
I expected all parameters to be correctly assigned thanks to the blueprint parameterization, with none left out.

Does it happen always, once, or sometimes?
Always.

---

Log file
factorio-current.log
Log file
(6.28 KiB) Downloaded 19 times
Blueprint


Save file
bug_report.zip
Save file
(1.8 MiB) Downloaded 15 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8252
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [2.0.15] Train interrupts do not take into account blueprint parameterization

Post by kovarex »

The problem with parametrising interrupts is, that interrupts are global, you can create one interrupt and use it in different trains, and edit it for all of them at the same time.
When you parametrise interrupt in a way, that the parametrisation makes completely new interrupt with a new name, it works, but when you try to modify existing interrupt it doesn't, as intended, as you don't want to change other trains interrupt by parametrising blueprint.
Post Reply

Return to “Not a bug”