Use arena_lib custom messages function for when is tie

This commit is contained in:
Zughy 2023-06-28 12:50:03 +02:00
parent 887c820fd6
commit c99668227b
4 changed files with 6 additions and 8 deletions

View File

@ -37,6 +37,10 @@ arena_lib.register_minigame("block_league", {
disabled_damage_types = {"fall", "punch"},
in_game_physics = block_league.PHYSICS,
custom_messages = {
celebration_nobody = "Tie!"
},
properties = {
mode = 1, -- 1 TD, 2 DM
score_cap = 5,

View File

@ -6,6 +6,7 @@
# init.lua
orange=arancione
blue=blu
Tie!=Pareggio!
# commands.lua
mod management=gestione della mod
@ -28,9 +29,6 @@ Set minimum Y (death below)=Imposta Y minima (morte al di sotto)
# arena_lib/arena_manager.lua
The game will start soon=La partita comincerà a breve
# arena_lib/arena_timer.lua
No one=Nessuno
# debug/testkit.lua
Leave test mode=Esci dalla modalità test
You already are in test mode!=Sei già in modalità test!

View File

@ -6,6 +6,7 @@
# init.lua
orange=
blue=
Tie!=
# commands.lua
mod management=
@ -28,9 +29,6 @@ Set minimum Y (death below)=
# arena_lib/arena_manager.lua
The game will start soon=
# arena_lib/arena_timer.lua
No one=
# debug/testkit.lua
Leave test mode=
You already are in test mode!=

View File

@ -46,7 +46,5 @@ arena_lib.on_timeout("block_league", function(arena)
end
end
local winner_team = winner_team_ID ~= 0 and winner_team_ID or S("No one")
arena_lib.load_celebration("block_league", arena, winner_team)
end)