diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:42 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:42 +0200 |
commit | 37204846dc93cc059bbea8cbfc88832a9c72e91c (patch) | |
tree | 157ab8f7bd34e23bec5adc670746b2b2da07d925 /durt/nodes/(-1267,10,-2395).lua | |
parent | d4d35c0304fae463e87508662e7f88323b78be52 (diff) | |
download | luaatc_envs-37204846dc93cc059bbea8cbfc88832a9c72e91c.tar.gz luaatc_envs-37204846dc93cc059bbea8cbfc88832a9c72e91c.tar.bz2 luaatc_envs-37204846dc93cc059bbea8cbfc88832a9c72e91c.zip |
State at 2021-04-11
Diffstat (limited to 'durt/nodes/(-1267,10,-2395).lua')
-rw-r--r-- | durt/nodes/(-1267,10,-2395).lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/durt/nodes/(-1267,10,-2395).lua b/durt/nodes/(-1267,10,-2395).lua new file mode 100644 index 0000000..d6992ab --- /dev/null +++ b/durt/nodes/(-1267,10,-2395).lua @@ -0,0 +1 @@ +if get_line() ~= "MGGR" then return end
local stop_delay = "01;00" --1 minute
__approach_callback_mode = 1
if event.approach and not event.has_entered then
atc_set_ars_disable(true)
atc_set_lzb_tsr(2)
atc_set_text_inside("Arriving at: Shroomsbury")
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
\ No newline at end of file |