/
--###################### |
-- Interface: 30000 |
-- Title: QIDTest |
-- Notes: Displays an items basic info in the color of the item's quality, in the tooltip. |
-- License: GNUv2GPL |
-- Author: Anaral |
--###################### |
-- Interface: 30000 |
-- Title: QIDTest |
-- Notes: Displays an items basic info in the color of the item's quality, in the tooltip. |
-- License: GNUv2GPL |
-- Author: Anaral of Lothar |
-- Version: 3.05 |
--####################### |
local link = select(2, self:GetItem()) |
if link and GetItemInfo(link) then |
local text = _G[self:GetName() .. 'TextLeft1'] |
if QIDDB.showIcon and text and text:GetText():sub(1, 2) ~= '|T' then --make sure the icon does not display twice on recipies, which fire OnTooltipSetItem twice |
--make sure the icon does not display twice on recipies, which fire OnTooltipSetItem twice |
if QIDDB.showIcon and text and text:GetText():sub(1, 2) ~= '|T' then |
text:SetFormattedText('|T%s:%d|t%s', GetItemIcon(link), 36, text:GetText()) |
end |
end |
## Interface: 30000 |
## Title: QualityID |
## Notes: Displays an items ID and Level in the color of the item's quality. |
## Notes: Displays an items basic info in the color of the item's quality, in the tooltip. |
## Author: Anaral |
## Version: 3.05.wowi:revision |
## Saved Variables: QIDDB |