summaryrefslogtreecommitdiff
path: root/durt/nodes/(1896,8,9053).lua
blob: 0851b53816e1af78ec1e590cc8f8f7af4f2f246c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
__approach_callback_mode = 1
if event.approach and not event.has_entered then
	atc_set_ars_disable(true)
	atc_set_lzb_tsr(4)
end

if event.train and atc_arrow then
	atc_send("S4")
	if F.has_rc("WOA_mine_around") then
		if train_length() == 1 then
			F.add_rc("WOA_ttb_s")
		else
			F.add_rc("WOA_shed_left")
		end
	end
	atc_set_ars_disable(false)
end