summaryrefslogtreecommitdiff
path: root/durt/nodes/(1740,17,4636).lua
blob: 9cfec9dea4ed68c4956b50064775517921359d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if event.train then
	if not atc_arrow then return end
	local fc = split_at_fc("A0B0", 5)
	local cmd = {
		"MCR_HS_E",
		"MCR_HS_E_AC",
		"MCR_DIR_"..fc
	}
	if #section_occupancy("115343") == 1 then
		table.insert(cmd, "MCR_LAST_SORT")
	end
	F.add_rc(cmd)
	atc_send("A1S3")
	return
end