This commit is contained in:
2026-06-29 19:55:14 +09:00
parent 34a3e7ee3c
commit e9223cb508
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
if settings.startup['PHI-CT'].value then
if data.raw['infinity-container']['super-infinity-chest'] then
local sc = 2
for c in pairs(defines.prototypes.item) do
sc = sc + table_size(data.raw[c] or {})
end
data.raw['infinity-container']['super-infinity-chest'].inventory_size = sc
end
end