mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-19 05:53:12 +09:00
.
This commit is contained in:
1 parent
4aa6faf994
commit
b19207ea5e
2 files changed
+11
-3
No files matched your search
@@ -1,9 +1,13 @@
|
||||
local hide = {
|
||||
['parameters'] = true,
|
||||
['spawnables'] = true,
|
||||
}
|
||||
|
||||
if data.raw['infinity-container']['super-infinity-chest'] then
|
||||
local sc = 2
|
||||
local sc = 1
|
||||
|
||||
for _, i in pairs(data.raw.item) do
|
||||
if not i.hidden and not (i.subgroup and (i.subgroup == 'parameters' or i.subgroup == 'spawnables')) then
|
||||
if not (i.hidden or (i.subgroup and hide[i.subgroup])) then
|
||||
sc = sc + 1
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user