mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 13:53:12 +09:00
.
This commit is contained in:
1 parent
34a3e7ee3c
commit
e9223cb508
2 files changed
+12
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user