Page 1 of 1

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

Posted: Sat Dec 06, 2025 7:42 am
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.

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

Posted: Fri Dec 12, 2025 8:47 am
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.