summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4142,17,-5841).lua
blob: 24270e450e547f3aebcb1bfefcea5ae5e3c2a88f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if event.train then
	if atc_arrow then
		if F.has_rc("DLG_south_reverse") then
			schedule_in(";01",atc_id)
			return
		end
	else
		if F.has_rc("DLG_south_reverse_couple") then
			atc_send("CplD1S2")
			return
		end
	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