feat(ui): Flows-oprydning — tavle grupperet Ind/Ud efter navn, traktorer: egne+ledige (Vis alle), bygninger: valgte først, uden markør skjult (Vis alle); fix: staldes foderkrybbe (feedingTrough) i stationsopslag og bygningsmarkører — hønsehus (v1.19.0.0)

This commit is contained in:
2026-09-24 19:31:57 +02:00
parent b3d49c4857
commit 99c509ea10
13 changed files with 334 additions and 26 deletions
+5
View File
@@ -104,6 +104,11 @@ local function collectNodes(placeable, loadStations, unloadStations)
end
if #nodes > 0 then table.insert(loadGroups, nodes) end
end
-- staldens foderkrybbe (hønsehus: kun krybben, ingen trigger i aflæsningsstationen)
local food = placeable.spec_husbandryFood
local trough = food ~= nil and food.feedingTrough or nil
local troughNode = trough ~= nil and (trough.exactFillRootNode or trough.triggerNode) or nil
if troughNode ~= nil then table.insert(unloadNodes, troughNode) end
-- stald med egne pallespawnere (hønsehus: æg, fårestald: uld) — én læssegruppe pr. spawner
local husbandryPallets = placeable.spec_husbandryPallets
local seenSpawners = {}