forked from cacklingfiend/lignumis
Mark Any planet start and Planet picker as incompatible
This commit is contained in:
parent
9a89515b81
commit
c7885afe34
12 changed files with 202 additions and 236 deletions
|
|
@ -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" } }
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue