Add setting "Enable progressive technologies"

This commit is contained in:
Simon Brodtmann 2025-02-23 22:34:21 +01:00
parent c67aaeb1b7
commit f9fc1d77a8
4 changed files with 22 additions and 3 deletions

View file

@ -274,11 +274,17 @@ if not mods["planet-picker"] 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({ "wood-science-pack", "steam-science-pack", "space-science-pack" })
production_science_pack_technology:addIngredients({ "space-science-pack" })
if not settings.startup["lignumis-technology-progression"].value then
production_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-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({ "wood-science-pack", "steam-science-pack", "space-science-pack" })
utility_science_pack_technology:addIngredients({ "space-science-pack" })
if not settings.startup["lignumis-technology-progression"].value then
utility_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-science-pack" })
end
end
if not mods["planet-muluna"] then -- Muluna does the same