This commit is contained in:
2026-06-04 01:06:30 +09:00
parent 6411674204
commit 03c15ea5c9
2 changed files with 56 additions and 57 deletions
+38 -38
View File
@@ -544,51 +544,51 @@ local items = {
},
['technology'] = {
-- SPACE_AGE 0
'planet-discovery-vulcanus',
'planet-discovery-gleba',
'planet-discovery-fulgora',
'planet-discovery-aquilo',
'recycling',
['planet-discovery-vulcanus'] = true,
['planet-discovery-gleba'] = true,
['planet-discovery-fulgora'] = true,
['planet-discovery-aquilo'] = true,
['recycling'] = true,
-- SPACE_AGE 5
'lightning-collector',
'tungsten-carbide',
'tungsten-steel',
'metallurgic-science-pack',
'yumako',
['lightning-collector'] = true,
['tungsten-carbide'] = true,
['tungsten-steel'] = true,
['metallurgic-science-pack'] = true,
['yumako'] = true,
-- SPACE_AGE 10
'jellynut',
'bioflux',
'artificial-soil',
'overgrowth-soil',
'bacteria-cultivation',
['jellynut'] = true,
['bioflux'] = true,
['artificial-soil'] = true,
['overgrowth-soil'] = true,
['bacteria-cultivation'] = true,
-- SPACE_AGE 15
'bioflux-processing',
'agricultural-science-pack',
'captivity',
'biter-egg-handling',
'carbon-fiber',
['bioflux-processing'] = true,
['agricultural-science-pack'] = true,
['captivity'] = true,
['biter-egg-handling'] = true,
['carbon-fiber'] = true,
-- SPACE_AGE 20
'fish-breeding',
'holmium-processing',
'electromagnetic-science-pack',
'rail-support-foundations',
'lithium-processing',
['fish-breeding'] = true,
['holmium-processing'] = true,
['electromagnetic-science-pack'] = true,
['rail-support-foundations'] = true,
['lithium-processing'] = true,
-- SPACE_AGE 25
'quantum-processor',
'cryogenic-science-pack',
'captive-biter-spawner',
'promethium-science-pack',
'foundation',
['quantum-processor'] = true,
['cryogenic-science-pack'] = true,
['captive-biter-spawner'] = true,
['promethium-science-pack'] = true,
['foundation'] = true,
-- SPACE_AGE 30
'scrap-recycling-productivity',
'biochamber',
'space-platform-thruster',
'space-platform',
'asteroid-reprocessing',
['scrap-recycling-productivity'] = true,
['biochamber'] = true,
['space-platform-thruster'] = true,
['space-platform'] = true,
['asteroid-reprocessing'] = true,
-- SPACE_AGE 35
'advanced-asteroid-processing',
'asteroid-productivity',
'calcite-processing',
['advanced-asteroid-processing'] = true,
['asteroid-productivity'] = true,
['calcite-processing'] = true,
},
['achievement'] = {
-- SPACE_AGE 0
+16 -17
View File
@@ -393,28 +393,27 @@ if data.raw.item['ice'] then
end
-- GM-VP H 38 SPACE_AGE RESEARCH
for _, v in pairs(items['technology']) do
if data.raw.technology[v] then
data.raw.technology[v].hidden = true
data.raw.technology[v].hidden_in_factoriopedia = true
data.raw.technology[v].effects = nil
if data.raw.technology and items['technology'] then
for _, v in pairs(data.raw.technology) do
if items['technology'][v.name] then
v.hidden = true
v.hidden_in_factoriopedia = true
v.effects = nil
if data.raw.technology[v].research_trigger then
data.raw.technology[v].research_trigger = nil
data.raw.technology[v].unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
if v.research_trigger then
v.research_trigger = nil
v.unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
end
if data.raw.technology[v].unit and data.raw.technology[v].unit.ingredients then
data.raw.technology[v].unit.ingredients = {{'space-science-pack', 1}}
if v.unit and v.unit.ingredients then
v.unit.ingredients = {{'space-science-pack', 1}}
end
end
end
for _, tech in pairs(data.raw.technology) do
if tech.unit and tech.unit.ingredients then
for i = #tech.unit.ingredients, 1, -1 do
if items['technology_ingredient_removal'][tech.unit.ingredients[i][1]] then
table.remove(tech.unit.ingredients, i)
elseif v.unit and v.unit.ingredients then
for i = #v.unit.ingredients, 1, -1 do
if items['technology_ingredient_removal'][v.unit.ingredients[i][1]] then
table.remove(v.unit.ingredients, i)
end
end
end
end