From dc96f845bfecc3919573532482464f42ef505006 Mon Sep 17 00:00:00 2001 From: pompachomp Date: Mon, 1 Mar 2010 19:47:48 +0000 Subject: [PATCH] have the dataminer print out the name of the quality instead of the number --- Datamine.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Datamine.lua b/Datamine.lua index b023afe..d068cc7 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -1865,13 +1865,14 @@ do self:ScanToolTip(recipe_name, recipe_list, reverse_lookup, is_vendor, false) local item_id = SPELL_ITEM[spell_id] - + local QUALITY_STRINGS = private.item_quality_names + if item_id and not DO_NOT_SCAN[item_id] then local item_name, item_link, item_rarity = GetItemInfo(item_id) if item_name then if item_rarity ~= recipe.quality then - tinsert(output, item_name.. " has the WRONG QUALITY: "..recipe.quality..". Should be "..item_rarity..".") + tinsert(output, item_name.. " has the WRONG QUALITY: R_"..QUALITY_STRINGS[recipe.quality].." should be R_"..QUALITY_STRINGS[item_rarity]..".") end ARLDatamineTT:SetHyperlink("item:" .. item_id .. ":0:0:0:0:0:0:0") self:ScanToolTip(recipe_name, recipe_list, reverse_lookup, is_vendor, true) -- 1.7.9.5