summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1419,11,-2545).lua
blob: c17e7b9cd2dd2c886f77e0a57eed5b19db054011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- S27 Export Arrivals Splitter
if event.train and atc_arrow then
	if not F.has_rc("S27_EXPORT_ACTIVE") then return end
	local fc = split_at_fc("A0B0",1) or "DEPART"
	F.add_rc({
		"S27_EXP_HS_N",
		"S27_"..fc
	})
	if fc == "DEPART" then
		F.add_rc("S27_EXP_HS_N_AC")
	end
end