Add deconstruction amounter cooker

This commit is contained in:
2025-03-31 22:02:42 +02:00
parent 1dadcb28fe
commit 56752f14d5

View File

@@ -5,7 +5,7 @@
-- file:find("fabricators.xml") then
-- apacity=round(capacity*1.5)
-- eturn true
--
--
capacity=round(capacity*3)
if capacity > 50 then capacity=50 end
if not slotsperrow then return true end
@@ -191,3 +191,18 @@
end
files:
- "Content/Items/**/*.xml"
- name: deconstruction
regex: <Deconstruct!any>(!any)</Deconstruct>
lua: |
local lines = strsplit(s1, "\n")
local newLines = {}
for _, line in pairs(lines) do
if not line == "" then
newLines[#newLines + 1] = line
newLines[#newLines + 1] = line
end
end
s1 = table.concat(newLines, "\n")
files:
- "Content/Items/**/*.xml"