summaryrefslogtreecommitdiff
path: root/Hyard/nodes/(-2594,12,-1780).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:42 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-10-15 22:37:42 +0200
commit572b186e28ddc2a630613765c0f0780b4664380f (patch)
treee93412c97c577b04bbf12749bfe61470e001063a /Hyard/nodes/(-2594,12,-1780).lua
parent5c7f77725394d47ce0b907aabf885ea207a507bd (diff)
downloadluaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.gz
luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.tar.bz2
luaatc_envs-572b186e28ddc2a630613765c0f0780b4664380f.zip
State at 2024-10-15HEADmaster
Diffstat (limited to 'Hyard/nodes/(-2594,12,-1780).lua')
-rw-r--r--Hyard/nodes/(-2594,12,-1780).lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/Hyard/nodes/(-2594,12,-1780).lua b/Hyard/nodes/(-2594,12,-1780).lua
deleted file mode 100644
index 7a257db..0000000
--- a/Hyard/nodes/(-2594,12,-1780).lua
+++ /dev/null
@@ -1,28 +0,0 @@
-
-local dir = 1
-local lane = 6
-if S.dir == dir and atc_arrow then
- set_route("HYD"..lane, "HEADSHUNT1")
- local plen = train_length()
- local rc = split_at_fc("B0")
- local trc = "HY"..rc..dir
- S.cars = plen - train_length()
- if plen == train_length() and (rc == "" or S.rc:match(trc)) and not (S.rc:match("HYREVERSE")) then
- S.exiting = true
- end
- if rc and rc ~= "" then
- set_rc("HY"..rc..dir)
- else
- set_rc(S.rc)
- S.exiting = true
- end
-elseif S.dir == 2 and atc_arrow then
-if S.rc:match("HYREVERSE") and S.cars == 0 then
- set_route("HYD"..lane, "HEADSHUNT1")
-S.reversing = true
-S.dir = 1
-end
-if not S.reversing then
-atc_send("B0WD1RS4")
-end
-end \ No newline at end of file