summaryrefslogtreecommitdiff
path: root/durt
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:54 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:57:54 +0200
commit70ea83f5682355ee68115a92cb0b45d6d17a097e (patch)
tree30b56e0422a108f0fcf4a72f264fee6c5ecddba3 /durt
parent1443c3b5a1e0de1fc501e94a453554ab28e2fc8c (diff)
downloadluaatc_envs-70ea83f5682355ee68115a92cb0b45d6d17a097e.tar.gz
luaatc_envs-70ea83f5682355ee68115a92cb0b45d6d17a097e.tar.bz2
luaatc_envs-70ea83f5682355ee68115a92cb0b45d6d17a097e.zip
State at 2022-07-05
Diffstat (limited to 'durt')
-rw-r--r--durt/nodes/(-1512,8,-2613).lua1
-rw-r--r--durt/nodes/(1904,7,9133).lua2
2 files changed, 2 insertions, 1 deletions
diff --git a/durt/nodes/(-1512,8,-2613).lua b/durt/nodes/(-1512,8,-2613).lua
index 6732baf..22698fb 100644
--- a/durt/nodes/(-1512,8,-2613).lua
+++ b/durt/nodes/(-1512,8,-2613).lua
@@ -3,6 +3,7 @@ local loco_track = POS(-1515,7,-2625)
if event.ext_int then
if event.message == "notify" then
+ print("S27 RX Notification")
if F.indicator(ind) then return end
F.indicator(ind,true)
interrupt_pos(loco_track,"SEND")
diff --git a/durt/nodes/(1904,7,9133).lua b/durt/nodes/(1904,7,9133).lua
index 22bd87c..64329a2 100644
--- a/durt/nodes/(1904,7,9133).lua
+++ b/durt/nodes/(1904,7,9133).lua
@@ -1 +1 @@
-local yard_id = "WOA" __approach_callback_mode = 1 if event.approach and not event.has_entered then atc_set_ars_disable(true) atc_set_lzb_tsr(1) end if event.train and atc_arrow then atc_send("S1") S.yards[yard_id].last_pass2 = S.yards[yard_id].last_pass1 or rwt.now() S.yards[yard_id].last_pass1 = rwt.now() S.yards[yard_id].last_id = atc_id end if event.train then local init = false if not S.WOA_stats then S.WOA_stats = true init = true end F.stat("WOA_mine",init) end \ No newline at end of file
+local yard_id = "WOA" __approach_callback_mode = 1 if event.approach and not event.has_entered then atc_set_ars_disable(true) atc_set_lzb_tsr(1) end if event.train then local init = false if not S.WOA_stats then S.WOA_stats = true init = true end F.stat("WOA_mine",init) end \ No newline at end of file