summaryrefslogtreecommitdiff
path: root/durt/nodes/(-3604,8,-2281).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-3604,8,-2281).lua')
-rw-r--r--durt/nodes/(-3604,8,-2281).lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/durt/nodes/(-3604,8,-2281).lua b/durt/nodes/(-3604,8,-2281).lua
new file mode 100644
index 0000000..59bd29d
--- /dev/null
+++ b/durt/nodes/(-3604,8,-2281).lua
@@ -0,0 +1,18 @@
+local dir = "west"
+if event.train and atc_arrow then
+ local rc = get_rc() or ""
+ if rc:match("Treefarm_headshunt_"..dir) then
+ schedule_in(";01",atc_id)
+ return
+ end
+end
+
+if event.schedule then
+ if event.msg == atc_id then
+ schedule_in(";01",event.msg)
+ return
+ else
+ atc_send_to_train(event.msg,"S0WRS3CplA0S1D2S0WRA1S3")
+ return
+ end
+end \ No newline at end of file