diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-10-15 22:37:42 +0200 |
commit | 572b186e28ddc2a630613765c0f0780b4664380f (patch) | |
tree | e93412c97c577b04bbf12749bfe61470e001063a /Tyard/nodes/(-4059,12,-2714).lua | |
parent | 5c7f77725394d47ce0b907aabf885ea207a507bd (diff) | |
download | luaatc_envs-master.tar.gz luaatc_envs-master.tar.bz2 luaatc_envs-master.zip |
Diffstat (limited to 'Tyard/nodes/(-4059,12,-2714).lua')
-rw-r--r-- | Tyard/nodes/(-4059,12,-2714).lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Tyard/nodes/(-4059,12,-2714).lua b/Tyard/nodes/(-4059,12,-2714).lua deleted file mode 100644 index f89a6ec..0000000 --- a/Tyard/nodes/(-4059,12,-2714).lua +++ /dev/null @@ -1 +0,0 @@ ---waiting lane
-- config'd for the southbound-waiting lane
-- train nose points south, using a north signal
local dir = "N"
local waiting_signal = "TY_WAITING_"..dir
if S.yard_active then
if atc_id then
atc_send("B0")
interrupt(10,"recheck")
end
else -- send train to "headshunt"
if not atc_id then return end
S.yard_active = true
step_fc()
local rc = get_rc() or ""
S.rc = rc
--check for RTS
if S.single_dir == true or S.rc:match("TY_RTS") then
S.dir = dir
--working end = entrance dir
S.RTS = true -- to direct train to PICKUP lane. AROUND_dir will be set by the pickup track
else
--invert S.dir
--working end ~= entrance end
if dir == "N" then
S.dir = "S"
else
S.dir = "N"
end
end
set_rc("PICKUP")
set_route(waiting_signal,"HEADSHUNT")
atc_set_text_outside("Proceeding to Classification Yard")
atc_send("S0WRS4")
end
\ No newline at end of file |