More stacking
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user