diff options
-rw-r--r-- | durt/nodes/(-4129,9,-5588).lua | 9 | ||||
-rw-r--r-- | durt/nodes/(-615,26,2475).lua | 7 |
2 files changed, 14 insertions, 2 deletions
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 |