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
+1 -1
View File
@@ -8,7 +8,7 @@ do
chest_filter[q_name] = {}
for _, i in pairs(prototypes.item) do
if not i.hidden and not (i.subgroup and i.subgroup == 'parameters') then
if not i.hidden and not (i.subgroup and (i.subgroup == 'parameters' or i.subgroup == 'spawnables')) then
j = j + 1
table.insert(chest_filter[q_name], {index = j, name = i.name, quality = q_name, mode = 'exactly', count = i.stack_size})
end
+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