summaryrefslogtreecommitdiff
path: root/m4/nodes/(2010,3,5860).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:32 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:32 +0200
commit5c7f77725394d47ce0b907aabf885ea207a507bd (patch)
treea1ff9c67ef8f225a259e4c6f4c163a45c58bb870 /m4/nodes/(2010,3,5860).lua
parentb435d1b1b26db6f7c4f3eb589ecf1ed3bb79b57e (diff)
downloadluaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.gz
luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.tar.bz2
luaatc_envs-5c7f77725394d47ce0b907aabf885ea207a507bd.zip
State at 2024-10-15
Diffstat (limited to 'm4/nodes/(2010,3,5860).lua')
-rw-r--r--m4/nodes/(2010,3,5860).lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/m4/nodes/(2010,3,5860).lua b/m4/nodes/(2010,3,5860).lua
new file mode 100644
index 0000000..5229dce
--- /dev/null
+++ b/m4/nodes/(2010,3,5860).lua
@@ -0,0 +1,22 @@
+local ch = {
+ get = "ars_set_query",
+ input = "ars_set",
+ indicator = "ars_indicator",
+}
+
+if event.train then
+ digiline_send(ch.get, "GET")
+ return
+end
+
+if event.digiline then
+ if event.channel==ch.input then
+ if not atc_id then
+ digiline_send(ch.indicator, true)
+ return
+ end
+ set_rc(tostring(event.msg))
+ digiline_send(ch.indicator, false)
+ return
+ end
+end \ No newline at end of file