summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4129,13,-5726).lua
blob: 2f179db3ce27e5c68cb7143fffc2ced1f21025d3 (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
25
26
27
28
if event.train then
	if atc_arrow then
		if F.has_rc("DLG_exit_north") then
			F.remove_rc({"DLG_exit_north"})
			return
		end
		if F.has_rc("DLG_north_reverse") then
			schedule_in(";01",atc_id)
			return
		end
	else
		if F.has_rc("DLG_north_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