More stacking

This commit is contained in:
2025-03-28 19:39:01 +01:00
parent f83e669e9f
commit 73d1e510d5

View File

@@ -1,6 +1,7 @@
- name: containers
regex: '(?-s)capacity="(?<capacity>!num)"(?:!anyslotsperrow="(?<slotsperrow>!num))?'
lua: |
if file:find("fabricators.xml") then return false end
if capacity == 1 then return false end
capacity=round(capacity*2.2)
if not slotsperrow then return true end
@@ -69,14 +70,14 @@
- name: maxstacksize
regex: 'maxstacksize="!num'
lua: |
*2
*8
files:
- "**/*.xml"
- name: maxstacksizecharacterinventory
regex: 'maxstacksizecharacterinventory="!num'
lua: |
*2
*8
files:
- "**/*.xml"