summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1264,10,-2366).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:04 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:04 +0200
commitdcbf3e952c3028262a068a6112a1baeaabfd6469 (patch)
treeec138caead1fdc292bbc145013c79c005c392ec3 /durt/nodes/(-1264,10,-2366).lua
parentf13f160149988502ca3aa972f52adce8a075bdb8 (diff)
downloadluaatc_envs-dcbf3e952c3028262a068a6112a1baeaabfd6469.tar.gz
luaatc_envs-dcbf3e952c3028262a068a6112a1baeaabfd6469.tar.bz2
luaatc_envs-dcbf3e952c3028262a068a6112a1baeaabfd6469.zip
State at 2021-05-23
Diffstat (limited to 'durt/nodes/(-1264,10,-2366).lua')
-rw-r--r--durt/nodes/(-1264,10,-2366).lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/durt/nodes/(-1264,10,-2366).lua b/durt/nodes/(-1264,10,-2366).lua
index dfa8179..eda3335 100644
--- a/durt/nodes/(-1264,10,-2366).lua
+++ b/durt/nodes/(-1264,10,-2366).lua
@@ -1 +1,4 @@
-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(2) atc_set_text_inside("Arriving at: Shroomsbury") end if event.train then atc_send("B0 W OR") atc_set_text_outside("MGGR to Mom Junction West") 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 event.train then if get_line() ~= "MGGR" then
+ atc_set_ars_disable(false)
+ 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(2) atc_set_text_inside("Arriving at: Shroomsbury") end if event.train then atc_send("B0 W OR") atc_set_text_outside("MGGR to Mom Junction West") 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