blob: 230fdd45fbc92705ce53f5604d749bd969503612 (
plain)
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
|