Standardize whoer messages a little

This commit is contained in:
2025-01-26 19:50:42 +01:00
parent 0e66db1d8a
commit 1ed379c23d
2 changed files with 21 additions and 11 deletions

View File

@@ -259,7 +259,7 @@ function shared.Whoer.Init()
player.name,
player.stinky and "(!!!!)" or "",
shared._L(player.class, locale),
shared._L(player.race, locale),
--shared._L(player.race, locale),
shared._L(shared.raceMap[player.race] or "unknown", locale),
player.guild,
shared._L(player.zone, locale))
@@ -313,8 +313,9 @@ function shared.Whoer.Init()
local locale = shared.GetLocaleForChannel(channel)
local text = string.format(shared._L("whoerMoved", locale),
player.name,
player.stinky and "(!!!!)" or "",
shared._L(player.class, locale),
shared._L(player.race, locale),
--shared._L(player.race, locale),
shared._L(shared.raceMap[player.race] or "unknown", locale),
player.guild,
shared._L(zone, locale))
@@ -361,7 +362,10 @@ function shared.Whoer.Init()
local locale = shared.GetLocaleForChannel(channel)
local text = string.format(shared._L("whoerGone", locale),
player.name,
player.stinky and "(!!!!)" or "",
shared._L(player.class, locale),
--shared._L(player.race, locale),
shared._L(shared.raceMap[player.race] or "unknown", locale),
player.guild,
shared._L(player.zone, locale))