From e9cb0aeb57112fe0e330515140572b5a325393dd Mon Sep 17 00:00:00 2001 From: John Pasula Date: Mon, 31 Jan 2011 11:29:04 -0700 Subject: [PATCH] Minor format changes --- core.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/core.lua b/core.lua index f7672e0..264c637 100644 --- a/core.lua +++ b/core.lua @@ -1101,17 +1101,19 @@ function addon:AddRecipeFlags(spell_id, ...) end end ---- Adds acquire methods to a specific tradeskill. --- @name AckisRecipeList:AddRecipeAcquire --- @usage AckisRecipeList:AddRecipeAcquire(28927, A.REPUTATION, FAC.ALDOR, REP.HONORED, 19321) --- @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 acquire methods. See [[API/database-documentation]] for a listing of acquire methods and how they work --- @return None, array is passed as a reference. do local location_list = private.location_list local acquire_list = private.acquire_list + --- Adds acquire methods to a specific tradeskill. + -- @name AckisRecipeList:AddRecipeAcquire + -- @usage AckisRecipeList:AddRecipeAcquire(28927, A.REPUTATION, FAC.ALDOR, REP.HONORED, 19321) + -- @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 acquire methods. See [[API/database-documentation]] for a listing of acquire methods and how they work + -- @return None, array is passed as a reference. + function addon:AddRecipeAcquire(spell_id, ...) + local numvars = select('#', ...) -- Find out how many flags we're adding local i = 1 -- Index for which variables we're parsing through local recipe_list = private.recipe_list -- 1.7.9.5