Copy/Pasting train locomotive info to a locomotive ghost does not work properly

Post your bugs and problems so we can fix them.
Turnerdeedo
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Dec 06, 2025 7:35 am
Contact:

Copy/Pasting train locomotive info to a locomotive ghost does not work properly

Post by Turnerdeedo »

Situation: Copy existing locomotive that has an assigned schedule and group, attempt to paste info to a locomotive ghost that has not been constructed yet.

Expected result: Locomotive has correct schedule information when built and is ready to run.

Actual result: Locomotive inherits only the color of the copied locomotive, and no other quality. Group and schedule are not set properly.
Techjar
Inserter
Inserter
Posts: 35
Joined: Tue Jan 13, 2015 11:33 pm
Contact:

Re: Copy/Pasting train locomotive info to a locomotive ghost does not work properly

Post by Techjar »

I believe this is because locomotives and "trains" are separate things in the engine, since a whole train can have multiple locomotives and other wagons. When you copy the settings from a locomotive, you're also copying the settings of its associated train. But then when you try to paste the settings onto a locomotive ghost, it can only paste the settings of the locomotive itself (which is just the color), since it's only a ghost and doesn't technically have an associated train yet.

Obviously the ghost is still somehow holding the settings for the yet-to-be-instanced train though, so I imagine this is simply a case in the entity properties copy/paste code that is not handled. I have observed the same behavior trying to copy settings in the other direction, from a ghost to a real locomotive.
Post Reply

Return to “Bug Reports”