This commit is contained in:
2025-03-11 23:32:53 +09:00
parent 20ca66398a
commit 1d39a70471

View File

@@ -1025,18 +1025,13 @@ if settings.startup['PHI-VP'].value then
end
end
for k, v in pairs(items['space-age']['PHI-VP-MAIN']['recipe']) do
if data.raw.recipe[k] then
data.raw.recipe[k].hidden = v
data.raw.recipe[k].hidden_in_factoriopedia = v
end
for k, _ in pairs(items['space-age']['PHI-VP-MAIN']['recipe']) do
data.raw.recipe[k] = nil
end
for k, v in pairs(items['space-age']['PHI-VP-MAIN']['item']) do
if data.raw.item[k] then
data.raw.item[k].hidden = v
data.raw.item[k].hidden_in_factoriopedia = v
end
data.raw.item[k].hidden = v
data.raw.item[k].hidden_in_factoriopedia = v
end
data.raw.recipe['cliff-explosives'].ingredients = {{type = 'item', name = 'explosives', amount = 10}, {type = 'item', name = 'grenade', amount = 1}, {type = 'item', name = 'barrel', amount = 1}}
@@ -1172,7 +1167,7 @@ if settings.startup['PHI-VP'].value then
data.raw['capsule'][v].hidden_in_factoriopedia = true
end
for _, v in pairs({'small-stomper-shell', 'medium-stomper-shell', 'big-stomper-shell', 'big-volcanic-rock', 'huge-volcanic-rock'}) do
for _, v in pairs({'small-stomper-shell', 'medium-stomper-shell', 'big-stomper-shell', 'big-volcanic-rock', 'huge-volcanic-rock', 'copper-stromatolite', 'iron-stromatolite', 'vulcanus-chimney-short', 'vulcanus-chimney-truncated', 'vulcanus-chimney', 'vulcanus-chimney-cold', 'vulcanus-chimney-faded', 'fulgurite', 'fulgurite-small'}) do
data.raw['simple-entity'][v].hidden = true
data.raw['simple-entity'][v].hidden_in_factoriopedia = true
end