summaryrefslogtreecommitdiff
path: root/durt/nodes/(1924,7,9147).lua
blob: 24d24db49c2f89c706cba61a0708691c47fc2032 (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(2)
end

if event.train and atc_arrow then
	if F.has_rc("STOPME") then atc_send("B0") return end
	local rc = get_rc() or ""
	if rc:match("M27FUEL") and not rc:match("WOA_EXITLOOP") then
		set_rc(rc.." WOA_SHUNT WOA_FUEL")
		atc_send("B0WRD2S3")
	end
	if rc:match("WOA_EXITLOOP") then
		atc_Send("SM")
	end
end