summaryrefslogtreecommitdiff
path: root/durt/nodes/(-4599,7,-6502).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-4599,7,-6502).lua')
-rw-r--r--durt/nodes/(-4599,7,-6502).lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/durt/nodes/(-4599,7,-6502).lua b/durt/nodes/(-4599,7,-6502).lua
new file mode 100644
index 0000000..0fa580c
--- /dev/null
+++ b/durt/nodes/(-4599,7,-6502).lua
@@ -0,0 +1,17 @@
+if event.train and atc_arrow then
+ local rc = get_rc() or ""
+ if rc:match("BFT_Mainline_Headshunt") 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,"B0WRS3")
+ return
+ end
+end \ No newline at end of file