Add stinki to whoer

This commit is contained in:
2024-12-13 12:07:07 +01:00
parent b344f6176b
commit 0e771a7db3
2 changed files with 3 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ local function init()
data.who = { data.who = {
ignored = {}, ignored = {},
} }
--/run Heimdall_Data.config = {who={enabled=true},deathReporter={enabled=true}} --/run Heimdall_Data.config = {who={enabled=true},deathReporter={enabled=true},spotter={enabled=true}}
--/run Heimdall_Data.config = {deathReporter={enabled=true}} --/run Heimdall_Data.config = {deathReporter={enabled=true}}
--/run Heimdall_Data.config = {deathReporter={enabled=false},spotter={enabled=false}} --/run Heimdall_Data.config = {deathReporter={enabled=false},spotter={enabled=false}}
--/run Heimdall_Data.config = {deathReporter={enabled=false},spotter={enabled=true,everyone=true}} --/run Heimdall_Data.config = {deathReporter={enabled=false},spotter={enabled=true,everyone=true}}

View File

@@ -62,8 +62,9 @@ function data.Whoer.Init()
---@return string ---@return string
NotifyMessage = function(self) NotifyMessage = function(self)
local text = string.format( local text = string.format(
"%s of class %s, race %s (%s) and guild %s in %s, first seen: %s, last seen: %s, times seen: %d", "%s %s of class %s, race %s (%s) and guild %s in %s, first seen: %s, last seen: %s, times seen: %d",
self.name, self.name,
self.stinky and "(!!!!)" or "",
self.class, self.class,
self.race, self.race,
tostring(data.raceMap[self.race]), tostring(data.raceMap[self.race]),