summaryrefslogtreecommitdiff
path: root/durt/nodes/(1921,7,9096).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(1921,7,9096).lua')
-rw-r--r--durt/nodes/(1921,7,9096).lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/durt/nodes/(1921,7,9096).lua b/durt/nodes/(1921,7,9096).lua
new file mode 100644
index 0000000..32d89d7
--- /dev/null
+++ b/durt/nodes/(1921,7,9096).lua
@@ -0,0 +1 @@
+if event.digiline then if event.channel ~= "track_control" then return end local err = 0 if not atc_id then err = 1 end if not atc_arrow then err = 1 end if type(event.msg) ~= "table" then err = 1 end if err == 1 then digiline_send("lcd","--Error-- | Check Train") return end local i = event.msg set_rc(i.ars or "") atc_set_text_inside("Destination: "..(i.name or "Unknown").."\nCargo: "..(i.info or "Unknown")) end \ No newline at end of file