mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user