From a027fb0085d83f36bf89d1c27f76965402425da3 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:54:14 +0200 Subject: State at 2021-09-01 --- durt/nodes/(-4129,9,-5588).lua | 9 +++++++-- durt/nodes/(-615,26,2475).lua | 7 +++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 durt/nodes/(-615,26,2475).lua (limited to 'durt') diff --git a/durt/nodes/(-4129,9,-5588).lua b/durt/nodes/(-4129,9,-5588).lua index ff80009..86a9f95 100644 --- a/durt/nodes/(-4129,9,-5588).lua +++ b/durt/nodes/(-4129,9,-5588).lua @@ -16,8 +16,13 @@ if event.train then atc_send("BB") schedule_in(";05",true) else - setstate(pt,"s") - atc_send("S3") + if (get_rc() or ""):match("CAN_corn") then + setstate(pt,"r") + atc_send("B1") + else + setstate(pt,"s") + atc_send("S3") + end end else if tostring(get_rc() or ""):match("DLG_shunt") then diff --git a/durt/nodes/(-615,26,2475).lua b/durt/nodes/(-615,26,2475).lua new file mode 100644 index 0000000..d98ff94 --- /dev/null +++ b/durt/nodes/(-615,26,2475).lua @@ -0,0 +1,7 @@ +__approach_callback_method = 1 +if event.appraoch and not event.has_entered then + atc_set_lzb_trs(1) +end +if event.train and atc_arrow then + atc_send("S1") +end \ No newline at end of file -- cgit v1.2.3