Unlock basic Nauvis technologies when adding the mod to an existing game

This commit is contained in:
Simon Brodtmann 2025-02-04 14:59:52 +01:00
parent 328dfba605
commit 3ea157ff50

View file

@ -13,6 +13,15 @@ InitExisting.on_init = function()
storage.nauvis_visited = true
end
end
for _, force in pairs(game.forces) do
force.technologies["iron-processing"].researched = true
force.technologies["copper-processing"].researched = true
if force.is_space_location_unlocked("nauvis") then
force.technologies["planet-discovery-nauvis"].researched = true
end
end
game.print { "", { "lignumis.start-new-game" } }
end