Originally Posted by VincentSDSH
Peddler has never failed me. It also visually tags what'll be sold, which I'm particularly fond of.
|
The default UI already marks junk items with a coin icon when you're at a vendor.
Found in ContainerFrame.lua line 516:
Code:
itemButton.JunkIcon:Hide();
if (quality) then
if (quality >= LE_ITEM_QUALITY_COMMON and BAG_ITEM_QUALITY_COLORS[quality]) then
itemButton.IconBorder:Show();
itemButton.IconBorder:SetVertexColor(BAG_ITEM_QUALITY_COLORS[quality].r, BAG_ITEM_QUALITY_COLORS[quality].g, BAG_ITEM_QUALITY_COLORS[quality].b);
else
itemButton.IconBorder:Hide();
end
if (quality == LE_ITEM_QUALITY_POOR and not noValue and MerchantFrame:IsShown()) then
itemButton.JunkIcon:Show();
end
else
itemButton.IconBorder:Hide();
end