From b5893c9b85b93a6feeb3b78fe56a5a50f8b4c61c Mon Sep 17 00:00:00 2001 From: MewMew Date: Sun, 19 Jan 2020 10:31:16 +0100 Subject: [PATCH] things --- comfy_panel/main.lua | 1 - control.lua | 3 ++- maps/biter_hatchery/main.lua | 10 +++++----- maps/fish_defender/main.lua | 2 +- maps/fish_defender/market.lua | 4 +++- maps/mountain_fortress_v2/main.lua | 2 ++ 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/comfy_panel/main.lua b/comfy_panel/main.lua index 5e803843..66142024 100644 --- a/comfy_panel/main.lua +++ b/comfy_panel/main.lua @@ -20,7 +20,6 @@ function Public.get_tabs(data) return comfy_panel_tabs end - function Public.comfy_panel_clear_left_gui(player) for _, child in pairs(player.gui.left.children) do child.visible = false diff --git a/control.lua b/control.lua index a8d04fd6..f9aab3d6 100644 --- a/control.lua +++ b/control.lua @@ -60,6 +60,7 @@ require "modules.autostash" --require "modules.explosives" --require "modules.biter_pets" --require "modules.no_solar" +--require "modules.biter_reanimator" --require "modules.wave_defense.main" --require "modules.fjei.main" ----------------------------- @@ -76,6 +77,7 @@ require "modules.autostash" --require "maps.territorial_control" --require "maps.cave_choppy.cave_miner" --require "maps.wave_of_death.WoD" +--require "maps.planet_prison" --require "maps.stone_maze.main" --require "maps.choppy" --require "maps.overgrowth" @@ -111,7 +113,6 @@ require "modules.autostash" --require "maps.rainbow_road" --require "maps.cube" --require "maps.forest_circle" ---require "maps.planet_prison" ----------------------------- ---- more modules here ---- diff --git a/maps/biter_hatchery/main.lua b/maps/biter_hatchery/main.lua index 0541da03..efee7d1f 100644 --- a/maps/biter_hatchery/main.lua +++ b/maps/biter_hatchery/main.lua @@ -1,5 +1,5 @@ ---require "modules.no_turrets" -require "maps.biter_hatchery.flamethrower_nerf" +require "modules.no_turrets" +--require "maps.biter_hatchery.flamethrower_nerf" local RPG = require "modules.rpg" local Tabs = require 'comfy_panel.main' local Map_score = require "modules.map_score" @@ -27,7 +27,7 @@ local map_gen_settings = { }, } -local m = 5 +local m = 2 local health_boost_food_values = { ["automation-science-pack"] = 0.000001 * m, ["logistic-science-pack"] = 0.000003 * m, @@ -388,7 +388,7 @@ local function on_init() local T = Map.Pop_info() T.main_caption = "Biter Hatchery" - T.sub_caption = "..nibble nibble nom nom.." + T.sub_caption = "*nibble nibble nom nom*" T.text = table.concat({ "Defeat the enemy teams nest.\n", "Feed your hatchery science flasks to breed biters!\n", @@ -397,7 +397,7 @@ local function on_init() "Lay transport belts to your hatchery and they will happily nom the juice off the conveyor.\n", "Higher tier flasks will breed stronger biters!\n", "\n", - --"Player turrets are disabled.\n", + "Player turrets are disabled.\n", "Feeding may spawn friendly worm turrets.\n", "The center river may not be crossed.\n", "Construction robots may not build over the river.\n", diff --git a/maps/fish_defender/main.lua b/maps/fish_defender/main.lua index 3700282a..65268c9d 100644 --- a/maps/fish_defender/main.lua +++ b/maps/fish_defender/main.lua @@ -1,6 +1,6 @@ -- fish defender -- by mewmew -- -require "modules.rpg" +--require "modules.rpg" require "maps.fish_defender.terrain" require "maps.fish_defender.market" diff --git a/maps/fish_defender/market.lua b/maps/fish_defender/market.lua index cdbacee8..cb8877ff 100644 --- a/maps/fish_defender/market.lua +++ b/maps/fish_defender/market.lua @@ -132,12 +132,14 @@ local function refresh_market_offers() if not global.vehicle_nanobots_unlocked then global.market.add_market_item({price = {{"coin", 15000}}, offer = {type = 'nothing', effect_description = special_descriptions["vehicle-nanobots"]}}) end + --[[ if not global.crumbly_walls_unlocked then global.market.add_market_item({price = {{"coin", 35000}}, offer = {type = 'nothing', effect_description = special_descriptions["crumbly-walls"]}}) - end + end if not global.ultra_mines_unlocked then global.market.add_market_item({price = {{"coin", 45000}}, offer = {type = 'nothing', effect_description = special_descriptions["ultra-mines"]}}) end + ]] if not global.laser_pointer_unlocked then global.market.add_market_item({price = {{"coin", 65000}}, offer = {type = 'nothing', effect_description = special_descriptions["laser-pointer"]}}) end diff --git a/maps/mountain_fortress_v2/main.lua b/maps/mountain_fortress_v2/main.lua index 5a0adfe3..db197b52 100644 --- a/maps/mountain_fortress_v2/main.lua +++ b/maps/mountain_fortress_v2/main.lua @@ -43,6 +43,8 @@ local function set_difficulty() local wave_defense_table = WD.get_table() local player_count = #game.connected_players + wave_defense_table.max_active_biters = 1024 + -- threat gain / wave wave_defense_table.threat_gain_multiplier = 2 + player_count * 0.1