mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
+38
-38
@@ -544,51 +544,51 @@ local items = {
|
|||||||
},
|
},
|
||||||
['technology'] = {
|
['technology'] = {
|
||||||
-- SPACE_AGE 0
|
-- SPACE_AGE 0
|
||||||
'planet-discovery-vulcanus',
|
['planet-discovery-vulcanus'] = true,
|
||||||
'planet-discovery-gleba',
|
['planet-discovery-gleba'] = true,
|
||||||
'planet-discovery-fulgora',
|
['planet-discovery-fulgora'] = true,
|
||||||
'planet-discovery-aquilo',
|
['planet-discovery-aquilo'] = true,
|
||||||
'recycling',
|
['recycling'] = true,
|
||||||
-- SPACE_AGE 5
|
-- SPACE_AGE 5
|
||||||
'lightning-collector',
|
['lightning-collector'] = true,
|
||||||
'tungsten-carbide',
|
['tungsten-carbide'] = true,
|
||||||
'tungsten-steel',
|
['tungsten-steel'] = true,
|
||||||
'metallurgic-science-pack',
|
['metallurgic-science-pack'] = true,
|
||||||
'yumako',
|
['yumako'] = true,
|
||||||
-- SPACE_AGE 10
|
-- SPACE_AGE 10
|
||||||
'jellynut',
|
['jellynut'] = true,
|
||||||
'bioflux',
|
['bioflux'] = true,
|
||||||
'artificial-soil',
|
['artificial-soil'] = true,
|
||||||
'overgrowth-soil',
|
['overgrowth-soil'] = true,
|
||||||
'bacteria-cultivation',
|
['bacteria-cultivation'] = true,
|
||||||
-- SPACE_AGE 15
|
-- SPACE_AGE 15
|
||||||
'bioflux-processing',
|
['bioflux-processing'] = true,
|
||||||
'agricultural-science-pack',
|
['agricultural-science-pack'] = true,
|
||||||
'captivity',
|
['captivity'] = true,
|
||||||
'biter-egg-handling',
|
['biter-egg-handling'] = true,
|
||||||
'carbon-fiber',
|
['carbon-fiber'] = true,
|
||||||
-- SPACE_AGE 20
|
-- SPACE_AGE 20
|
||||||
'fish-breeding',
|
['fish-breeding'] = true,
|
||||||
'holmium-processing',
|
['holmium-processing'] = true,
|
||||||
'electromagnetic-science-pack',
|
['electromagnetic-science-pack'] = true,
|
||||||
'rail-support-foundations',
|
['rail-support-foundations'] = true,
|
||||||
'lithium-processing',
|
['lithium-processing'] = true,
|
||||||
-- SPACE_AGE 25
|
-- SPACE_AGE 25
|
||||||
'quantum-processor',
|
['quantum-processor'] = true,
|
||||||
'cryogenic-science-pack',
|
['cryogenic-science-pack'] = true,
|
||||||
'captive-biter-spawner',
|
['captive-biter-spawner'] = true,
|
||||||
'promethium-science-pack',
|
['promethium-science-pack'] = true,
|
||||||
'foundation',
|
['foundation'] = true,
|
||||||
-- SPACE_AGE 30
|
-- SPACE_AGE 30
|
||||||
'scrap-recycling-productivity',
|
['scrap-recycling-productivity'] = true,
|
||||||
'biochamber',
|
['biochamber'] = true,
|
||||||
'space-platform-thruster',
|
['space-platform-thruster'] = true,
|
||||||
'space-platform',
|
['space-platform'] = true,
|
||||||
'asteroid-reprocessing',
|
['asteroid-reprocessing'] = true,
|
||||||
-- SPACE_AGE 35
|
-- SPACE_AGE 35
|
||||||
'advanced-asteroid-processing',
|
['advanced-asteroid-processing'] = true,
|
||||||
'asteroid-productivity',
|
['asteroid-productivity'] = true,
|
||||||
'calcite-processing',
|
['calcite-processing'] = true,
|
||||||
},
|
},
|
||||||
['achievement'] = {
|
['achievement'] = {
|
||||||
-- SPACE_AGE 0
|
-- SPACE_AGE 0
|
||||||
|
|||||||
+18
-19
@@ -393,28 +393,27 @@ if data.raw.item['ice'] then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- GM-VP H 38 SPACE_AGE RESEARCH
|
-- GM-VP H 38 SPACE_AGE RESEARCH
|
||||||
for _, v in pairs(items['technology']) do
|
if data.raw.technology and items['technology'] then
|
||||||
if data.raw.technology[v] then
|
for _, v in pairs(data.raw.technology) do
|
||||||
data.raw.technology[v].hidden = true
|
if items['technology'][v.name] then
|
||||||
data.raw.technology[v].hidden_in_factoriopedia = true
|
v.hidden = true
|
||||||
data.raw.technology[v].effects = nil
|
v.hidden_in_factoriopedia = true
|
||||||
|
v.effects = nil
|
||||||
|
|
||||||
if data.raw.technology[v].research_trigger then
|
if v.research_trigger then
|
||||||
data.raw.technology[v].research_trigger = nil
|
v.research_trigger = nil
|
||||||
data.raw.technology[v].unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
|
v.unit = {count = 1000, time = 30, ingredients = {{'automation-science-pack', 1}}}
|
||||||
end
|
end
|
||||||
|
|
||||||
if data.raw.technology[v].unit and data.raw.technology[v].unit.ingredients then
|
if v.unit and v.unit.ingredients then
|
||||||
data.raw.technology[v].unit.ingredients = {{'space-science-pack', 1}}
|
v.unit.ingredients = {{'space-science-pack', 1}}
|
||||||
end
|
end
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
for _, tech in pairs(data.raw.technology) do
|
elseif v.unit and v.unit.ingredients then
|
||||||
if tech.unit and tech.unit.ingredients then
|
for i = #v.unit.ingredients, 1, -1 do
|
||||||
for i = #tech.unit.ingredients, 1, -1 do
|
if items['technology_ingredient_removal'][v.unit.ingredients[i][1]] then
|
||||||
if items['technology_ingredient_removal'][tech.unit.ingredients[i][1]] then
|
table.remove(v.unit.ingredients, i)
|
||||||
table.remove(tech.unit.ingredients, i)
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user