This commit is contained in:
2025-03-28 18:37:48 +01:00
parent 72dd7968b4
commit 155439b16d

View File

@@ -2,7 +2,7 @@
regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?'
lua: |
if capacity == 1 then return false end
capacity=capacity*2
capacity=round(capacity*2.2)
if not slotsperrow then return true end
slotsperrow=1
while slotsperrow * slotsperrow < capacity do