mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -799,9 +799,9 @@ if settings.startup['PHI-SA'].value then
|
||||
v.surface_conditions = nil
|
||||
end
|
||||
|
||||
for k, v in pairs(items['item']) do
|
||||
for _, v in pairs(items['item']) do
|
||||
if v.enabled and v.mod and (v.mod == 'space-age' or v.mod == 'quality') then
|
||||
if data.raw.technology[v.tech].hidden or data.raw.recipe[k].hidden then
|
||||
if (data.raw.technology[v.tech] and data.raw.technology[v.tech].hidden) or (data.raw.recipe[v.name] and data.raw.recipe[v.name].hidden) then
|
||||
v.enabled = false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user