blob: 5d0c843c7ed8ed8cf2f6e53f0d3d51bde6b04e49 (
plain)
1
|
if get_line() ~= "MGGR" then return end
local stop_delay = "01;00" --1 minutes
__approach_callback_mode = 1
if event.approach and not event.has_entered then
atc_set_ars_disable(true)
atc_set_lzb_tsr(1)
atc_set_text_inside("Arriving at: East Bend")
end
if event.train then
atc_send("B0 W OR")
atc_set_text_outside("MGGR to Hawking Memorial")
schedule_in(stop_delay,"depart")
end
if event.schedule then
if event.msg == "depart" then
atc_send("OC SM")
atc_set_text_inside(""..
"~~~~---~~~========~~~---~~~~\n"..
"Manaugh Great Griefing Railway\n"..
"~~~~---~~~========~~~---~~~~")
atc_set_ars_disable(false)
return
end
end
|