diff options
Diffstat (limited to 'durt/nodes/(-3553,18,-2261).lua')
-rw-r--r-- | durt/nodes/(-3553,18,-2261).lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/durt/nodes/(-3553,18,-2261).lua b/durt/nodes/(-3553,18,-2261).lua new file mode 100644 index 0000000..d0acbc0 --- /dev/null +++ b/durt/nodes/(-3553,18,-2261).lua @@ -0,0 +1 @@ +--control interface
loading_road_control_track = POS(-3544,8,-2277)
entry_exit_road_control = nil --still need to add a track for traffic balancing
if event.ext_int then
digiline_send("train_control_screen",tostring(event.message))
return
end
if event.digiline then
if event.channel ~= "train_control" then return end
if event.msg=="rehead" then
digiline_send("train_control_screen","Loco Change Ends")
interrupt_pos(loading_road_control_track,"split_around")
return
end
if event.msg=="depart" then
digiline_send("train_control_screen","Depart")
interrupt_pos(loading_road_control_track,"depart")
return
end
if event.msg=="shuffle_loading" then
digiline_send("train_control_screen","Loading Shuffle")
interrupt_pos(loading_road_control_track,"shuffle")
return
end
return
end
\ No newline at end of file |