From 91cc36ecd4e2c68040642dbaf0b0dc46106df61c Mon Sep 17 00:00:00 2001 From: autocommitter Date: Sat, 2 Nov 2024 00:00:01 +0100 Subject: State at 2024-11-02 --- auto_yards/nodes/(-584,26,2481).lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'auto_yards/nodes/(-584,26,2481).lua') diff --git a/auto_yards/nodes/(-584,26,2481).lua b/auto_yards/nodes/(-584,26,2481).lua index 46e3050..2995aaa 100644 --- a/auto_yards/nodes/(-584,26,2481).lua +++ b/auto_yards/nodes/(-584,26,2481).lua @@ -1,2 +1,19 @@ +-- Cannery departures lane modified + +local ind = POS(-594,26,2488) --notification indicator + +if F.has_rc("CAN_INTRA_SHUFFLE") then + if not atc_arrow then atc_send("A0S1CplD2S1") return end + split_off_locomotive("A0B0") + F.remove_rc("CAN_CLASS_DEPARTURES") + F.add_rc({ + "CAN_HS_W", + "CAN_send_to_locostore" + }) + atc_send("A1S3") + F.indicator(ind,true) --re-enable the notification as we haven't actually left the yard yet + F.indicator(S.yards.CAN.active_indicator_pos, false) -- disable the active indicator + return +end -- EOL F.lane_EOL("CAN",true) \ No newline at end of file -- cgit v1.2.3