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