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
on_area_cloned an automatic locomotive changes to manual
-
- Filter Inserter
- Posts: 464
- Joined: Tue Jun 28, 2016 2:07 pm
- Contact:
Re: on_area_cloned an automatic locomotive changes to manual
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
Re: on_area_cloned an automatic locomotive changes to manual
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.
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.