Renai Transportation and LTN interaction
Moderator: Optera
-
- Manual Inserter
- Posts: 2
- Joined: Thu Nov 05, 2020 8:53 am
- Contact:
Renai Transportation and LTN interaction
I've been playing around with Renai Transportation train jumps. A train jumping invalidates its schedule and another train is dispatched, causing a death spiral of duplicate schedules. Is it possible to fix this behavior with a simple tweak, or would it require some extensive coding?
Re: Renai Transportation and LTN interaction
Seems like Renai Transportatio rebuilds trains without raising proper events.
I'm already supporting train id migration if on_train_created is used properly.
I'm already supporting train id migration if on_train_created is used properly.
My Mods: mods.factorio.com
-
- Manual Inserter
- Posts: 2
- Joined: Thu Nov 05, 2020 8:53 am
- Contact:
Re: Renai Transportation and LTN interaction
Looking at the id migration, it only works if the two trains are related correct? In Renai Transportation the train is actually being destroyed then a new train created after the jumping animation finishes, which can take a few seconds. Is seems like the train scheduler would have to know to wait before it reassigns the schedule. Also, the updated delivery would have to relate the destroyed train to its replacement train. Seems difficult to implement.
Re: Renai Transportation and LTN interaction
Adding support for mods doing anything beyond decoupling, rotating/replacing and recoupling won't happen.
My Mods: mods.factorio.com