Don't cook containers of capacity 1

They are probably tools and shit
This commit is contained in:
2025-03-28 18:37:28 +01:00
parent 213a264ba7
commit 72dd7968b4

View File

@@ -1,7 +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
if capacity == 1 then return false end
capacity=capacity*2
if not slotsperrow then return true end
slotsperrow=1