I sould've tested it...

This commit is contained in:
Simon Brodtmann 2025-02-23 22:40:45 +01:00
parent 541bb4e4f7
commit 0388f35d30
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ Lignumis = {
}
}
if settings.startup["lignumis-technology-progression"].value then
if not settings.startup["lignumis-technology-progression"].value then
Lignumis.science_pack_whitelist = {}
end

View file

@ -275,15 +275,15 @@ 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({ "space-science-pack" })
if not settings.startup["lignumis-technology-progression"].value then
production_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
production_science_pack_technology:addIngredients({ "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({ "space-science-pack" })
if not settings.startup["lignumis-technology-progression"].value then
utility_science_pack_technology:removeIngredients({ "wood-science-pack", "steam-science-pack" })
if settings.startup["lignumis-technology-progression"].value then
utility_science_pack_technology:addIngredients({ "wood-science-pack", "steam-science-pack" })
end
end