Don't increase the capacity of containers with 1
They are probably tools
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
- name: containers
|
||||
regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?'
|
||||
lua: |
|
||||
if file:find("tools.xml") and capacity == 1 then return false end
|
||||
capacity=capacity*2
|
||||
if not slotsperrow then return true end
|
||||
slotsperrow=1
|
||||
|
Reference in New Issue
Block a user