From d8e0334d97125295aeb763c9f8368201d059b33a Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 13 Dec 2010 15:15:28 -0500 Subject: [PATCH] remove the archaeology shit --- Constants.lua | 6 ++---- Player.lua | 3 +-- core.lua | 6 +----- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Constants.lua b/Constants.lua index fa6330e..1afba53 100644 --- a/Constants.lua +++ b/Constants.lua @@ -41,8 +41,7 @@ private.professions = { ["Leatherworking"] = GetSpellInfo(51302), ["Runeforging"] = private.runeforging_name, ["Smelting"] = GetSpellInfo(2656), - ["Tailoring"] = GetSpellInfo(51309), - --["Archaeology"] = GetSpellInfo(89727), + ["Tailoring"] = GetSpellInfo(51309), } private.ordered_professions = { @@ -57,8 +56,7 @@ private.ordered_professions = { private.professions.Leatherworking, -- 9 private.professions.Runeforging, -- 10 private.professions.Smelting, -- 11 - private.professions.Tailoring, -- 12 - --private.professions.Archaeology -- 13 + private.professions.Tailoring, -- 12 } private.profession_textures = { diff --git a/Player.lua b/Player.lua index 47bb138..98b3542 100644 --- a/Player.lua +++ b/Player.lua @@ -101,8 +101,7 @@ end do local known_professions = { ["prof1"] = false, - ["prof2"] = false, - ["archaeology"] = false, + ["prof2"] = false, ["fishing"] = false, ["cooking"] = false, ["firstaid"] = false, diff --git a/core.lua b/core.lua index 0ba627e..ad190db 100644 --- a/core.lua +++ b/core.lua @@ -1538,8 +1538,7 @@ end do -- List of tradeskill headers, used in addon:Scan() local header_list = {} - local ARCH = GetSpellInfo(78670) - + --- Causes a scan of the tradeskill to be conducted. Function called when the scan button is clicked. Parses recipes and displays output -- @name AckisRecipeList:Scan -- @usage AckisRecipeList:Scan(true) @@ -1552,9 +1551,6 @@ do if current_prof == "UNKNOWN" then self:Print(L["OpenTradeSkillWindow"]) return - -- Bail if we're looking at Archaeology - elseif current_prof == ARCH then - return end -- Set the current profession level, and update the cached data. -- 1.7.9.5