summaryrefslogtreecommitdiff
path: root/Tyard
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:58:25 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:58:25 +0200
commit72b5cc792208fcc6fcfd103b909ce69bdef12c8b (patch)
treedb6c6848f1a402a9a7d83f15ac2803a780f2d1e7 /Tyard
parentfe5294d1d13441071f6cb58c2594062875b4439d (diff)
downloadluaatc_envs-72b5cc792208fcc6fcfd103b909ce69bdef12c8b.tar.gz
luaatc_envs-72b5cc792208fcc6fcfd103b909ce69bdef12c8b.tar.bz2
luaatc_envs-72b5cc792208fcc6fcfd103b909ce69bdef12c8b.zip
State at 2023-04-11
Diffstat (limited to 'Tyard')
-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