From 1b780c85b79f6b72ecaefb534a3ed7f0fc222909 Mon Sep 17 00:00:00 2001 From: John Pasula Date: Tue, 8 Feb 2011 11:25:40 -0700 Subject: [PATCH] Retired function commented out. Added AddRecipeCustom. --- core.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core.lua b/core.lua index 9810fd9..036bf62 100644 --- a/core.lua +++ b/core.lua @@ -1359,6 +1359,7 @@ do GenericAddRecipeAcquire(spell_id, A.ACHIEVEMENT, "Achievement", nil, ...) end +--[[ function addon:AddRecipeRetired(spell_id, ...) local retired_db = { [1] = "Retired in Wrath", @@ -1366,6 +1367,11 @@ do } GenericAddRecipeAcquire(spell_id, A.RETIRED, "Retired", retired_db, 1) end +]]-- + + function addon:AddRecipeCustom(spell_id, ...) + GenericAddRecipeAcquire(spell_id, A.CUSTOM, "Custom", private.custom_list, ...) + end -- This function can NOT use GenericAddRecipeAcquire() - reputation vendors are more complicated than the other acquire types. function addon:AddRecipeRepVendor(spell_id, faction_id, rep_level, ...) -- 1.7.9.5