This commit is contained in:
2026-06-26 02:14:19 +09:00
parent b86c382f02
commit 00748914db
2 changed files with 5 additions and 11 deletions
-10
View File
@@ -1,10 +0,0 @@
if settings.startup['PHI-GM'].value then
if settings.startup['PHI-GM'].value == 'VP' then
for k, v in pairs(data.raw.recipe) do
if v.categories and v.categories == {'recycling'} and v.hidden then
data.raw.recipe[k] = nil
end
end
end
end
+5 -1
View File
@@ -461,7 +461,7 @@ end
-- GM-VP C 61 SPACE_AGE RECIPE -- GM-VP C 61 SPACE_AGE RECIPE
-- GM-VP H 1 QUALITY RECIPE -- GM-VP H 1 QUALITY RECIPE
-- GM-VP H 54 SPACE_AGE RECIPE -- GM-VP H 54 SPACE_AGE RECIPE
for _, v in pairs(data.raw.recipe) do for rk, v in pairs(data.raw.recipe) do
v.surface_conditions = nil v.surface_conditions = nil
v.maximum_productivity = nil v.maximum_productivity = nil
v.auto_recycle = false v.auto_recycle = false
@@ -475,6 +475,10 @@ for _, v in pairs(data.raw.recipe) do
v.hidden = true v.hidden = true
v.hidden_in_factoriopedia = true v.hidden_in_factoriopedia = true
end end
if v.categories and v.categories == {'recycling'} and v.hidden then
data.raw.recipe[rk] = nil
end
end end
if data.raw.recipe['scrap-recycling'] then if data.raw.recipe['scrap-recycling'] then