From 010af9e4859d3bd573345471aa9de9baed23967c Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 8 Feb 2011 11:46:48 -0700 Subject: [PATCH] Add addon:AddRecipeSeason(spell_id, ...) so that function I removed can really be removed. --- core.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core.lua b/core.lua index 236e8c0..8ab3464 100644 --- a/core.lua +++ b/core.lua @@ -1271,6 +1271,16 @@ do GenericAddRecipeAcquire(spell_id, A.CUSTOM, "Custom", private.custom_list, ...) end + --- Adds seasonal acquire methods to a specific tradeskill. + -- @name AckisRecipeList:AddRecipeSeason + -- @usage AckisRecipeList:AddRecipeSeason(21143, 1) + -- @param spell_id The [[http://www.wowpedia.org/SpellLink|Spell ID]] of the recipe which acquire methods are being added to + -- @param ... A listing of seasonal events where the recipe can be obtained. + -- @return None. + function addon:AddRecipeSeason(spell_id, ...) + GenericAddRecipeAcquire(spell_id, A.SEASONAL, "Seasonal", private.seasonal_list, ...) + end + -- This function can NOT use GenericAddRecipeAcquire() - reputation vendors are more complicated than the other acquire types. --- Adds acquire methods to a specific tradeskill. -- @name AckisRecipeList:AddRecipeRepVendor -- 1.7.9.5