summaryrefslogtreecommitdiff
path: root/durt/nodes/(-3524,8,-2281).lua
blob: 53a5cf54a39e2df1becc347146d4207806877b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local dir = "east"

local headshunt_rc = "Treefarm_headshunt_"..dir
if event.train and atc_arrow then
	if F.has_rc(headshunt_rc) then
		schedule_in(";01",atc_id)
		return
	end
end

if event.schedule then
	if event.msg == atc_id then
		schedule_in(";01",event.msg)
		return
	else
		atc_send_to_train(event.msg,"S0WRS3")
		return
	end
end