diff --git a/maps/chronosphere/main.lua b/maps/chronosphere/main.lua index 3d13b30d..429cc45a 100644 --- a/maps/chronosphere/main.lua +++ b/maps/chronosphere/main.lua @@ -232,7 +232,7 @@ function Public.chronojump(choice) objective.lab_cells = {} objective.active_surface_index = game.create_surface("chronosphere" .. objective.chronojumps, Chrono.get_map_gen_settings()).index local surface = game.surfaces[objective.active_surface_index] - log("seed of new surface: " .. surface.map_gen_settings.seed) + --log("seed of new surface: " .. surface.map_gen_settings.seed) local planet = objective.planet if choice then Planets.determine_planet(choice) @@ -247,7 +247,7 @@ function Public.chronojump(choice) game.delete_surface(oldsurface) Chrono.post_jump() Event_functions.flamer_nerfs() - surface.pollute(objective.locomotive.position, 150 * (4 / (objective.upgrades[2] / 2 + 1)) * (1 + objective.chronojumps) * global.difficulty_vote_value) + surface.pollute(objective.locomotive.position, 150 * (3 / (objective.upgrades[2] / 3 + 1)) * (1 + objective.chronojumps) * global.difficulty_vote_value) ::continue:: end @@ -305,14 +305,14 @@ local function tick() objective.chronotimer = objective.chronotimer + 1 objective.passivetimer = objective.passivetimer + 1 if objective.chronojumps > 0 then - if objective.locomotive ~= nil then + if objective.locomotive ~= nil then local surface = game.surfaces[objective.active_surface_index] local pos = objective.locomotive.position or {x=0,y=0} if surface and surface.valid then game.surfaces[objective.active_surface_index].pollute( - pos, - (0.5 * objective.chronojumps) * - (4 / (objective.upgrades[2] / 2 + 1)) * + pos, + (0.5 * objective.chronojumps) * + (3 / (objective.upgrades[2] / 3 + 1)) * global.difficulty_vote_value) end end @@ -320,8 +320,8 @@ local function tick() if objective.planet[1].name.id == 19 then Tick_functions.dangertimer() end - if Tick_functions.check_chronoprogress() then - Public.chronojump(nil) + if Tick_functions.check_chronoprogress() then + Public.chronojump(nil) end end if tick % 120 == 0 then @@ -595,4 +595,4 @@ end -- end --}) -return Public \ No newline at end of file +return Public diff --git a/maps/chronosphere/tick_functions.lua b/maps/chronosphere/tick_functions.lua index d3372132..e87499ea 100644 --- a/maps/chronosphere/tick_functions.lua +++ b/maps/chronosphere/tick_functions.lua @@ -47,7 +47,7 @@ function Public_tick.charge_chronosphere() if energy > 3010000 and objective.chronotimer < objective.chrononeeds - 182 and objective.chronotimer > 130 then acus[i].energy = acus[i].energy - 3000000 objective.chronotimer = objective.chronotimer + 1 - game.surfaces[objective.active_surface_index].pollute(objective.locomotive.position, (10 + 2 * objective.chronojumps) * (4 / (objective.upgrades[2] / 2 + 1)) * global.difficulty_vote_value) + game.surfaces[objective.active_surface_index].pollute(objective.locomotive.position, (10 + 2 * objective.chronojumps) * (3 / (objective.upgrades[2] / 3 + 1)) * global.difficulty_vote_value) end end end diff --git a/maps/mountain_fortress_v2/main.lua b/maps/mountain_fortress_v2/main.lua index 3851614a..026411a3 100644 --- a/maps/mountain_fortress_v2/main.lua +++ b/maps/mountain_fortress_v2/main.lua @@ -466,9 +466,9 @@ local function on_init() T.localised_category = "mountain_fortress" T.main_caption_color = {r = 150, g = 150, b = 0} T.sub_caption_color = {r = 0, g = 150, b = 0} - global.rocks_yield_ore_maximum_amount = 999 + global.rocks_yield_ore_maximum_amount = 500 global.rocks_yield_ore_base_amount = 50 - global.rocks_yield_ore_distance_modifier = 0.025 + global.rocks_yield_ore_distance_modifier = 0.020 global.explosion_cells_destructible_tiles = { ["out-of-map"] = 1500, diff --git a/modules/admins_operate_biters.lua b/modules/admins_operate_biters.lua index 2b992154..27797d29 100644 --- a/modules/admins_operate_biters.lua +++ b/modules/admins_operate_biters.lua @@ -7,6 +7,7 @@ global.biter_command.enabled = true global.biter_command.whitelist = {} global.biter_command.admin_mode = true --if only admins can see and use the panel global.biter_command.teleporting = false --if teleporting is allowed for non-admins +global.biter_command.buildings = true ---if player can trigger building nests and worms local worm_raffle = { "small-worm-turret", "small-worm-turret", "medium-worm-turret", "small-worm-turret", @@ -45,6 +46,7 @@ local function get_evo(force) end local function place_nest_near_unit_group(group) + if not global.biter_command.buildings then return false end if not group.members then return false end if #group.members < 5 then return false end local units = group.members @@ -66,6 +68,7 @@ local function place_nest_near_unit_group(group) end local function build_worm(group) + if not global.biter_command.buildings then return false end if not group.members then return false end if #group.members < 5 then return false end local units = group.members @@ -227,7 +230,7 @@ local function settle(group, source_player) flying_text(nil, 1, group.position, source_player) else flying_text(nil, 2, group.position, source_player) - source_player.print("Settling new nest failed. Check if group has enough members(5+) and there is empty space.") + source_player.print("Settling new nest failed. Check if group has enough members(5+) and there is empty space (or nests are disabled).") end end @@ -237,7 +240,7 @@ local function siege(group, source_player) flying_text(nil, 1, group.position, source_player) else flying_text(nil, 2, group.position, source_player) - source_player.print("Making worm failed. Check if group has enough members(5+) and there is empty space.") + source_player.print("Making worm failed. Check if group has enough members(5+) and there is empty space (or worms are disabled).") end end