mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -681,6 +681,7 @@ local items = {
|
||||
['space-platform-hub'] = true,
|
||||
},
|
||||
['hidden'] = {
|
||||
-- SPACE_AGE 0
|
||||
['biochamber'] = 'assembling-machine',
|
||||
['captive-biter-spawner'] = 'assembling-machine',
|
||||
['lightning-rod']= 'lightning-attractor',
|
||||
|
||||
@@ -452,10 +452,12 @@ for _, v in pairs({'vulcanus_coal', 'tungsten_ore', 'calcite', 'sulfuric_acid_ge
|
||||
end
|
||||
end
|
||||
|
||||
for k, v in pairs(items['hidden']) do
|
||||
if data.raw[v] and data.raw[v][k] then
|
||||
data.raw[v][k].hidden = true
|
||||
data.raw[v][k].hidden_in_factoriopedia = true
|
||||
if items['hidden'] then
|
||||
for k, v in pairs(items['hidden']) do
|
||||
if data.raw[v] and data.raw[v][k] then
|
||||
data.raw[v][k].hidden = true
|
||||
data.raw[v][k].hidden_in_factoriopedia = true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user