on_area_cloned an automatic locomotive changes to manual

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Extrien
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Jun 06, 2015 3:07 pm
Contact:

on_area_cloned an automatic locomotive changes to manual

Post by Extrien »

Space Exploration spaceships area clone to change surfaces

having a locomotive in automatic on the ship while it does the cloning does not preserve the automatic state or where it is in the schedule

area cloning code should maintain train state for surface hopping automatic trains
IronCartographer
Filter Inserter
Filter Inserter
Posts: 464
Joined: Tue Jun 28, 2016 2:07 pm
Contact:

Re: on_area_cloned an automatic locomotive changes to manual

Post by IronCartographer »

Relatedly: After a train is cloned, it continues to show notifications at its previous location, if you manually set it back to automatic so it tries repathing.
pic
Rseding91
Factorio Staff
Factorio Staff
Posts: 14265
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: on_area_cloned an automatic locomotive changes to manual

Post by Rseding91 »

This is related to trains being multiple entities and the fact you can't "clone" the whole thing in one go: building each cloned piece 1 at a time causes it to re-create the master "train" instance and that logic is hard set at "when the train changes; go back to manual mode".

Just listen to the event and set it back to automatic if you want it in automatic.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Minor issues”