summaryrefslogtreecommitdiff
path: root/pad/nodes/(-1054,4,-3333).lua
diff options
context:
space:
mode:
Diffstat (limited to 'pad/nodes/(-1054,4,-3333).lua')
-rw-r--r--pad/nodes/(-1054,4,-3333).lua29
1 files changed, 29 insertions, 0 deletions
diff --git a/pad/nodes/(-1054,4,-3333).lua b/pad/nodes/(-1054,4,-3333).lua
new file mode 100644
index 0000000..18a9d4f
--- /dev/null
+++ b/pad/nodes/(-1054,4,-3333).lua
@@ -0,0 +1,29 @@
+local OPENER = {x=-1055,y=1,z=-3333}
+
+if event.type == "digiline" then
+ local catch = event
+ local prefix = catch.msg:sub(1, 4)
+ local message, r_prefix
+
+ if catch.channel == "Fla" and prefix == "uput" then
+ message = F.ick(catch.msg)
+
+ if message ~= nil then
+ r_prefix = message:sub(1, 3)
+ end
+
+ if r_prefix ~= nil then
+ if r_prefix == "ACC" then
+ interrupt(5)
+ interrupt_pos(OPENER, "open")
+ end
+ digiline_send("pref_sc", message:sub(5))
+ end
+ else
+ interrupt(5)
+ end
+end
+
+if event.type == "int" then
+ digiline_send("pref_sc", "Please insert your transport pass below")
+end \ No newline at end of file