From ac853fa04d0d8a6489320dfe7dbd60c9371d756b Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 14:57:43 +0200 Subject: State at 2022-06-19 --- durt/nodes/(-1512,8,-2613).lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 durt/nodes/(-1512,8,-2613).lua (limited to 'durt/nodes/(-1512,8,-2613).lua') diff --git a/durt/nodes/(-1512,8,-2613).lua b/durt/nodes/(-1512,8,-2613).lua new file mode 100644 index 0000000..ecf8060 --- /dev/null +++ b/durt/nodes/(-1512,8,-2613).lua @@ -0,0 +1,18 @@ +local ind = POS(-1513,8,-2613) +local loco_track = POS(-1515,7,-2625) + +if event.ext_int then + local m = event.message + if m.command == "NOTIFY" and m.msg == "S27" then + if F.indicator(ind) then return end + interrupt_pos(loco_track,"SEND") + F.indicator(ind,"on") + return + end +end + +if event.punch then + F.indicator(ind,"on") + interrupt_pos(loco_track,"SEND") + return +end \ No newline at end of file -- cgit v1.2.3