blob: 538280404471b41359e5a2200aacc17d94990c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-- Cannery Dirt Loading Lane Modified
local sand_indicator = POS(-572,26,2515) --sand indicator
if F.has_rc("CAN_INTRA_SHUFFLE") then
if not atc_arrow then return end
if F.has_rc("CAN_CLASS_DIRT_UNLOAD") then -- remove wagons, step the fc, return the wagons
F.remove_rc("CAN_CLASS_DIRT_UNLOAD")
F.add_rc({
"CAN_HS_W",
"CAN_CLASS_SAND_LOAD"
})
step_fc()
return
end
if F.has_rc("CAN_CLASS_SAND_LOAD") then -- remove wagons, step the fc, move wagons to departures
F.remove_rc("CAN_CLASS_SAND_LOAD")
F.add_rc({
"CAN_HS_W", --departures track has Cpl function built in
"CAN_CLASS_DEPARTURES"
})
step_fc()
F.indicator(sand_indicator, false)
return
end
return
end
F.lane_EOL("CAN",true)
|