I have build a mod (https://mods.factorio.com/mod/TrainScheduleSignals) to build train schedule with the name of selected station.
My mod write LuaTrain.schedule, that reset the interrupt settings and we don't see interrupt in the API.
If when we write LuaTrain.schedule that don't reset interrupt would be appreciated
[2.0.11] Interrupt reseted when train schedule change by API
Re: [2.0.11] Interrupt reseted when train schedule change by API
Hello,
With the new schedule API it will be possible to work with interrupts without overwriting anything:
https://lua-api.factorio.com/latest/cla ... edule.html
The old API (Basic read + write) will be deprecated, as it lacks support for the schedule functions in 2.0
With the new schedule API it will be possible to work with interrupts without overwriting anything:
https://lua-api.factorio.com/latest/cla ... edule.html
The old API (Basic read + write) will be deprecated, as it lacks support for the schedule functions in 2.0