Remove unused undocumented function
parent
dd4038b238
commit
e79598c268
|
@ -126,9 +126,6 @@ Spawn points: =Punti di spawn:
|
||||||
Properties: =Proprietà:
|
Properties: =Proprietà:
|
||||||
Temp properties: =Proprietà temporanee:
|
Temp properties: =Proprietà temporanee:
|
||||||
Team properties: =Proprietà squadra:
|
Team properties: =Proprietà squadra:
|
||||||
Player: =Giocatore:
|
|
||||||
, kills: =, uccisioni:
|
|
||||||
, deaths: =, morti:
|
|
||||||
|
|
||||||
# items.lua
|
# items.lua
|
||||||
You're immune!=Sei immune!
|
You're immune!=Sei immune!
|
||||||
|
|
|
@ -126,9 +126,6 @@ Spawn points: =
|
||||||
Properties: =
|
Properties: =
|
||||||
Temp properties: =
|
Temp properties: =
|
||||||
Team properties: =
|
Team properties: =
|
||||||
Player: =
|
|
||||||
, kills: =
|
|
||||||
, deaths: =
|
|
||||||
|
|
||||||
# items.lua
|
# items.lua
|
||||||
You're immune!=
|
You're immune!=
|
||||||
|
|
|
@ -261,37 +261,6 @@ end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function arena_lib.print_arena_stats(sender, mod, arena_name)
|
|
||||||
|
|
||||||
local arena_ID, arena = arena_lib.get_arena_by_name(mod, arena_name)
|
|
||||||
|
|
||||||
if arena == nil then
|
|
||||||
minetest.chat_send_player(sender, minetest.colorize("#e6482e", S("[!] This arena doesn't exist!")))
|
|
||||||
return end
|
|
||||||
|
|
||||||
if not arena.in_game and not arena.in_celebration then
|
|
||||||
minetest.chat_send_player(sender, minetest.colorize("#e6482e", S("[!] No ongoing game!")))
|
|
||||||
return end
|
|
||||||
|
|
||||||
for pl_name, stats in pairs(arena.players) do
|
|
||||||
|
|
||||||
-- calcolo proprietà del giocatore
|
|
||||||
local p_properties = ""
|
|
||||||
for k, v in pairs(arena_lib.mods[mod].player_properties) do
|
|
||||||
p_properties = p_properties .. ", " .. k .. ": " .. tostring(stats[k])
|
|
||||||
end
|
|
||||||
|
|
||||||
minetest.chat_send_player(sender,
|
|
||||||
S("Player: ") .. pl_name ..
|
|
||||||
S(", kills: ") .. stats.kills ..
|
|
||||||
S(", deaths: ") .. stats.deaths ..
|
|
||||||
p_properties)
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function arena_lib.flush_arena(mod, arena_name, sender)
|
function arena_lib.flush_arena(mod, arena_name, sender)
|
||||||
|
|
||||||
local id, arena = arena_lib.get_arena_by_name(mod, arena_name)
|
local id, arena = arena_lib.get_arena_by_name(mod, arena_name)
|
||||||
|
|
Loading…
Reference in New Issue