summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1515,7,-2625).lua
blob: c12db21ce645c8c18c964763a7458801ad43ce68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local ind = POS(-1513,8,-2613)
local function send_train()
	set_rc("FREIGHT S23 TanhX_NBS23toE3 BYARD BY_COLLECT_S27 MGGRatHYARD S27 S27_UNLOAD S27_Overburden BY_RTS S27_EXIT")
	atc_send("S0WRD2A1S4")
	set_route(POS(-1504,8,-2622),"Through to Lead")
	F.indicator(ind,false)
end
if event.ext_int and atc_id then
	send_train()
end

if event.train then
	if F.indicator(ind) then
		send_train()
	end
	return
end