From b8b34c8b3fa4ae6c012ac3f2b4af899fd83ba32f Mon Sep 17 00:00:00 2001 From: ackis Date: Sat, 25 Oct 2008 08:10:23 +0000 Subject: [PATCH] Add another API for skillet. --- AckisRecipeList.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 --[[ -- 1.7.9.5