Skip to content
Snippets Groups Projects
Commit feec9570 authored by dg's avatar dg
Browse files

Changed the blue of recurring donators to an other blue

git-svn-id: http://svn.net-core.org/repos/t-engine4@4441 51575b47-30f0-44d4-a5cc-537603b46e54
parent fad55373
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ function _M:event(e)
e.msg = e.msg:removeColorCodes()
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
self:addMessage("talk", e.channel, e.login, {e.name, color}, e.msg)
......@@ -110,7 +110,7 @@ function _M:event(e)
e.msg = e.msg:removeColorCodes()
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[self.cur_channel] = self.channels[self.cur_channel] or {users={}, log={}}
self:addMessage("whisper", self.cur_channel, e.login, {e.name, color}, "#GOLD#<whisper> #LAST#"..e.msg)
......@@ -122,7 +122,7 @@ function _M:event(e)
e.msg = e.msg:removeColorCodes()
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
self:addMessage("achievement", e.channel, e.login, {e.name, color}, "#{italic}##LIGHT_BLUE#has earned the achievement <"..e.msg..">#{normal}#", nil, true)
......@@ -133,7 +133,7 @@ function _M:event(e)
elseif e.se == "SerialData" then
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
e.color_name = color
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
......@@ -143,7 +143,7 @@ function _M:event(e)
elseif e.se == "Join" then
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
self.channels[e.channel].users[e.login] = {name=e.name, donator=e.donator, login=e.login}
......@@ -156,7 +156,7 @@ function _M:event(e)
elseif e.se == "Part" then
local color = colors.WHITE
if e.donator == "oneshot" then color = colors.LIGHT_GREEN
elseif e.donator == "recurring" then color = colors.LIGHT_BLUE end
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
self.channels[e.channel].users[e.login] = nil
......
......@@ -53,6 +53,7 @@ defineColor('STEEL_BLUE', 70, 130, 180)
defineColor('TEAL', 0, 128, 128)
defineColor('LIGHT_STEEL_BLUE', 176, 196, 222)
defineColor('DARK_BLUE', 0x00, 0x00, 0x93)
defineColor('ROYAL_BLUE', 0x00, 0x6C, 0xFF)
defineColor('PINK', 255, 192, 203)
defineColor('GOLD', 255, 215, 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment