Quantcast

Add another API for skillet.

ackis [10-25-08 - 08:10]
Add another API for skillet.
Filename
AckisRecipeList.lua
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index a9fc86c..d7fc090 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -1550,6 +1550,7 @@ do
 				self:GetExclusions(RecipeList)

 			end
+
 		end

 		-- Sort the recipe list now
@@ -1605,6 +1606,25 @@ do

 	end

+	-- Description: API for external addons to get recipe information from ARL
+	-- Expected result: The recipe information is returned if it exists
+	-- Input: None
+	-- Output: All the tables containing reference data
+
+	function addon:GetRecipeSets()
+
+		if (RecipeList) then
+
+			return MobList, QuestList, ReputationList, TrainerList, SeasonalList, VendorList
+
+		else
+
+			return nil, nil, nil, nil, nil, nil
+
+		end
+
+	end
+
 end

 --[[