From ac7d60643bebdbc9cc163f2b9f20e91286a01ab2 Mon Sep 17 00:00:00 2001 From: SimonFlapse Date: Fri, 11 Oct 2019 21:07:16 +0200 Subject: [PATCH] More tweaking --- control.lua | 2 +- map_gen/maps/space_race/lobby.lua | 2 +- map_gen/maps/space_race/market_handler.lua | 2 +- map_gen/maps/space_race/scenario.lua | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/control.lua b/control.lua index 7b33815e..d8beedbe 100644 --- a/control.lua +++ b/control.lua @@ -151,7 +151,7 @@ if config.redmew_settings.enabled then require 'features.gui.redmew_settings' end -require 'features.snake.control' +--require 'features.snake.control' -- Debug-only modules if _DEBUG then diff --git a/map_gen/maps/space_race/lobby.lua b/map_gen/maps/space_race/lobby.lua index ecfa0704..3308be89 100644 --- a/map_gen/maps/space_race/lobby.lua +++ b/map_gen/maps/space_race/lobby.lua @@ -16,7 +16,7 @@ Generate.get_surfaces()['snake'] = shape local delay_snake_checker -local players_needed = 1 +local players_needed = 4 local size = 45 diff --git a/map_gen/maps/space_race/market_handler.lua b/map_gen/maps/space_race/market_handler.lua index 6c57e123..19c75190 100644 --- a/map_gen/maps/space_race/market_handler.lua +++ b/map_gen/maps/space_race/market_handler.lua @@ -39,7 +39,7 @@ local entity_drop_amount = {--NEEDS BALANCING! ['small-worm-turret'] = {low = 2, high = 5, chance = 0.5}, ['medium-worm-turret'] = {low = 5, high = 7, chance = 0.5}, ['big-worm-turret'] = {low = 5, high = 10, chance = 0.5}, - ['behemoth-worm-turret'] = {low = 5, high = 15, chance = 0.5}, + ['behemoth-worm-turret'] = {low = 5, high = 15, chance = 0.4}, -- default is 0, no chance of coins dropping from biters/spitters ['small-biter'] = {low = 1, high = 2, chance = 0.05}, ['small-spitter'] = {low = 2, high = 3, chance = 0.05}, diff --git a/map_gen/maps/space_race/scenario.lua b/map_gen/maps/space_race/scenario.lua index 579f0816..42fdb71d 100644 --- a/map_gen/maps/space_race/scenario.lua +++ b/map_gen/maps/space_race/scenario.lua @@ -30,8 +30,9 @@ config.turret_active_delay.turret_types = { } config.turret_active_delay.techs = {} config.player_create.show_info_at_start = false +config.camera.enabled = false -local players_needed = 1 +local players_needed = 4 local player_kill_reward = 25 local entity_kill_reward = 1 local startup_timer = 60 * 60 * 2 @@ -641,6 +642,9 @@ check_map_gen_is_done = ) local function check_ready_to_start() + if not primitives.game_started then + return + end local num_usa_players = #primitives.force_USA.connected_players local num_ussr_players = #primitives.force_USSR.connected_players local num_players = num_usa_players + num_ussr_players