From 572b186e28ddc2a630613765c0f0780b4664380f Mon Sep 17 00:00:00 2001 From: autocommitter Date: Tue, 15 Oct 2024 22:37:42 +0200 Subject: State at 2024-10-15 --- durt/nodes/(-1513,11,-2588).lua | 1 - 1 file changed, 1 deletion(-) delete mode 100644 durt/nodes/(-1513,11,-2588).lua (limited to 'durt/nodes/(-1513,11,-2588).lua') diff --git a/durt/nodes/(-1513,11,-2588).lua b/durt/nodes/(-1513,11,-2588).lua deleted file mode 100644 index c76d2ce..0000000 --- a/durt/nodes/(-1513,11,-2588).lua +++ /dev/null @@ -1 +0,0 @@ -__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 if S.yards.S27.shunt_type == false then --reverse around loop. player not present to supervise autocouple local rc = get_rc() or "" local action = 0 local rc_list = {} for token in rc:gmatch("[^%s]+") do if token=="S27_LOOP" then action = 1 else table.insert(rc_list,token) end end if action == 0 then rc = rc.." S27_LOOP" else rc = table.concat(rc_list," ").." S27_EXIT" end set_rc(rc) atc_set_ars_disable(false) atc_send("B0WRD1S3") return elseif S.yards.S27.shunt_type == true then --split and run around properly. player is present to supervise autocouple local info = { ['rc'] = get_rc() or "", ['ln'] = get_line() or "", ['it'] = atc_get_text_inside() or "", ['ot'] = atc_get_text_outside() or "" } if info.rc == "S27_HEADSHUNT S27_AROUND" then info = S.yards.S27.info set_rc(info.rc) set_line(inf.ln) atc_set_text_inside(info.it) atc_set_text_outside(info.ot) atc_send("BBWD3RD1SM") else S.yards.S27[info] = info split_at_index(2,"BBWR") set_rc("S27_HEADSHUNT S27_AROUND") set_autocouple() end atc_set_ars_disable(false) return end end \ No newline at end of file -- cgit v1.2.3