summaryrefslogtreecommitdiff
path: root/Tyard/nodes/(-4256,20,-3084).lua
diff options
context:
space:
mode:
Diffstat (limited to 'Tyard/nodes/(-4256,20,-3084).lua')
-rw-r--r--Tyard/nodes/(-4256,20,-3084).lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tyard/nodes/(-4256,20,-3084).lua b/Tyard/nodes/(-4256,20,-3084).lua
new file mode 100644
index 0000000..8803dac
--- /dev/null
+++ b/Tyard/nodes/(-4256,20,-3084).lua
@@ -0,0 +1,14 @@
+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")
+ atc_send("B0WRD300SMA1") -- wait 5 minutes before departing to lessen the yard usage
+ return
+end \ No newline at end of file