From 70ea83f5682355ee68115a92cb0b45d6d17a097e Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:57:54 +0200 Subject: State at 2022-07-05 --- durt/nodes/(-1512,8,-2613).lua | 1 + durt/nodes/(1904,7,9133).lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'durt/nodes') 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 -- cgit v1.2.3