Update
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
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
|
||||||
capacity=capacity*2
|
capacity=round(capacity*2.2)
|
||||||
if not slotsperrow then return true end
|
if not slotsperrow then return true end
|
||||||
slotsperrow=1
|
slotsperrow=1
|
||||||
while slotsperrow * slotsperrow < capacity do
|
while slotsperrow * slotsperrow < capacity do
|
||||||
|
Reference in New Issue
Block a user