feat: dvale for flows uden arbejde — traktor og vogn frigives, flowet vågner selv (v1.62.58)

This commit is contained in:
2026-10-07 17:13:12 +02:00
parent ab47ac70b3
commit dd434a2fc1
16 changed files with 380 additions and 8 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ end
function ADChainData.acceptsMap(data, flows, goods)
local result = {}
for _, flow in ipairs(flows or {}) do
if flow.kind ~= "outbound" and not flow.stopped and flow.ingredientMode ~= "manual" then
if flow.kind ~= "outbound" and (not flow.stopped or flow.sleeping) and flow.ingredientMode ~= "manual" then
for _, id in ipairs(flow.targetBuildingIds or {}) do
local placeable = data.placeables[id]
if result[id] == nil and placeable ~= nil then