mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-31 04:11:39 +09:00
.
This commit is contained in:
@@ -799,9 +799,9 @@ if settings.startup['PHI-SA'].value then
|
|||||||
v.surface_conditions = nil
|
v.surface_conditions = nil
|
||||||
end
|
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 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
|
v.enabled = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user