mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-29 19:26:23 +01:00
introduce coloured loot message
This commit is contained in:
@@ -646,7 +646,12 @@ function addTabText(text, speaktype, tab, creatureName)
|
||||
label:setColoredText(highlightData)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
if tab == serverTab then
|
||||
local highlightText = toHighlightedText(text, speaktype.color)
|
||||
label:setColoredText(highlightText)
|
||||
end
|
||||
|
||||
label.name = creatureName
|
||||
consoleBuffer.onMouseRelease = function(self, mousePos, mouseButton)
|
||||
processMessageMenu(mousePos, mouseButton, nil, nil, nil, tab)
|
||||
|
||||
Reference in New Issue
Block a user