summaryrefslogtreecommitdiff
path: root/Hyard/nodes/(-2602,12,-1721).lua
blob: 3d3cb4e6ba4e85af2fd271aed00bb567616554f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local dir = 2
local lane = 2
if S.dir == dir then
if atc_arrow and not S.exiting then
split_off_locomotive("B0")
set_rc("PICKUP")
set_route("HYE"..lane, "HEADSHUNT")
end

if atc_arrow and S.exiting then
set_rc("EXIT")
   set_route("HYE"..lane, "EXIT")
S.exiting = false
end
elseif atc_arrow then
atc_send("B0WD1RS4")
end