Quantcast

remove the archaeology shit

mike [12-13-10 - 20:15]
remove the archaeology shit
Filename
Constants.lua
Player.lua
core.lua
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.