This commit is contained in:
2026-06-29 20:08:41 +09:00
parent 312ef93030
commit 2ef4b80c39
3 changed files with 24 additions and 17 deletions
+12
View File
@@ -0,0 +1,12 @@
if data.raw['infinity-container']['super-infinity-chest'] then
local sc = 2
for _, i in pairs(prototypes.item) do
if not i.hidden and not (i.subgroup and (i.subgroup == 'parameters' or i.subgroup == 'spawnables')) then
sc = sc + 1
end
end
data.raw['infinity-container']['super-infinity-chest'].inventory_size = sc
end