summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4256,20,-3084).lua
blob: e66ab7cce2b796e32a542b91bf28c97c89a10b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local rc = get_rc() or ""
if rc:match("ERSTAZISHOP") then
	-- do erstazi's stuff here
	return
elseif rc:match("TSTSHOP") then
	split_at_index(2,"B0")
	set_rc("RUNAROUND FREIGHT")
	set_autocouple()
	return
elseif rc:match("RUNAROUND") then
	set_rc("FREIGHT TSTSHOP TYARD TY_RTS TY_COLLECT_MMF")
	step_fc()
	atc_send("B0WRD300SMA1") -- wait 5 minutes before departing to lessen the yard usage
	return
end