mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -400,7 +400,6 @@ local items = {
|
|||||||
['biter-egg-handling'] = true,
|
['biter-egg-handling'] = true,
|
||||||
['carbon-fiber'] = true,
|
['carbon-fiber'] = true,
|
||||||
['fish-breeding'] = true,
|
['fish-breeding'] = true,
|
||||||
['calcite-processing'] = true,
|
|
||||||
['holmium-processing'] = true,
|
['holmium-processing'] = true,
|
||||||
['electromagnetic-plant'] = true,
|
['electromagnetic-plant'] = true,
|
||||||
['electromagnetic-science-pack'] = true,
|
['electromagnetic-science-pack'] = true,
|
||||||
@@ -492,11 +491,9 @@ local items = {
|
|||||||
['ammoniacal-solution-separation'] = true,
|
['ammoniacal-solution-separation'] = true,
|
||||||
['lithium'] = true,
|
['lithium'] = true,
|
||||||
['lithium-plate'] = true,
|
['lithium-plate'] = true,
|
||||||
['fluoroketone'] = true,
|
|
||||||
['ice-platform'] = true,
|
['ice-platform'] = true,
|
||||||
['solid-fuel-from-ammonia'] = true,
|
['solid-fuel-from-ammonia'] = true,
|
||||||
['ammonia-rocket-fuel'] = true,
|
['ammonia-rocket-fuel'] = true,
|
||||||
['fluoroketone-cooling'] = true,
|
|
||||||
['quantum-processor'] = true,
|
['quantum-processor'] = true,
|
||||||
['holmium-solution'] = true,
|
['holmium-solution'] = true,
|
||||||
['holmium-plate'] = true,
|
['holmium-plate'] = true,
|
||||||
@@ -525,7 +522,9 @@ local items = {
|
|||||||
['foundation'] = true,
|
['foundation'] = true,
|
||||||
['foundation-o'] = true,
|
['foundation-o'] = true,
|
||||||
['space-platform-foundation'] = true,
|
['space-platform-foundation'] = true,
|
||||||
['space-platform-starter-pack'] = true
|
['space-platform-starter-pack'] = true,
|
||||||
|
['steam-condensation'] = true,
|
||||||
|
['ice-melting'] = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -769,7 +769,6 @@ if settings.startup['PHI-SA'].value then
|
|||||||
data.raw['tips-and-tricks-item']['spoilables-research'] = nil
|
data.raw['tips-and-tricks-item']['spoilables-research'] = nil
|
||||||
|
|
||||||
data.raw['dont-build-entity-achievement']['logistic-network-embargo'].research_with = nil
|
data.raw['dont-build-entity-achievement']['logistic-network-embargo'].research_with = nil
|
||||||
data.raw['use-entity-in-energy-production-achievement']['fusion-power'] = nil
|
|
||||||
data.raw['create-platform-achievement']['reach-for-the-stars'] = nil
|
data.raw['create-platform-achievement']['reach-for-the-stars'] = nil
|
||||||
data.raw['change-surface-achievement']['visit-fulgora'] = nil
|
data.raw['change-surface-achievement']['visit-fulgora'] = nil
|
||||||
data.raw['change-surface-achievement']['visit-gleba'] = nil
|
data.raw['change-surface-achievement']['visit-gleba'] = nil
|
||||||
@@ -790,16 +789,6 @@ if settings.startup['PHI-SA'].value then
|
|||||||
data.raw['kill-achievement']['if-it-bleeds'] = nil
|
data.raw['kill-achievement']['if-it-bleeds'] = nil
|
||||||
data.raw['kill-achievement']['we-need-bigger-guns'] = nil
|
data.raw['kill-achievement']['we-need-bigger-guns'] = nil
|
||||||
data.raw['kill-achievement']['size-doesnt-matter'] = nil
|
data.raw['kill-achievement']['size-doesnt-matter'] = nil
|
||||||
data.raw['complete-objective-achievement']['work-around-the-clock'] = nil
|
|
||||||
data.raw['complete-objective-achievement']['express-delivery'] = nil
|
|
||||||
|
|
||||||
for _, v in pairs(items['item']) do
|
|
||||||
if v.enabled and v.mod and (v.mod == 'space-age' or v.mod == 'quality') then
|
|
||||||
if (not data.raw.technology[v.tech]) or data.raw.technology[v.tech].hidden then
|
|
||||||
v.enabled = false
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, v in pairs(data.raw.recipe) do
|
for _, v in pairs(data.raw.recipe) do
|
||||||
if items['space-age']['recipe'][v.name] then
|
if items['space-age']['recipe'][v.name] then
|
||||||
@@ -810,6 +799,14 @@ 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
|
||||||
|
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
|
||||||
|
v.enabled = false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
for _, v in pairs(data.raw.lab) do
|
for _, v in pairs(data.raw.lab) do
|
||||||
v.inputs = {'automation-science-pack', 'logistic-science-pack', 'military-science-pack', 'chemical-science-pack', 'production-science-pack', 'utility-science-pack', 'space-science-pack'}
|
v.inputs = {'automation-science-pack', 'logistic-science-pack', 'military-science-pack', 'chemical-science-pack', 'production-science-pack', 'utility-science-pack', 'space-science-pack'}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user