summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:21 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:53:21 +0200
commitfd4ddfed362cf3e19dc465392e8c039817f44942 (patch)
treec96f5b075657032e3daf1e8f869dd472dc1fbe13 /durt/nodes
parent27e79611ec3f8cbc2f65ced6f74f5978b3bab716 (diff)
downloadluaatc_envs-fd4ddfed362cf3e19dc465392e8c039817f44942.tar.gz
luaatc_envs-fd4ddfed362cf3e19dc465392e8c039817f44942.tar.bz2
luaatc_envs-fd4ddfed362cf3e19dc465392e8c039817f44942.zip
State at 2021-06-22
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(-1440,11,-2580).lua1
-rw-r--r--durt/nodes/(-1515,11,-2588).lua7
2 files changed, 7 insertions, 1 deletions
diff --git a/durt/nodes/(-1440,11,-2580).lua b/durt/nodes/(-1440,11,-2580).lua
new file mode 100644
index 0000000..57b5d9c
--- /dev/null
+++ b/durt/nodes/(-1440,11,-2580).lua
@@ -0,0 +1 @@
+F.remove_rc({"S27_EXIT","S27_test"},true) \ No newline at end of file
diff --git a/durt/nodes/(-1515,11,-2588).lua b/durt/nodes/(-1515,11,-2588).lua
index 7352032..b3a645f 100644
--- a/durt/nodes/(-1515,11,-2588).lua
+++ b/durt/nodes/(-1515,11,-2588).lua
@@ -1 +1,6 @@
-if event.train and atc_arrow then if S.yards.S27.shunt_type == false then --reverse around loop. player not present to supervise autocouple operation local rc = get_rc() or "" local action = 0 local rc_list = {} for token in rc:gmatch("[^%s]+") do if token=="S27_LOOP" then action = 1 else table.insert(rc_list,token) end end if action == 0 then rc = rc.." S27_LOOP" else rc = table.concat(rc_list," ").." S27_EXIT" end set_rc(rc) atc_set_ars_disable(false) atc_send("B0WRD1S3") return end end \ No newline at end of file
+if event.train and atc_arrow then
+ atc_set_ars_disable(false)
+ atc_send("S3")
+ set_rc(get_rc().." S27_EXIT")
+ return
+end \ No newline at end of file