mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-26 22:56:43 +02:00
Mtn v3 - minor adjust to startup
This commit is contained in:
parent
fa914c71d2
commit
51f199a0eb
@ -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!
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user