Quantcast

Remove thistle tea from the svn version of ARL (will be packaged with alpha/beta/release versions) which will allow me to test a few more things on my system. If you svn this project you won't see thistle tea, but that's ok since rogues suck.

ackis [01-20-09 - 20:57]
Remove thistle tea from the svn version of ARL (will be packaged with alpha/beta/release versions) which will allow me to test a few more things on my system.  If you svn this project you won't see thistle tea, but that's ok since rogues suck.
Filename
ARLFrame.lua
RecipeDB/ARL-Cook.lua
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 293e7c1..6c0d5cf 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -929,30 +929,24 @@ local function RecipeList_Update()

 		-- If the recipe total is at 0, it means we have not scanned the profession yet
 		if (playerData.recipes_total == 0) then
-			--@debug@
-			addon:Print("DEBUG: recipes_total: " .. playerData.recipes_total)
-			--@end-debug@
 			StaticPopup_Show("ARL_NOTSCANNED")
 		-- We know all the recipes
 		elseif (playerData.recipes_known == playerData.recipes_total) then
 			StaticPopup_Show("ARL_ALLKNOWN")
-			--@debug@
-			addon:Print("DEBUG: recipes_known: " .. playerData.recipes_known)
-			--@end-debug@
 		-- Our filters are actually filtering something
 		elseif ((playerData.recipes_total_filtered - playerData.recipes_known_filtered) ~= 0) then
-			--@debug@
-			addon:Print("DEBUG: recipes_total_filtered: " .. playerData.recipes_total_filtered)
-			addon:Print("DEBUG: recipes_known_filtered: " .. playerData.recipes_known_filtered)
-			--@end-debug@
 			StaticPopup_Show("ARL_ALLFILTERED")
 		-- Our exclusion list is preventing something from being displayed
 		elseif (playerData.excluded_recipes_unknown ~= 0) then
-			--@debug@
-			addon:Print("DEBUG: excluded_recipes_unknown: " .. playerData.excluded_recipes_unknown)
-			--@end-debug@
 			StaticPopup_Show("ARL_ALLEXCLUDED")
 		else
+			--@debug@
+			addon:Print("DEBUG: recipes_total: " .. playerData.recipes_total)
+			addon:Print("DEBUG: recipes_known: " .. playerData.recipes_known)
+			addon:Print("DEBUG: recipes_total_filtered: " .. playerData.recipes_total_filtered)
+			addon:Print("DEBUG: recipes_known_filtered: " .. playerData.recipes_known_filtered)
+			addon:Print("DEBUG: excluded_recipes_unknown: " .. playerData.excluded_recipes_unknown)
+			--@end-debug@
 			addon:Print(L["NO_DISPLAY"])
 		end

diff --git a/RecipeDB/ARL-Cook.lua b/RecipeDB/ARL-Cook.lua
index 7a7e38b..a0f9975 100644
--- a/RecipeDB/ARL-Cook.lua
+++ b/RecipeDB/ARL-Cook.lua
@@ -308,11 +308,13 @@ function addon:InitCooking(RecipeDB)
 	self:addTradeFlags(RecipeDB,8607,1,2,4,21,22,23,24,25,26,27,28,29,30,36,40)
 	self:addTradeAcquire(RecipeDB,8607,2,1465,2,3556)

+	--[===[@non-debug@
 	-- Thistle Tea -- 9513
 	recipecount = recipecount + 1
 	self:addTradeSkill(RecipeDB,9513,60,7676,2,2550)
 	self:addTradeFlags(RecipeDB,9513,1,2,4,8,28,36,41)
 	self:addTradeAcquire(RecipeDB,9513,4,2359,4,2359,4,2478,4,2478,2,6779)
+	--@end-non-debug@]===]

 	-- Goldthorn Tea -- 13028
 	recipecount = recipecount + 1