From 51f199a0eb1d533cf971ca352917012301dfd7c6 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Fri, 6 Oct 2023 14:34:27 +0200 Subject: [PATCH] Mtn v3 - minor adjust to startup --- locale/en/mtn_fortress_v3.cfg | 1 - maps/mountain_fortress_v3/stateful/table.lua | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/locale/en/mtn_fortress_v3.cfg b/locale/en/mtn_fortress_v3.cfg index 673c0d0a..d72e4eac 100644 --- a/locale/en/mtn_fortress_v3.cfg +++ b/locale/en/mtn_fortress_v3.cfg @@ -191,4 +191,3 @@ warp=[font=default-bold]Time until boss arena: [/font] reset=[color=blue]Mapkeeper:[/color] Reset date has been reached. The buffs and rounds survived has been reset! reset_discord=Reset date has been reached. The buffs and rounds survived has been reset! -warn_biters_boosted=Attention! Biters have been increased in health and damage over __1__ times. They grant more XP but are harder to kill! diff --git a/maps/mountain_fortress_v3/stateful/table.lua b/maps/mountain_fortress_v3/stateful/table.lua index 2d4bb4d1..1f92ea66 100644 --- a/maps/mountain_fortress_v3/stateful/table.lua +++ b/maps/mountain_fortress_v3/stateful/table.lua @@ -681,9 +681,6 @@ local function apply_startup_settings(settings) end end - local starting_items = Public.get_func('starting_items') - - apply_buffs(starting_items) return settings end @@ -717,7 +714,7 @@ local apply_settings_token = this.rounds_survived = settings.rounds_survived - Public.reset_stateful(false, true) + Public.reset_stateful() Public.increase_enemy_damage_and_health() end ) @@ -965,13 +962,6 @@ function Public.increase_enemy_damage_and_health() Event.raise(WD.events.on_biters_evolved, {force = game.forces.aggressors_frenzy}) end end - - if this.rounds_survived == 0 then - return - end - - local message_discord = ({'stateful.warn_biters_boosted', this.rounds_survived}) - Server.to_discord_embed(message_discord, true) end function Public.get_stateful(key)