Mercurial > wow > ouroloot
diff text_tabs.lua @ 66:43913e02a1ef
Detect LFR loot as best we can, and bundle it into the same warning given for heroic loot formatted by name only. Less tedious method of bumping data revisions.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Fri, 27 Apr 2012 10:11:56 +0000 |
| parents | 69fd720f853e |
| children | c01875b275ca |
line wrap: on
line diff
--- a/text_tabs.lua Fri Apr 27 09:12:45 2012 +0000 +++ b/text_tabs.lua Fri Apr 27 10:11:56 2012 +0000 @@ -48,7 +48,7 @@ do local red = '|cffff0505' local green = ITEM_QUALITY_COLORS[ITEM_QUALITY_UNCOMMON].hex - warning_text = ([[%sWARNING:|r Heroic items sharing the same name as normal items often display incorrectly on forums that use the item name as the identifier. Recommend you change the %sItem markup|r dropdown in the right-hand side to %s"[item] by ID"|r and regenerate this loot.]]):format(red, green, green) + warning_text = ([[%sWARNING:|r Heroic (and Raid Finder) items sharing the same name as normal items often display incorrectly on forums that use the item name as the identifier. Recommend you change the %sItem markup|r dropdown in the right-hand side to %s"[item] by ID"|r (or some other format that uses $I) and regenerate this loot.]]):format(red, green, green) end local function forum (_, loot, last_printed, generated, cache) @@ -72,7 +72,7 @@ if e.extratext_byhand then disp = disp .. " -- " .. e.extratext end - if e.is_heroic and not forum_warned_heroic then + if e.variant and not forum_warned_heroic then forum_warned_heroic = true addon:Print(warning_text) end
