From 33312c4ad8e9dd6ffdd6072405e36161289e7046 Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Wed, 18 Dec 2013 15:21:26 +0100 Subject: [PATCH] New color for ingame chat moderators & general helping guys: gold! --- game/engines/default/engine/UserChat.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/game/engines/default/engine/UserChat.lua b/game/engines/default/engine/UserChat.lua index 58aafa546f..ad23c648bd 100644 --- a/game/engines/default/engine/UserChat.lua +++ b/game/engines/default/engine/UserChat.lua @@ -167,6 +167,7 @@ function _M:event(e) e.msg = e.msg:removeColorCodes() local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end @@ -187,6 +188,7 @@ function _M:event(e) e.msg = e.msg:removeColorCodes() local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end @@ -201,6 +203,7 @@ function _M:event(e) e.msg = e.msg:removeColorCodes() local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end @@ -224,6 +227,7 @@ function _M:event(e) elseif e.se == "SerialData" then local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end e.color_name = color @@ -244,6 +248,7 @@ function _M:event(e) elseif e.se == "Join" then local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end @@ -258,6 +263,7 @@ function _M:event(e) elseif e.se == "Part" then local color = colors.WHITE if e.status == 'dev' then color = colors.CRIMSON + elseif e.status == 'mod' then color = colors.GOLD elseif e.donator == "oneshot" then color = colors.LIGHT_GREEN elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end -- GitLab