Use arena_lib custom messages function for when is tie
This commit is contained in:
parent
887c820fd6
commit
c99668227b
4
init.lua
4
init.lua
@ -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,
|
||||
|
@ -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!
|
||||
|
@ -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!=
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user