diff options
Diffstat (limited to 'durt/nodes/(-3596,8,-2281).lua')
-rw-r--r-- | durt/nodes/(-3596,8,-2281).lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/durt/nodes/(-3596,8,-2281).lua b/durt/nodes/(-3596,8,-2281).lua new file mode 100644 index 0000000..230fdd4 --- /dev/null +++ b/durt/nodes/(-3596,8,-2281).lua @@ -0,0 +1 @@ +control_interface = POS(-3530,8,-2267)
exit_road_signal = POS(-3538,9,-2282)
if event.train then
if not atc_arrow then return end
if atc_speed > 13 then
if can_set_route(exit_road_signal,"Exit to Mainline") then
set_route(exit_road_signal,"Exit to Mainline")
interrupt_pos(control_interface,"Train Merging to Mainline")
return
else
set_route(exit_road_signal,"Train Accelerator Loop")
interrupt_pos(control_interface,"Waiting for Mainline||Unable to set edxit route")
return
end
else
set_route(exit_road_signal,"Train Accelerator Loop")
interrupt_pos(control_interface,"Train too slow to merge||Looping back around")
return
end
end
\ No newline at end of file |