Retired function commented out. Added AddRecipeCustom.
John Pasula [02-08-11 - 18:25]
Retired function commented out. Added AddRecipeCustom.
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, ...)