summaryrefslogtreecommitdiff
path: root/durt/nodes/(-2135,21,920).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-2135,21,920).lua')
-rw-r--r--durt/nodes/(-2135,21,920).lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/durt/nodes/(-2135,21,920).lua b/durt/nodes/(-2135,21,920).lua
new file mode 100644
index 0000000..74dac88
--- /dev/null
+++ b/durt/nodes/(-2135,21,920).lua
@@ -0,0 +1,25 @@
+local ch = {
+ output = "ars_manual_input",
+ get = "ars_set_query",
+ input = "ars_set",
+ indicator = "ars_indicator",
+ lcd = "lcd",
+ debug = "debug"
+}
+
+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