summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4599,7,-6502).lua
blob: 0fa580c504a7ecc7fd5598d8aa86083be5f25ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if event.train and atc_arrow then
	local rc = get_rc() or ""
	if rc:match("BFT_Mainline_Headshunt") 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,"B0WRS3")
		return
	end
end