This commit is contained in:
2024-11-15 23:28:24 +09:00
parent 6e6f4f4efa
commit ce3a0fd10d
2 changed files with 11 additions and 15 deletions

View File

@@ -400,7 +400,6 @@ local items = {
['biter-egg-handling'] = true,
['carbon-fiber'] = true,
['fish-breeding'] = true,
['calcite-processing'] = true,
['holmium-processing'] = true,
['electromagnetic-plant'] = true,
['electromagnetic-science-pack'] = true,
@@ -492,11 +491,9 @@ local items = {
['ammoniacal-solution-separation'] = true,
['lithium'] = true,
['lithium-plate'] = true,
['fluoroketone'] = true,
['ice-platform'] = true,
['solid-fuel-from-ammonia'] = true,
['ammonia-rocket-fuel'] = true,
['fluoroketone-cooling'] = true,
['quantum-processor'] = true,
['holmium-solution'] = true,
['holmium-plate'] = true,
@@ -525,7 +522,9 @@ local items = {
['foundation'] = true,
['foundation-o'] = true,
['space-platform-foundation'] = true,
['space-platform-starter-pack'] = true
['space-platform-starter-pack'] = true,
['steam-condensation'] = true,
['ice-melting'] = true
}
}
}

View File

@@ -769,7 +769,6 @@ if settings.startup['PHI-SA'].value then
data.raw['tips-and-tricks-item']['spoilables-research'] = 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['change-surface-achievement']['visit-fulgora'] = 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']['we-need-bigger-guns'] = 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
if items['space-age']['recipe'][v.name] then
@@ -810,6 +799,14 @@ if settings.startup['PHI-SA'].value then
v.surface_conditions = nil
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
v.inputs = {'automation-science-pack', 'logistic-science-pack', 'military-science-pack', 'chemical-science-pack', 'production-science-pack', 'utility-science-pack', 'space-science-pack'}
end