1-2) Run this console script, which sets the left locomotive to manual mode every tick:
Code: Select all
/c
local surface = game.surfaces.nauvis
local train = surface.find_entity("locomotive", {-5, -4.43}).train
script.on_nth_tick(1, function()
train.manual_mode = true
end)
1-4) Clicking the name of a station does nothing and the list of names does not close
2) Reload the provided save file, modify the script to run every 4 ticks. Same result.
3) Reload the provided save file, modify the script to run every 8 ticks. This time, it is successful about half of the time. The other half of the time does nothing just like in the previous cases.