diff --git a/modules/easteregg.lua b/modules/easteregg.lua new file mode 100644 index 00000000..8b98fdeb --- /dev/null +++ b/modules/easteregg.lua @@ -0,0 +1,28 @@ +pfUI:RegisterModule("easteregg", function () + if date("%m%d") == "1224" or date("%m%d") == "1225" then + -- merry x-mas! + local title = (UnitFactionGroup("player") == "Horde") and PVP_RANK_18_0 or PVP_RANK_18_1 + + local c1 = "|cffffaaaa" + local c2 = "|cffffbbaa" + local c3 = "|cffffccaa" + local c4 = "|cffffddaa" + local c5 = "|cffffeeaa" + local c6 = "|cffffffaa" + local c7 = "|cffeeffaa" + local c8 = "|cffddffaa" + local c9 = "|cffccffaa" + local cA = "|cffbbffaa" + local cB = "|cffaaffaa" + local cC = "|cff33ffcc" + + _G.CHAT_FLAG_AFK = title .. " " + _G.DEFAULT_AFK_MESSAGE = c1 .. "M" .. c2 .. "e" .. c3 .. "r" .. + c4 .. "r" .. c5 .. "y" .. c6 .. " " .. + c7 .. "X" .. c8 .. "-" .. c9 .. "M" .. + cA .. "a" .. cB .. "s" .. cC .. "!" + _G.MARKED_AFK = "You are now " .. title .. "." + _G.MARKED_AFK_MESSAGE = "You are now " .. title .. ": %s" + _G.CLEARED_AFK = "You are no longer " .. title .. "." + end +end) diff --git a/pfUI.toc b/pfUI.toc index bd09c094..46c19704 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -90,3 +90,4 @@ modules\feigndeath.lua modules\hdgraphic.lua modules\share.lua modules\tracking.lua +modules\easteregg.lua