forked from cacklingfiend/lignumis
Unlock basic Nauvis technologies when adding the mod to an existing game
This commit is contained in:
parent
328dfba605
commit
3ea157ff50
1 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,15 @@ InitExisting.on_init = function()
|
||||||
storage.nauvis_visited = true
|
storage.nauvis_visited = true
|
||||||
end
|
end
|
||||||
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" } }
|
game.print { "", { "lignumis.start-new-game" } }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue