From 81f4893261423e8e0be0f7803759905913f5988a Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Fri, 19 Mar 2010 21:06:31 -0400 Subject: [PATCH] Renamed SPELL_ITEM to SPELL_TO_RECIPE_MAP. --- Datamine.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Datamine.lua b/Datamine.lua index cf08e17..eda9f4f 100644 --- a/Datamine.lua +++ b/Datamine.lua @@ -90,7 +90,7 @@ local PROFESSIONS = { -- Table is Public Domain now -- Look up table of Spell IDs to the recipe which trains them. ------------------------------------------------------------------------------- -local SPELL_ITEM = { +local SPELL_TO_RECIPE_MAP = { ------------------------------------------------------------------------------- -- First Aid ------------------------------------------------------------------------------- @@ -1877,7 +1877,7 @@ do end local reverse_lookup = GetReverseLookup(recipe_list) - local item_id = SPELL_ITEM[spell_id] + local item_id = SPELL_TO_RECIPE_MAP[spell_id] local QUALITY_STRINGS = private.item_quality_names wipe(scan_data) @@ -1899,8 +1899,8 @@ do -- Lets check the recipe flags to see if we have a data error and the item should exist local flags = recipe["Flags"] + tinsert(output, " No match found in the SPELL_TO_RECIPE_MAP table.") if flags[F.VENDOR] or flags[F.INSTANCE] or flags[F.RAID] then - tinsert(output, "Spell/Item ID: " .. spell_id .. " does not exist in the SPELL_ITEM table.") end end ARLDatamineTT:Hide() -- 1.7.9.5