Leave fabricator storage as is

This commit is contained in:
2025-03-29 03:15:47 +01:00
parent 1a45c79e06
commit 20ef0da1be

View File

@@ -2,10 +2,10 @@
regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?' regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?'
lua: | lua: |
if capacity == 1 then return false end if capacity == 1 then return false end
if file:find("fabricators.xml") then -- file:find("fabricators.xml") then
capacity=round(capacity*1.5) -- apacity=round(capacity*1.5)
return true -- eturn true
end --
capacity=round(capacity*3) capacity=round(capacity*3)
if capacity > 50 then capacity=50 end if capacity > 50 then capacity=50 end
if not slotsperrow then return true end if not slotsperrow then return true end