Mercurial > wow > ouroloot
comparison core.lua @ 37:cd745a18d7c7
Mostly code cosmetic tweaks. Split up EOI and History dropdown tables. Draw attention to realm names in popups, as they don't have to match the currently-played realm.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Sat, 10 Dec 2011 01:04:16 +0000 |
| parents | f62d582c5c52 |
| children | bb41be8f13b2 |
comparison
equal
deleted
inserted
replaced
| 36:f62d582c5c52 | 37:cd745a18d7c7 |
|---|---|
| 435 -- Cribbed from Talented. I like the way jerry thinks: the first argument | 435 -- Cribbed from Talented. I like the way jerry thinks: the first argument |
| 436 -- can be a format spec for the remainder of the arguments. (The new | 436 -- can be a format spec for the remainder of the arguments. (The new |
| 437 -- AceConsole:Printf isn't used because we can't specify a prefix without | 437 -- AceConsole:Printf isn't used because we can't specify a prefix without |
| 438 -- jumping through ridonkulous hoops.) The part about overriding :Print | 438 -- jumping through ridonkulous hoops.) The part about overriding :Print |
| 439 -- with a version using prefix hyperlinks is my fault. | 439 -- with a version using prefix hyperlinks is my fault. |
| 440 -- | |
| 441 -- There is no ITEM_QUALITY_LEGENDARY constant. Sigh. | |
| 440 do | 442 do |
| 441 local AC = LibStub("AceConsole-3.0") | 443 local AC = LibStub("AceConsole-3.0") |
| 442 local chat_prefix = self.format_hypertext('openloot',"Ouro Loot",--[[legendary]]5) | 444 local chat_prefix = self.format_hypertext('openloot',"Ouro Loot",--[[legendary]]5) |
| 443 function addon:Print (str, ...) | 445 function addon:Print (str, ...) |
| 444 if type(str) == 'string' and str:find("%", nil, --[[plainmatch=]]true) then | 446 if type(str) == 'string' and str:find("%", nil, --[[plainmatch=]]true) then |
