blob: a8de41329f51f4b03f9dec5d5ce2ac0052b90dfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
-- S27 Export Departures splitter
if not F.has_rc("S27_SHUNTER") or not F.has_rc("S27_EXPORT_ACTIVE") then return end
if not atc_arrow then
F.remove_rc_match("S27_EXP_DIR_%S+")
return
end
if not F.has_rc("S27_EXPORT_FINAL") then --still more train to shuffle
split_off_locomotive("A0B0",1)
F.add_rc({
"S27_EXP_HS_N",
"S27_EXP_HS_N_AC",
"S27_EXP_DIR_ARRIVALS",
})
return
end
F.add_rc({
"S27_EXP_EXIT_N"
})
atc_send("S3")
|