From 2654959423b95db324db3cb287e5e01eea080abf Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Sun, 21 Mar 2010 05:40:33 -0400 Subject: [PATCH] In addon:AddRecipeAcquire(): Added proper locations for SEASONAL and CUSTOM acquire types, and future-proofed by making all un-handled acquire types attempt to use their flag string or UNKNOWN. --- ARL.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ARL.lua b/ARL.lua index 558beae..e3fb84b 100644 --- a/ARL.lua +++ b/ARL.lua @@ -1002,10 +1002,6 @@ do acquire[acquire_id] = true location = quest_list[acquire_id].location end - --@alpha@ - elseif acquire_type == A.SEASONAL then - acquire[acquire_id] = true - --@end-alpha@ elseif acquire_type == A.REPUTATION then local vendor_list = private.vendor_list local rep_level, vendor_id = select(i, ...) @@ -1041,9 +1037,16 @@ do elseif acquire_type == A.WORLD_DROP then acquire[acquire_id] = true location = L["World Drop"] + elseif acquire_type == A.SEASONAL then + acquire[acquire_id] = true + location = GetCategoryInfo(155) + elseif acquire_type == A.CUSTOM then + acquire[acquire_id] = true + location = _G.MISCELLANEOUS else - -- Handle CUSTOM, etc. + -- Unhandled acquire_type acquire[acquire_id] = true + location = private.acquire_strings[acquire_type] or _G.UNKNOWN end end -- acquire_id end -- acquire_type -- 1.7.9.5