diff options
Diffstat (limited to 'durt/nodes/(-1419,11,-2545).lua')
-rw-r--r-- | durt/nodes/(-1419,11,-2545).lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/durt/nodes/(-1419,11,-2545).lua b/durt/nodes/(-1419,11,-2545).lua new file mode 100644 index 0000000..36c4310 --- /dev/null +++ b/durt/nodes/(-1419,11,-2545).lua @@ -0,0 +1,17 @@ +-- S27 Export Arrivals Splitter +if not F.has_rc("S27_EXPORT_ACTIVE") then return end + +if not atc_arrow then -- loco has rejoined from headshunt + F.remove_rc_match("S27_EXP_DIR_%S+") + return +end + +local fc = split_at_fc("A0B0",2) or "DEPART" --should be either SAND_RAMP or DIRT_LOAD. anything else goes to departures +F.add_rc({ + "S27_EXP_HS_N", + "S27_EXP_DIR_"..fc +}) +if fc == "DEPART" then + F.add_rc("S27_EXP_HS_N_AC") +end +atc_send("S3")
\ No newline at end of file |