summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:56:22 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:56:22 +0200
commit5c46c76676e5c8b49e22ee0e62827f9c67a714aa (patch)
tree972335bf81d298b419430d4b6c6e64a63169e997 /durt/nodes
parentcdd5ad44fc9024be3b4d8717239991eb56926c43 (diff)
downloadluaatc_envs-5c46c76676e5c8b49e22ee0e62827f9c67a714aa.tar.gz
luaatc_envs-5c46c76676e5c8b49e22ee0e62827f9c67a714aa.tar.bz2
luaatc_envs-5c46c76676e5c8b49e22ee0e62827f9c67a714aa.zip
State at 2022-03-02
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-2044,21,869).lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/durt/nodes/(-2044,21,869).lua b/durt/nodes/(-2044,21,869).lua
new file mode 100644
index 0000000..8219fbc
--- /dev/null
+++ b/durt/nodes/(-2044,21,869).lua
@@ -0,0 +1,17 @@
+if event.train and atc_arrow then
+ local rc = get_rc() or ""
+ if rc:match("ARC_Station_Reverse") then
+ schedule_in(";01",atc_id)
+ return
+ end
+end
+
+if event.schedule then
+ if event.msg == atc_id then
+ schedule_in(";01",event.msg)
+ return
+ else
+ atc_send_to_train(event.msg,"B0WRS3")
+ return
+ end
+end \ No newline at end of file