summaryrefslogtreecommitdiff
path: root/durt/nodes/(1740,17,4636).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(1740,17,4636).lua')
-rw-r--r--durt/nodes/(1740,17,4636).lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/durt/nodes/(1740,17,4636).lua b/durt/nodes/(1740,17,4636).lua
new file mode 100644
index 0000000..9cfec9d
--- /dev/null
+++ b/durt/nodes/(1740,17,4636).lua
@@ -0,0 +1,15 @@
+if event.train then
+ if not atc_arrow then return end
+ local fc = split_at_fc("A0B0", 5)
+ local cmd = {
+ "MCR_HS_E",
+ "MCR_HS_E_AC",
+ "MCR_DIR_"..fc
+ }
+ if #section_occupancy("115343") == 1 then
+ table.insert(cmd, "MCR_LAST_SORT")
+ end
+ F.add_rc(cmd)
+ atc_send("A1S3")
+ return
+end \ No newline at end of file