summaryrefslogtreecommitdiff
path: root/Hyard/nodes/(-2600,12,-1780).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:14 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:14 +0200
commit5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971 (patch)
tree85f5c29c1dde0bedb823aa60a48015312670396a /Hyard/nodes/(-2600,12,-1780).lua
parentc21692e0a830e434675014dd7b54736d180ce71d (diff)
downloadluaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.tar.gz
luaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.tar.bz2
luaatc_envs-5f72b7ec62a6f2fb8ce6b9d5379f03a3e4126971.zip
State at 2020-08-29
Diffstat (limited to 'Hyard/nodes/(-2600,12,-1780).lua')
-rw-r--r--Hyard/nodes/(-2600,12,-1780).lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/Hyard/nodes/(-2600,12,-1780).lua b/Hyard/nodes/(-2600,12,-1780).lua
new file mode 100644
index 0000000..aaf4293
--- /dev/null
+++ b/Hyard/nodes/(-2600,12,-1780).lua
@@ -0,0 +1,14 @@
+local dir = 1
+if S.dir == dir then
+if atc_arrow and not S.exiting then
+split_off_locomotive("B0")
+set_rc("PICKUP")
+end
+
+if atc_arrow and S.exiting then
+set_rc("EXIT")
+S.exiting = false
+end
+elseif atc_arrow then
+atc_send("B0WD1RS4")
+end \ No newline at end of file