refactor: adFieldWork delt i adFieldStore/adFieldRefill, follow/dispatch/beginWork i faser, fælles adUtil — 1.62.285

Ingen ændret opførsel. adFieldWork.lua 3087 -> 2598 linjer; lager/salg og
ballemål i adFieldStore.lua, påfyldningssteder i adFieldRefill.lua (begge
på ADFieldWork-tabellen, indlæses efter adFieldWork). follow (296), dispatch
(232) og beginWork (164 linjer) delt i én funktion pr. fase/trin. Ny
adUtil.lua erstatter 28 enslydende lokale hjælpere i 22 filer. Alle 93
testfiler grønne; code-review uden fund over LOW.
This commit is contained in:
2026-10-17 03:21:58 +02:00
parent 18c725d02a
commit e4a3c6fea0
29 changed files with 1399 additions and 1297 deletions
+1 -5
View File
@@ -113,11 +113,7 @@ function ADSellBlock:consoleSellBlock(...)
return table.concat(lines, "\n")
end
local function getPath()
local path = ADRunsStorage ~= nil and ADRunsStorage.getPath() or nil
if path == nil then return nil end
return (path:gsub(ADRunsStorage.FILE_NAME .. "$", ADSellBlock.FILE_NAME))
end
local function getPath() return ADUtil.savePath(ADSellBlock.FILE_NAME) end
function ADSellBlock.save()
local path = getPath()