Fixed "UI" of the messages

This commit is contained in:
MrFreeman 2022-10-02 15:24:26 +02:00
parent 04d96becbe
commit fe31a32d56

View File

@ -17,13 +17,13 @@ arena_lib.on_load("sumo", function(arena)
local message = sumo.T("Controls: ")
minetest.chat_send_player(pl_name,message)
message = minetest.colorize('#a93b3b', sumo.T("[Punch]: "))..minetest.colorize('#397b44', sumo.T("Push other players ")).. sumo.T(" Timeout: ") .. "0.3" .. sumo.T(" sec")
message = minetest.colorize('#a93b3b', sumo.T("[Punch]: "))..minetest.colorize('#397b44', sumo.T("Push other players ")).. sumo.T(" Timeout: ") .. " " .. "0.3" .. " " .. sumo.T(" sec")
minetest.chat_send_player(pl_name,message)
message = minetest.colorize('#a93b3b', sumo.T("[Punch]+[Sneak]: "))..minetest.colorize('#397b44', sumo.T("Exchange places ")).. sumo.T(" Timeout: ") .. "0.3" .. sumo.T(" sec")
message = minetest.colorize('#a93b3b', sumo.T("[Punch]+[Sneak]: "))..minetest.colorize('#397b44', sumo.T("Exchange places ")).. sumo.T(" Timeout: ") .. " " .. "0.3" .. " " .. sumo.T(" sec")
minetest.chat_send_player(pl_name,message)
message = minetest.colorize('#a93b3b', sumo.T("[Place]: "))..minetest.colorize('#397b44', sumo.T("Vault ")).. sumo.T(" Timeout: ") .."1" .. sumo.T(" sec")
message = minetest.colorize('#a93b3b', sumo.T("[Place]: "))..minetest.colorize('#397b44', sumo.T("Vault ")).. sumo.T(" Timeout: ") .. " " .."1" .. " " .. sumo.T(" sec")
minetest.chat_send_player(pl_name,message)
message = minetest.colorize('#a93b3b', sumo.T("[Aux (e)]: "))..minetest.colorize('#397b44', sumo.T("Run! ")).. sumo.T(" Timeout: ") .. "5".. sumo.T(" sec")
message = minetest.colorize('#a93b3b', sumo.T("[Aux (e)]: "))..minetest.colorize('#397b44', sumo.T("Run! ")).. sumo.T(" Timeout: ") .. " " .. "5".. " " .. sumo.T(" sec")
minetest.chat_send_player(pl_name,message)
arena.players[pl_name].lives = arena.lives
local player = minetest.get_player_by_name(pl_name)