summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4027,12,-2731).lua
diff options
context:
space:
mode:
Diffstat (limited to 'Tyard/nodes/(-4027,12,-2731).lua')
-rw-r--r--Tyard/nodes/(-4027,12,-2731).lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tyard/nodes/(-4027,12,-2731).lua b/Tyard/nodes/(-4027,12,-2731).lua
index 91a7249..5491309 100644
--- a/Tyard/nodes/(-4027,12,-2731).lua
+++ b/Tyard/nodes/(-4027,12,-2731).lua
@@ -21,7 +21,7 @@ if F.yard_active() then
if F.has_rc("TY_RTS") then
F.dir(not F.dir())
F.remove_rc({"TY_RTS"})
- F.add_rc({"TY_HEADSHUNT","TY_AROUND"}) -- send loco around to the other end
+ F.add_rc({"TY_AROUND"}) -- send loco around to the other end
split_off_locomotive("A0B0")
atc_set_ars_disable(false)
return -- train has departed for RTS loop
@@ -31,7 +31,7 @@ if F.yard_active() then
end
if this_dir == F.dir() then --train has bounced and is ready to classify wagon(s)
-- local pre_split = train_length()
- local lane = split_at_fc("A0B0",5) -- where to classify this rake
+ local lane = split_at_fc("A0B0",5) -- where to classify this rake -- headshunt length
local locos = tonumber(F.get_rc_safe():match("TY_LOCOS_(%d+)")) or 1 --saved loco count
local wagons = tonumber(F.get_rc_safe():match("TY_WAGONS_(%d+)")) or 0 -- wagon_count from last classification split
local this_rake = train_length() - locos-- subtract these wagons from the overall wagon count