diff options
Diffstat (limited to 'auto_yards/nodes/(-588,26,2504).lua')
-rw-r--r-- | auto_yards/nodes/(-588,26,2504).lua | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/auto_yards/nodes/(-588,26,2504).lua b/auto_yards/nodes/(-588,26,2504).lua index 46e3050..8b1f38e 100644 --- a/auto_yards/nodes/(-588,26,2504).lua +++ b/auto_yards/nodes/(-588,26,2504).lua @@ -1,2 +1,18 @@ --- EOL +-- Cannery Dirt Loading Lane Modified +local ind = POS(-594,26,2488) --notification indicator +local clay_indicator = POS(-570,26,2515) --clay loaded indicator + +if F.has_rc("CAN_INTRA_SHUFFLE") then + if not atc_arrow then return end + if F.has_rc("CAN_CLASS_CLAY_LOAD") then -- remove wagons, step the fc, move wagons to departures + F.remove_rc("CAN_CLASS_CLAY_LOAD") + F.add_rc({ + "CAN_HS_W", --departures track has Cpl function built in + "CAN_CLASS_DEPARTURES" + }) + F.indicator(clay_indicator, false) -- Loaded wagons have been sent to departures track. Disable the request indicator + return + end + return +end F.lane_EOL("CAN",true)
\ No newline at end of file |