Only move yellow and purple science after space science when progressive technologies are enabled

This commit is contained in:
Simon Brodtmann 2025-12-16 20:33:04 +01:00
parent 8974981d07
commit 709c834ebd

View file

@ -283,19 +283,22 @@ table.insert(physical_damage_technology_4.effects, {
local weapon_speed_technology_4 = data.raw.technology["weapon-shooting-speed-4"]
weapon_speed_technology_4.prerequisites = { "weapon-shooting-speed-3", "military-science-pack" }
local production_science_pack_technology = Technology:new("production-science-pack")
production_science_pack_technology:replacePrerequisite("advanced-material-processing-2", "space-platform-thruster")
production_science_pack_technology:addIngredients({ "space-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
local production_science_pack_technology = Technology:new("production-science-pack")
production_science_pack_technology:replacePrerequisite("advanced-material-processing-2", "space-platform-thruster")
production_science_pack_technology:addIngredients({ "space-science-pack" })
production_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
local utility_science_pack_technology = Technology:new("utility-science-pack")
utility_science_pack_technology:setPrerequisites({ "space-platform-thruster" })
utility_science_pack_technology:addIngredients({ "space-science-pack" })
utility_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
else
Technology:new("deep-miner")
:addPrerequisite("production-science-pack")
:addIngredient("production-science-pack")
end
local utility_science_pack_technology = Technology:new("utility-science-pack")
utility_science_pack_technology:setPrerequisites({ "space-platform-thruster" })
utility_science_pack_technology:addIngredients({ "space-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
utility_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
end
if not mods["planet-muluna"] then -- Muluna does the same
Technology:new("logistic-robotics"):addRecipe("requester-chest")