summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1426,11,-2548).lua
blob: 127133d15a7e0a989516e4fd439b439543308889 (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",2)
	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")