From caf32a229dd58e96a8f66070352d6aae7e700593 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:54:58 +0200 Subject: State at 2021-11-02 --- durt/nodes/(-4134,5,-5631).lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 durt/nodes/(-4134,5,-5631).lua (limited to 'durt/nodes/(-4134,5,-5631).lua') diff --git a/durt/nodes/(-4134,5,-5631).lua b/durt/nodes/(-4134,5,-5631).lua new file mode 100644 index 0000000..d30218f --- /dev/null +++ b/durt/nodes/(-4134,5,-5631).lua @@ -0,0 +1,24 @@ +local lights = { + POS(-4131,5,-5623), + POS(-4127,5,-5623), + POS(-4127,5,-5617), + POS(-4131,5,-5617) +} + +if event.train then + if atc_arrow then + schedule_in(";05",true) + return + end +end + +if event.schedule then + if atc_id then + schedule_in(";05",true) + return + else + for _,v in pairs(lights) do + setstate(v,"off") + end + end +end \ No newline at end of file -- cgit v1.2.3