summaryrefslogtreecommitdiff
path: root/durt/nodes/(-1444,11,-2546).lua
diff options
context:
space:
mode:
Diffstat (limited to 'durt/nodes/(-1444,11,-2546).lua')
-rw-r--r--durt/nodes/(-1444,11,-2546).lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/durt/nodes/(-1444,11,-2546).lua b/durt/nodes/(-1444,11,-2546).lua
index 235e7d3..aeef76b 100644
--- a/durt/nodes/(-1444,11,-2546).lua
+++ b/durt/nodes/(-1444,11,-2546).lua
@@ -1,10 +1,23 @@
local ind = POS(-1444,10,-2546)
local function send_train()
- set_rc("S27_SHUNTER S27_REV_East S27")
+ local rc = {
+ "FREIGHT",
+ "S27_SHUNTER",
+ "S27_EXP_EXIT_N",
+ "S27_EXP",
+ "S23",
+ "ARC_AUTO",
+ "ARC_COLLECT_S27_EXPORT",
+ "ARC_AUTO_S23S",
+ "MGGR"
+ }
+ set_rc(table.concat(rc," "))
atc_send("S0WRD2A1S4")
+ print(rwt.to_string(rwt.now()).." S27_EXPORT Send Train")
F.indicator(ind,false)
end
if event.ext_int then
+ print(rwt.to_string(rwt.now()).." S27_EXPORT RX Notification")
if F.indicator(ind) then return end
if atc_id then
send_train()