Mark Any planet start and Planet picker as incompatible

This commit is contained in:
Simon Brodtmann 2025-03-12 20:16:43 +01:00
parent 9a89515b81
commit c7885afe34
12 changed files with 202 additions and 236 deletions

View file

@ -15,11 +15,11 @@ InitExisting.on_init = function()
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
force.technologies["iron-processing"].researched = true
force.technologies["copper-processing"].researched = true
end
game.print { "", { "lignumis.start-new-game" } }

View file

@ -62,7 +62,6 @@ end
InitNew.on_init = function()
if game.tick > 0 then return end
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
init_intro()
init_space_locations()

View file

@ -37,7 +37,6 @@ end
-- Initialize the freeplay scenario
local function init_freeplay(event)
if script.active_mods["planet-picker"] or script.active_mods["any-planet-start"] then return end
if storage.crashed_ship_lignumis then return end
local player = game.get_player(event.player_index)