diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:47 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:47 +0200 |
commit | ecb5a228217bad096118f022a8704f694953e17a (patch) | |
tree | 216b10ded6a87a2eb5791733e12b1ef86a850d33 | |
parent | 9429db6b84e72de9460774a9d5ddaac68ac3d130 (diff) | |
download | luaatc_envs-ecb5a228217bad096118f022a8704f694953e17a.tar.gz luaatc_envs-ecb5a228217bad096118f022a8704f694953e17a.tar.bz2 luaatc_envs-ecb5a228217bad096118f022a8704f694953e17a.zip |
State at 2021-04-21
-rw-r--r-- | durt/nodes/(-1549,11,-2597).lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/durt/nodes/(-1549,11,-2597).lua b/durt/nodes/(-1549,11,-2597).lua index 2de1cca..8ef488a 100644 --- a/durt/nodes/(-1549,11,-2597).lua +++ b/durt/nodes/(-1549,11,-2597).lua @@ -1 +1 @@ -if event.train then
if get_line() ~= "MGGR" then return end
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 Mom Junction")
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
\ No newline at end of file +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 Mom Junction")
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
\ No newline at end of file |