mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-23 21:53:12 +09:00
.
This commit is contained in:
1 parent
551c15d295
commit
33d686f6e4
1 file changed
+2
-5
@@ -4,12 +4,9 @@ local hide = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if data.raw['infinity-container']['super-infinity-chest'] then
|
if data.raw['infinity-container']['super-infinity-chest'] then
|
||||||
--[[
|
local sc = 1
|
||||||
3 planner, book
|
|
||||||
]]
|
|
||||||
local sc = 5
|
|
||||||
|
|
||||||
for _, c in pairs({'ammo', 'armor', 'capsule', 'gun', 'item', 'item-with-entity-data', 'repair-tool'}) do
|
for _, c in pairs(defines.prototypes.item) do
|
||||||
if data.raw[c] then
|
if data.raw[c] then
|
||||||
for _, i in pairs(data.raw[c]) do
|
for _, i in pairs(data.raw[c]) do
|
||||||
if not (i.hidden or (i.subgroup and hide[i.subgroup])) then
|
if not (i.hidden or (i.subgroup and hide[i.subgroup])) then
|
||||||
|
|||||||
Reference in new issue
Block a user