diff options
author | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:14 +0200 |
---|---|---|
committer | autocommitter <autocommitter@linux-forks.de> | 2024-04-22 14:52:14 +0200 |
commit | 5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971 (patch) | |
tree | 85f5c29c1dde0bedb823aa60a48015312670396a /durt/nodes/(-585,26,2478).lua | |
parent | c21692e0a830e434675014dd7b54736d180ce71d (diff) | |
download | luaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.tar.gz luaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.tar.bz2 luaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.zip |
State at 2020-08-29
Diffstat (limited to 'durt/nodes/(-585,26,2478).lua')
-rw-r--r-- | durt/nodes/(-585,26,2478).lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/durt/nodes/(-585,26,2478).lua b/durt/nodes/(-585,26,2478).lua new file mode 100644 index 0000000..23d349b --- /dev/null +++ b/durt/nodes/(-585,26,2478).lua @@ -0,0 +1 @@ +--arrow points west towards working HS
local lane = 4
if S.yard_active == true then
if atc_arrow then
set_route("CANNERY_W"..lane, "HEADSHUNT")
-- turnouts should already be set by the train returning from HS
local plen = train_length()
local rc = split_at_fc("B0")
local trc = "CAN_"..rc
if plen == train_length() and (rc == "" or S.rc:match(trc)) then
S.exiting = true
end
if rc and rc ~= "" then
set_rc("CAN_"..rc)
else
set_rc(S.rc)
S.exiting = true
end
end
end
\ No newline at end of file |