summaryrefslogtreecommitdiff
path: root/auto_yards/nodes/(-719,20,2475).lua
diff options
context:
space:
mode:
Diffstat (limited to 'auto_yards/nodes/(-719,20,2475).lua')
-rw-r--r--auto_yards/nodes/(-719,20,2475).lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/auto_yards/nodes/(-719,20,2475).lua b/auto_yards/nodes/(-719,20,2475).lua
new file mode 100644
index 0000000..acfc06a
--- /dev/null
+++ b/auto_yards/nodes/(-719,20,2475).lua
@@ -0,0 +1,10 @@
+local yard_id = "CAN"
+if event.train then
+ if F.has_rc(yard_id.."_LIGHT_EXIT") then
+ F.remove_rc(yard_id.."_LIGHT_EXIT")
+ atc_set_ars_disable(false)
+ atc_send("SM")
+ return
+ end
+end
+F.headshunt_exit(yard_id,true) \ No newline at end of file