From 7122450e716aa4ef98f8af8579953a0bfc0caff0 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:53:49 +0200 Subject: State at 2021-08-01 --- durt/nodes/(-4129,5,-5630).lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 durt/nodes/(-4129,5,-5630).lua (limited to 'durt/nodes/(-4129,5,-5630).lua') diff --git a/durt/nodes/(-4129,5,-5630).lua b/durt/nodes/(-4129,5,-5630).lua new file mode 100644 index 0000000..26a4ecb --- /dev/null +++ b/durt/nodes/(-4129,5,-5630).lua @@ -0,0 +1,21 @@ +local pt = POS(-4129,5,-5628) +local bt = POS(-4132,4,-5626) +local dir = "s" +if event.train then + if atc_arrow then + setstate(pt,dir) + setstate(bt,"on") + atc_send("S5") + schedule_in(";05",true) + end +end + +if event.schedule then + if atc_id then + schedule_in(";05",true) + return + else + setstate(bt,"off") + return + end +end \ No newline at end of file -- cgit v1.2.3