Quantcast

Add Alliance Vanguard and Hord Expedition to the Configuration menu.

ackis [11-14-08 - 07:55]
Add Alliance Vanguard and Hord Expedition to the Configuration menu.
Filename
ARLConfig.lua
ARLFrame.lua
AckisRecipeList.lua
diff --git a/ARLConfig.lua b/ARLConfig.lua
index 931d190..2215038 100644
--- a/ARLConfig.lua
+++ b/ARLConfig.lua
@@ -815,6 +815,14 @@ local function giveFilter()
 									type	= "description",
 									name	= L["FILTERING_WOTLK_DESC"] .. "\n",
 								},
+								AllianceVanguard = {
+									order	= 9,
+									type	= "toggle",
+									name	= BFAC["Alliance Vanguard"],
+									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Alliance Vanguard"]),
+									get		= function() return addon.db.profile.filters.rep.alliancevanguard end,
+									set		= function() addon.db.profile.filters.rep.alliancevanguard = not addon.db.profile.filters.rep.alliancevanguard end,
+								},
 								ArgentCrusade = {
 									order	= 10,
 									type	= "toggle",
@@ -831,8 +839,16 @@ local function giveFilter()
 									get		= function() return addon.db.profile.filters.rep.frenzyheart end,
 									set		= function() addon.db.profile.filters.rep.frenzyheart = not addon.db.profile.filters.rep.frenzyheart end,
 								},
+								HordeExpidition = {
+									order	= 15,
+									type	= "toggle",
+									name	= BFAC["Horde Expedition"],
+									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Horde Expedition"]),
+									get		= function() return addon.db.profile.filters.rep.hordeexpedition end,
+									set		= function() addon.db.profile.filters.rep.hordeexpedition = not addon.db.profile.filters.rep.hordeexpedition end,
+								},
 								EbonBlade = {
-									order	= 12,
+									order	= 16,
 									type	= "toggle",
 									name	= BFAC["Knights of the Ebon Blade"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Knights of the Ebon Blade"]),
@@ -840,7 +856,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.ebonblade = not addon.db.profile.filters.rep.ebonblade end,
 								},
 								KirinTor = {
-									order	= 13,
+									order	= 17,
 									type	= "toggle",
 									name	= BFAC["Kirin Tor"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Kirin Tor"]),
@@ -848,7 +864,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.kirintor = not addon.db.profile.filters.rep.kirintor end,
 								},
 								SonsOfHodir = {
-									order	= 14,
+									order	= 20,
 									type	= "toggle",
 									name	= BFAC["The Sons of Hodir"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Sons of Hodir"]),
@@ -856,7 +872,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.sonsofhodir = not addon.db.profile.filters.rep.sonsofhodir end,
 								},
 								Kaluak = {
-									order	= 15,
+									order	= 21,
 									type	= "toggle",
 									name	= BFAC["The Kalu'ak"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Kalu'ak"]),
@@ -864,7 +880,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.kaluak = not addon.db.profile.filters.rep.kaluak end,
 								},
 								Oracles = {
-									order	= 16,
+									order	= 22,
 									type	= "toggle",
 									name	= BFAC["The Oracles"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Oracles"]),
@@ -872,7 +888,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.oracles = not addon.db.profile.filters.rep.oracles end,
 								},
 								Wyrmrest = {
-									order	= 17,
+									order	= 25,
 									type	= "toggle",
 									name	= BFAC["The Wyrmrest Accord"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Wyrmrest Accord"]),
@@ -880,15 +896,15 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.wyrmrest = not addon.db.profile.filters.rep.wyrmrest end,
 								},
 								SilverCovenant = {
-									order	= 18,
+									order	= 26,
 									type	= "toggle",
-									name	= BFAC["The Silver Convenant"],
-									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Silver Convenant"]),
+									name	= BFAC["The Silver Covenant"],
+									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Silver Covenant"]),
 									get		= function() return addon.db.profile.filters.rep.silvercovenant end,
 									set		= function() addon.db.profile.filters.rep.silvercovenant = not addon.db.profile.filters.rep.silvercovenant end,
 								},
 								Sunreavers = {
-									order	= 19,
+									order	= 27,
 									type	= "toggle",
 									name	= BFAC["The Sunreavers"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Sunreavers"]),
@@ -896,7 +912,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.sunreavers = not addon.db.profile.filters.rep.sunreavers end,
 								},
 								ExplorersLeague = {
-									order	= 20,
+									order	= 28,
 									type	= "toggle",
 									name	= BFAC["Explorer's League"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Explorer's League"]),
@@ -904,7 +920,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.explorersleague = not addon.db.profile.filters.rep.explorersleague end,
 								},
 								ValianceExpedition = {
-									order	= 21,
+									order	= 29,
 									type	= "toggle",
 									name	= BFAC["Valiance Expedition"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Valiance Expedition"]),
@@ -912,7 +928,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.valiance = not addon.db.profile.filters.rep.valiance end,
 								},
 								HandOfVengeance = {
-									order	= 22,
+									order	= 35,
 									type	= "toggle",
 									name	= BFAC["The Hand of Vengeance"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Hand of Vengeance"]),
@@ -920,7 +936,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.valiance = not addon.db.profile.filters.rep.valiance end,
 								},
 								Taunka = {
-									order	= 23,
+									order	= 36,
 									type	= "toggle",
 									name	= BFAC["The Taunka"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["The Taunka"]),
@@ -928,7 +944,7 @@ local function giveFilter()
 									set		= function() addon.db.profile.filters.rep.taunka = not addon.db.profile.filters.rep.taunka end,
 								},
 								WarsongOffensive = {
-									order	= 24,
+									order	= 37,
 									type	= "toggle",
 									name	= BFAC["Warsong Offensive"],
 									desc	= format(L["SPECIFIC_REP_DESC"],BFAC["Warsong Offensive"]),
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 7a1158c..5483050 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -3864,7 +3864,7 @@ function addon:CreateFrame(
 --			() The Kalu'ak
 --			() The Oracles
 --			() The Wyrmrest Accord
---			() The Silver Convenant
+--			() The Silver Covenant
 --			() The Sunreavers
 --			() Explorer's League
 --			() Valiance Expedition
@@ -3913,8 +3913,8 @@ function addon:CreateFrame(
 				ARL_RepWyrmrestCBText:SetFont(narrowFont, 11)
 			local ARL_RepSilverCovenantCB = CreateFrame("CheckButton", "ARL_RepSilverCovenantCB", addon.Fly_Rep_LK, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_RepSilverCovenantCB, addon.Fly_Rep_LK,
-					string.format(L["SPECIFIC_REP_DESC"], BFAC["The Silver Convenant"]), 77, 9, 1, 0)
-				ARL_RepSilverCovenantCBText:SetText(BFAC["The Silver Convenant"])
+					string.format(L["SPECIFIC_REP_DESC"], BFAC["The Silver Covenant"]), 77, 9, 1, 0)
+				ARL_RepSilverCovenantCBText:SetText(BFAC["The Silver Covenant"])
 				ARL_RepSilverCovenantCBText:SetFont(narrowFont, 11)
 			local ARL_RepSunreaversCB = CreateFrame("CheckButton", "ARL_RepSunreaversCB", addon.Fly_Rep_LK, "UICheckButtonTemplate")
 				addon:GenericMakeCB(ARL_RepSunreaversCB, addon.Fly_Rep_LK,
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 283d2c0..acf43fa 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -249,6 +249,7 @@ function addon:OnInitialize()
 					handofvengeance = true,
 					taunka = true,
 					warsongoffensive = true,
+					hordeexpedition = true,
 				}
 			}
 		}