rework menus

This commit is contained in:
Spit
2026-07-20 10:02:44 +03:00
parent 498a8c3bdc
commit aed9661e69
29 changed files with 2004 additions and 5201 deletions
+154 -1135
View File
File diff suppressed because it is too large Load Diff
+49 -81
View File
@@ -78,7 +78,7 @@
CloseDropDownMenus()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Atlas"])
if IsAddOnLoaded("Atlas") then
this:Enable()
@@ -100,7 +100,7 @@
CloseDropDownMenus()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Options"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -122,7 +122,7 @@
end
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Select Loot Table"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -144,7 +144,7 @@
end
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Select Sub-Table"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -260,7 +260,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Search"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -300,7 +300,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Clear"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -318,7 +318,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Last Result"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -340,12 +340,12 @@
AtlasLoot_ShowWishList()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["WishList"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
<OnEnter>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
if this:IsEnabled() then
GameTooltip:ClearLines()
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5)
@@ -406,7 +406,7 @@
<OnLoad>
this:RegisterForDrag("LeftButton")
this:SetBackdropColor(0.75, 0, 0.75)
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootDefaultFrame_Notice:SetText(AL["NoticeFrame"])
</OnLoad>
<OnMouseUp>
@@ -473,7 +473,7 @@
</Anchor>
</Anchors>
</FontString>
<FontString name="$parent_Extra" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true">
<FontString name="$parent_Extra" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size x="205" y="12"/>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT">
@@ -627,7 +627,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
this:SetText(AL["AL Panel"])
</OnShow>
@@ -656,7 +656,7 @@
AtlasLoot_Toggle()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["AtlasLoot"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1135,7 +1135,7 @@
<Scripts>
<OnLoad>
AtlasLoot_OnLoad()
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootItemsFrame_BACK:SetText(AL["Back"])
AtlasLoot_QuickLooks:SetText(AL["Add to QuickLooks:"])
</OnLoad>
@@ -1183,38 +1183,6 @@
</Layer>
</Layers>
<Frames>
<!-- <CheckButton name="$parentSafeLinks" inherits="OptionsCheckButtonTemplate" enable="false">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="20" y="-40"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
getglobal(this:GetName().."Text"):SetText(AL["Safe Chat Links |cff1eff00(recommended)|r"])
</OnLoad>
<OnClick>
AtlasLootOptions_SafeLinksToggle()
</OnClick>
</Scripts>
</CheckButton> -->
<!-- <CheckButton name="$parentAllLinks" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset x="20" y="-70"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
getglobal(this:GetName().."Text"):SetText(AL["Enable all Chat Links |cffff0000(use at own risk)|r"])
</OnLoad>
<OnClick>
AtlasLootOptions_AllLinksToggle()
</OnClick>
</Scripts>
</CheckButton> -->
<CheckButton name="$parentDefaultTT" inherits="OptionsCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
@@ -1223,7 +1191,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Default Tooltips"])
</OnLoad>
<OnClick>
@@ -1239,7 +1207,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Lootlink Tooltips"])
</OnLoad>
<OnClick>
@@ -1255,7 +1223,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["ItemSync Tooltips"])
</OnLoad>
<OnClick>
@@ -1271,7 +1239,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Show Source on Tooltips"])
</OnLoad>
<OnClick>
@@ -1287,7 +1255,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText("Group wishlist by dungeon")
</OnLoad>
<OnClick>
@@ -1303,7 +1271,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Use EquipCompare"])
</OnLoad>
<OnClick>
@@ -1319,7 +1287,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Show IDs at all times"])
</OnLoad>
<OnClick>
@@ -1335,7 +1303,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Show Minimap Button"])
</OnLoad>
<OnClick>
@@ -1356,7 +1324,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Hide AtlasLoot Panel"])
</OnLoad>
<OnClick>
@@ -1386,7 +1354,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Make Loot Table Opaque"])
</OnLoad>
<OnClick>
@@ -1402,7 +1370,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
getglobal(this:GetName().."Text"):SetText(AL["Suppress text spam when querying items"])
</OnLoad>
<OnClick>
@@ -1419,11 +1387,11 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootOptions_SetupSlider(AL["Button Radius"], 0, 200, 1)
</OnLoad>
<OnValueChanged>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootOptions_UpdateSlider(AL["Button Radius"])
AtlasLootCharDB.MinimapButtonRadius = this:GetValue()
AtlasLootMinimapButton_UpdatePosition()
@@ -1439,11 +1407,11 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootOptions_SetupSlider(AL["Button Position"], 0, 360, 1)
</OnLoad>
<OnValueChanged>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootOptions_UpdateSlider(AL["Button Position"])
AtlasLootCharDB.MinimapButtonPosition = this:GetValue()
AtlasLootMinimapButton_UpdatePosition()
@@ -1459,7 +1427,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Done"])
</OnLoad>
<OnClick>
@@ -1476,7 +1444,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Reset Position"])
</OnLoad>
<OnClick>
@@ -1493,7 +1461,7 @@
</Anchors>
<Scripts>
<OnLoad>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Default Settings"])
</OnLoad>
<OnClick>
@@ -1506,7 +1474,7 @@
<OnLoad>
this:RegisterForDrag("LeftButton")
this:SetMovable(1)
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLootOptionsFrame_Title:SetText(AL["Atlasloot Options"])
</OnLoad>
<OnDragStart>
@@ -1555,10 +1523,10 @@
<OnClick>
AtlasLoot_QuickLooks:Hide()
AtlasLootQuickLooksButton:Hide()
AtlasLoot_ShowItemsFrame("WORLDEVENTMENU", "dummy", "dummy", AtlasLoot_AnchorPoint)
AtlasLoot_ShowItemsFrame("WORLDEVENTMENU")
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["World Events"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1572,10 +1540,10 @@
<OnClick>
AtlasLoot_QuickLooks:Hide()
AtlasLootQuickLooksButton:Hide()
AtlasLoot_ShowItemsFrame("SETMENU", "dummy", "dummy", AtlasLoot_AnchorPoint)
AtlasLoot_ShowItemsFrame("SETMENU")
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Collections"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1589,10 +1557,10 @@
<OnClick>
AtlasLoot_QuickLooks:Hide()
AtlasLootQuickLooksButton:Hide()
AtlasLoot_ShowItemsFrame("REPMENU", "dummy", "dummy", AtlasLoot_AnchorPoint)
AtlasLoot_ShowItemsFrame("REPMENU")
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Factions"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1606,10 +1574,10 @@
<OnClick>
AtlasLoot_QuickLooks:Hide()
AtlasLootQuickLooksButton:Hide()
AtlasLoot_ShowItemsFrame("PVPMENU", "dummy", "dummy", AtlasLoot_AnchorPoint)
AtlasLoot_ShowItemsFrame("PVPMENU")
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["PvP Rewards"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1623,10 +1591,10 @@
<OnClick>
AtlasLoot_QuickLooks:Hide()
AtlasLootQuickLooksButton:Hide()
AtlasLoot_ShowItemsFrame("CRAFTINGMENU", "dummy", "dummy", AtlasLoot_AnchorPoint)
AtlasLoot_ShowItemsFrame("CRAFTINGMENU")
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Crafting"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1643,7 +1611,7 @@
AtlasLootOptions_Toggle()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Options"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1660,12 +1628,12 @@
AtlasLoot_ShowWishList()
</OnClick>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["WishList"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
<OnEnter>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
if this:IsEnabled() then
GameTooltip:ClearLines()
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5)
@@ -1786,7 +1754,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Search"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1825,7 +1793,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Clear"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
@@ -1841,7 +1809,7 @@
</Anchors>
<Scripts>
<OnShow>
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
this:SetText(AL["Last Result"])
this:SetFrameLevel((this:GetParent()):GetFrameLevel() + 1)
</OnShow>
+73 -924
View File
File diff suppressed because it is too large Load Diff
-894
View File
@@ -1,894 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local _G = getfenv(0)
local buttonsPerPage = 30
local ButtonsInfo1
local ButtonsInfo2
local RED = "|cffff0000"
local ORANGE = "|cffFF8400"
local WHITE = "|cffFFFFFF"
function AtlasLoot_CraftingMenu()
AtlasLoot_PrepMenu(nil, AL["Crafting"])
AtlasLootCharDB.LastBoss = "CRAFTINGMENU"
AtlasLootCharDB.LastBossText = AL["Crafting"]
if not ButtonsInfo1 then
ButtonsInfo1 = {
{ name = AL["Alchemy"], lootpage = "ALCHEMYMENU", icon = "Interface\\Icons\\Trade_Alchemy" },
{ name = AL["Enchanting"], lootpage = "ENCHANTINGMENU", icon = "Interface\\Icons\\Trade_Engraving" },
{ name = AL["Engineering"], lootpage = "ENGINEERINGMENU", icon = "Interface\\Icons\\Trade_Engineering" },
{ name = AL["Leatherworking"], lootpage = "LEATHERWORKINGMENU", icon = "Interface\\Icons\\INV_Misc_ArmorKit_17" },
{ name = AL["Blacksmithing"], lootpage = "SMITHINGMENU", icon = "Interface\\Icons\\Trade_BlackSmithing" },
{ name = AL["Tailoring"], lootpage = "TAILORINGMENU", icon = "Interface\\Icons\\Trade_Tailoring" },
{ name = AL["Jewelcrafting"], lootpage = "JEWELCRAFTMENU", icon = "Interface\\Icons\\INV_Jewelry_Necklace_01" },
{ name = AL["Herbalism"], lootpage = "Herbalism1", icon = "Interface\\Icons\\Trade_Herbalism" },
{ name = AL["Mining"], lootpage = "Mining1", icon = "Interface\\Icons\\Trade_Mining" },
{},
{ name = AL["Cooking"], lootpage = "CookingApprentice1", icon = "Interface\\Icons\\INV_Misc_Food_15" },
{ name = AL["First Aid"], lootpage = "FirstAid1", icon = "Interface\\Icons\\Spell_Holy_SealOfSacrifice" },
{ name = AL["Survival"], lootpage = "SurvivalApprentice1", icon = "Interface\\Icons\\Trade_Survival" },
{ name = AL["Gardening"], lootpage = "Gardening1", icon = "Interface\\Icons\\Trade_Herbalism" },
{ name = AL["Poisons"], lootpage = "Poisons1", icon = "Interface\\Icons\\Trade_BrewPoison" },
{ name = AL["Crafted Sets"], lootpage = "CRAFTSET", icon = "Interface\\Icons\\INV_Pants_Wolf" },
{ name = AL["Crafted Epic Weapons"], lootpage = "CraftedWeapons1", icon = "Interface\\Icons\\INV_Hammer_Unique_Sulfuras" },
}
end
for i = 1, min(buttonsPerPage, getn(ButtonsInfo1)) do
if ButtonsInfo1[i].name then
_G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo1[i].name)
_G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo1[i].extra)
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo1[i].icon)
_G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo1[i].lootpage
_G["AtlasLootMenuItem_"..i]:Show()
end
end
end
function AtlasLootCraftedSetMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Crafted Sets"])
--Tailoring Header
AtlasLootMenuItem_1_Name:SetText(RED..AL["Tailoring"])
AtlasLootMenuItem_1_Extra:SetText("")
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_1.isheader = true
AtlasLootMenuItem_1:Show()
--Augerer's Attire
AtlasLootMenuItem_2_Name:SetText(AL["Augerer's Attire"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Helmet_11")
AtlasLootMenuItem_2.lootpage = "AugerersAttire"
AtlasLootMenuItem_2:Show()
--Shadoweave
AtlasLootMenuItem_3_Name:SetText(AL["Shadoweave"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Helmet_27")
AtlasLootMenuItem_3.lootpage = "ShadoweaveSet"
AtlasLootMenuItem_3:Show()
--Diviner's Garments
AtlasLootMenuItem_4_Name:SetText(AL["Diviner's Garments"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Helmet_33")
AtlasLootMenuItem_4.lootpage = "DivinersGarments"
AtlasLootMenuItem_4:Show()
--Pillager's Garb
AtlasLootMenuItem_5_Name:SetText(AL["Pillager's Garb"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Helmet_28")
AtlasLootMenuItem_5.lootpage = "PillagersGarb"
AtlasLootMenuItem_5:Show()
--Bloodvine Garb
AtlasLootMenuItem_6_Name:SetText(AL["Bloodvine Garb"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Pants_Cloth_14")
AtlasLootMenuItem_6.lootpage = "BloodvineG"
AtlasLootMenuItem_6:Show()
--Mooncloth Regalia
AtlasLootMenuItem_7_Name:SetText(AL["Mooncloth Regalia"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\inv_chest_cloth_08")
AtlasLootMenuItem_7.lootpage = "MoonclothSet"
AtlasLootMenuItem_7:Show()
--Mail Blacksmithing Header
AtlasLootMenuItem_9_Name:SetText(RED..AL["Blacksmithing"])
AtlasLootMenuItem_9_Extra:SetText(WHITE..AL["Mail"])
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_9.isheader = true
AtlasLootMenuItem_9:Show()
--Bloodsoul Embrace
AtlasLootMenuItem_10_Name:SetText(AL["Bloodsoul Embrace"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_15")
AtlasLootMenuItem_10.lootpage = "BloodsoulEmbrace"
AtlasLootMenuItem_10:Show()
--Plate Blacksmithing header
AtlasLootMenuItem_12_Name:SetText(RED..AL["Blacksmithing"])
AtlasLootMenuItem_12_Extra:SetText(WHITE..AL["Plate"])
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_12.isheader = true
AtlasLootMenuItem_12:Show()
--Steel Plate
AtlasLootMenuItem_13_Name:SetText(AL["Steel Plate"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\INV_Helmet_25")
AtlasLootMenuItem_13.lootpage = "SteelPlate"
AtlasLootMenuItem_13:Show()
--Imperial Plate
AtlasLootMenuItem_14_Name:SetText(AL["Imperial Plate"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Belt_01")
AtlasLootMenuItem_14.lootpage = "ImperialPlate"
AtlasLootMenuItem_14:Show()
--The Darksoul
AtlasLootMenuItem_15_Name:SetText(AL["The Darksoul"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_01")
AtlasLootMenuItem_15.lootpage = "TheDarksoul"
AtlasLootMenuItem_15:Show()
AtlasLootMenuItem_15:Show()
--Leatherworking Leather Header
AtlasLootMenuItem_16_Name:SetText(RED..AL["Leatherworking"])
AtlasLootMenuItem_16_Extra:SetText(WHITE..AL["Leather"])
AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\inv_misc_armorkit_17")
AtlasLootMenuItem_16.isheader = true
AtlasLootMenuItem_16:Show()
--Grifter's Armor
AtlasLootMenuItem_17_Name:SetText(AL["Grifter's Armor"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Helmet_33")
AtlasLootMenuItem_17.lootpage = "GriftersArmor"
AtlasLootMenuItem_17:Show()
--Primalist's Trappings
AtlasLootMenuItem_18_Name:SetText(AL["Primalist's Trappings"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Helmet_04")
AtlasLootMenuItem_18.lootpage = "PrimalistsTrappings"
AtlasLootMenuItem_18:Show()
--Volcanic Armor
AtlasLootMenuItem_19_Name:SetText(AL["Volcanic Armor"])
AtlasLootMenuItem_19_Extra:SetText(ORANGE..AL["Fire Resistance Gear"])
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Pants_06")
AtlasLootMenuItem_19.lootpage = "VolcanicArmor"
AtlasLootMenuItem_19:Show()
--Ironfeather Armor
AtlasLootMenuItem_20_Name:SetText(AL["Ironfeather Armor"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Chest_Leather_06")
AtlasLootMenuItem_20.lootpage = "IronfeatherArmor"
AtlasLootMenuItem_20:Show()
--Stormshroud Armor
AtlasLootMenuItem_21_Name:SetText(AL["Stormshroud Armor"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Chest_Leather_08")
AtlasLootMenuItem_21.lootpage = "StormshroudArmor"
AtlasLootMenuItem_21:Show()
--Devilsaur Armor
AtlasLootMenuItem_22_Name:SetText(AL["Devilsaur Armor"])
AtlasLootMenuItem_22_Extra:SetText("")
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Pants_Wolf")
AtlasLootMenuItem_22.lootpage = "DevilsaurArmor"
AtlasLootMenuItem_22:Show()
--Blood Tiger Harness
AtlasLootMenuItem_23_Name:SetText(AL["Blood Tiger Harness"])
AtlasLootMenuItem_23_Extra:SetText("")
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_23")
AtlasLootMenuItem_23.lootpage = "BloodTigerH"
AtlasLootMenuItem_23:Show()
--Primal Batskin
AtlasLootMenuItem_24_Name:SetText(AL["Primal Batskin"])
AtlasLootMenuItem_24_Extra:SetText("")
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Chest_Leather_03")
AtlasLootMenuItem_24.lootpage = "PrimalBatskin"
AtlasLootMenuItem_24:Show()
--Leatherworking Mail Header
AtlasLootMenuItem_26_Name:SetText(RED..AL["Leatherworking"])
AtlasLootMenuItem_26_Extra:SetText(WHITE..AL["Mail"])
AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\inv_misc_armorkit_17")
AtlasLootMenuItem_26.isheader = true
AtlasLootMenuItem_26:Show()
--Red Dragon Mail
AtlasLootMenuItem_30_Name:SetText(AL["Red Dragon Mail"])
AtlasLootMenuItem_30_Extra:SetText(ORANGE..AL["Fire Resistance Gear"])
AtlasLootMenuItem_30_Icon:SetTexture("Interface\\Icons\\inv_chest_chain_06")
AtlasLootMenuItem_30.lootpage = "RedDragonM"
AtlasLootMenuItem_30:Show()
--Green Dragon Mail
AtlasLootMenuItem_27_Name:SetText(AL["Green Dragon Mail"])
AtlasLootMenuItem_27_Extra:SetText(ORANGE..AL["Nature Resistance Gear"])
AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\INV_Pants_05")
AtlasLootMenuItem_27.lootpage = "GreenDragonM"
AtlasLootMenuItem_27:Show()
--Blue Dragon Mail
AtlasLootMenuItem_28_Name:SetText(AL["Blue Dragon Mail"])
AtlasLootMenuItem_28_Extra:SetText(ORANGE..AL["Arcane Resistance Gear"])
AtlasLootMenuItem_28_Icon:SetTexture("Interface\\Icons\\INV_Chest_Chain_04")
AtlasLootMenuItem_28.lootpage = "BlueDragonM"
AtlasLootMenuItem_28:Show()
--Black Dragon Mail
AtlasLootMenuItem_29_Name:SetText(AL["Black Dragon Mail"])
AtlasLootMenuItem_29_Extra:SetText(ORANGE..AL["Fire Resistance Gear"])
AtlasLootMenuItem_29_Icon:SetTexture("Interface\\Icons\\INV_Pants_03")
AtlasLootMenuItem_29.lootpage = "BlackDragonM"
AtlasLootMenuItem_29:Show()
end
function AtlasLoot_AlchemyMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Alchemy"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Alchemy"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_2.lootpage = "AlchemyApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Alchemy"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_3.lootpage = "AlchemyJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Alchemy"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_4.lootpage = "AlchemyExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Alchemy"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_5.lootpage = "AlchemyArtisan1"
AtlasLootMenuItem_5:Show()
--Flasks
AtlasLootMenuItem_7_Name:SetText(AL["Flasks"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_7.lootpage = "AlchemyFlasks1"
AtlasLootMenuItem_7:Show()
--Protection Pots
AtlasLootMenuItem_8_Name:SetText(AL["Protection Potions"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_8.lootpage = "AlchemyProtectionPots1"
AtlasLootMenuItem_8:Show()
--Healing and Mana
AtlasLootMenuItem_9_Name:SetText(AL["Health and Mana Potions"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_9.lootpage = "AlchemyHealingAndMana1"
AtlasLootMenuItem_9:Show()
--Transmutes
AtlasLootMenuItem_10_Name:SetText(AL["Transmutes"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_10.lootpage = "AlchemyTransmutes1"
AtlasLootMenuItem_10:Show()
--Defensive pots
AtlasLootMenuItem_11_Name:SetText(AL["Defensive Potions and Elixirs"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_11.lootpage = "AlchemyDefensive1"
AtlasLootMenuItem_11:Show()
--Offensive pots
AtlasLootMenuItem_12_Name:SetText(AL["Offensive Potions and Elixirs"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_12.lootpage = "AlchemyOffensive1"
AtlasLootMenuItem_12:Show()
--Other
AtlasLootMenuItem_13_Name:SetText(AL["Miscellaneous"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy")
AtlasLootMenuItem_13.lootpage = "AlchemyMisc1"
AtlasLootMenuItem_13:Show()
end
function AtlasLoot_SmithingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Blacksmithing"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Blacksmithing"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_2.lootpage = "SmithingApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Blacksmithing"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_3.lootpage = "SmithingJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Blacksmithing"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_4.lootpage = "SmithingExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Blacksmithing"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_5.lootpage = "SmithingArtisan1"
AtlasLootMenuItem_5:Show()
--BS Helm
AtlasLootMenuItem_7_Name:SetText(AL["Blacksmithing"]..": "..AL["Helm"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_7.lootpage = "SmithingHelm1"
AtlasLootMenuItem_7:Show()
--BS Shoulders
AtlasLootMenuItem_8_Name:SetText(AL["Blacksmithing"]..": "..AL["Shoulders"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_8.lootpage = "SmithingShoulders1"
AtlasLootMenuItem_8:Show()
--BS Chest
AtlasLootMenuItem_9_Name:SetText(AL["Blacksmithing"]..": "..AL["Chest"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_9.lootpage = "SmithingChest1"
AtlasLootMenuItem_9:Show()
--BS Bracers
AtlasLootMenuItem_10_Name:SetText(AL["Blacksmithing"]..": "..AL["Bracers"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_10.lootpage = "SmithingBracers1"
AtlasLootMenuItem_10:Show()
--BS Gloves
AtlasLootMenuItem_11_Name:SetText(AL["Blacksmithing"]..": "..AL["Gloves"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_11.lootpage = "SmithingGloves1"
AtlasLootMenuItem_11:Show()
--BS Belt
AtlasLootMenuItem_12_Name:SetText(AL["Blacksmithing"]..": "..AL["Belt"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_12.lootpage = "SmithingBelt1"
AtlasLootMenuItem_12:Show()
--BS Pants
AtlasLootMenuItem_13_Name:SetText(AL["Blacksmithing"]..": "..AL["Pants"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_13.lootpage = "SmithingPants1"
AtlasLootMenuItem_13:Show()
--BS Boots
AtlasLootMenuItem_14_Name:SetText(AL["Blacksmithing"]..": "..AL["Boots"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_14.lootpage = "SmithingBoots1"
AtlasLootMenuItem_14:Show()
--BS Belt Buckles
AtlasLootMenuItem_15_Name:SetText(AL["Blacksmithing"]..": "..AL["Belt Buckles"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_15.lootpage = "SmithingBuckles1"
AtlasLootMenuItem_15:Show()
--BS Axes
AtlasLootMenuItem_17_Name:SetText(AL["Blacksmithing"]..": "..AL["Axes"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_17.lootpage = "SmithingAxes1"
AtlasLootMenuItem_17:Show()
--BS Swords
AtlasLootMenuItem_18_Name:SetText(AL["Blacksmithing"]..": "..AL["Swords"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_18.lootpage = "SmithingSwords1"
AtlasLootMenuItem_18:Show()
--BS Maces
AtlasLootMenuItem_19_Name:SetText(AL["Blacksmithing"]..": "..AL["Maces"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_19.lootpage = "SmithingMaces1"
AtlasLootMenuItem_19:Show()
--BS Fist
AtlasLootMenuItem_20_Name:SetText(AL["Blacksmithing"]..": "..AL["Fist"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_20.lootpage = "SmithingFist1"
AtlasLootMenuItem_20:Show()
--BS Daggers
AtlasLootMenuItem_21_Name:SetText(AL["Blacksmithing"]..": "..AL["Daggers"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_21.lootpage = "SmithingDaggers1"
AtlasLootMenuItem_21:Show()
--BS Misc
AtlasLootMenuItem_22_Name:SetText(AL["Blacksmithing"]..": "..AL["Misc"])
AtlasLootMenuItem_22_Extra:SetText("")
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing")
AtlasLootMenuItem_22.lootpage = "SmithingMisc1"
AtlasLootMenuItem_22:Show()
--Armorsmith
AtlasLootMenuItem_24_Name:SetText(AL["Armorsmith"])
AtlasLootMenuItem_24_Extra:SetText("")
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Chest_Plate04")
AtlasLootMenuItem_24.lootpage = "Armorsmith1"
AtlasLootMenuItem_24:Show()
--Weaponsmith
AtlasLootMenuItem_25_Name:SetText(AL["Weaponsmith"])
AtlasLootMenuItem_25_Extra:SetText("")
AtlasLootMenuItem_25_Icon:SetTexture("Interface\\Icons\\INV_Sword_25")
AtlasLootMenuItem_25.lootpage = "Weaponsmith1"
AtlasLootMenuItem_25:Show()
--Master Axesmith
AtlasLootMenuItem_26_Name:SetText(AL["Master Axesmith"])
AtlasLootMenuItem_26_Extra:SetText("")
AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\INV_Axe_05")
AtlasLootMenuItem_26.lootpage = "Axesmith1"
AtlasLootMenuItem_26:Show()
--Master Hammersmith
AtlasLootMenuItem_27_Name:SetText(AL["Master Hammersmith"])
AtlasLootMenuItem_27_Extra:SetText("")
AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\INV_Hammer_23")
AtlasLootMenuItem_27.lootpage = "Hammersmith1"
AtlasLootMenuItem_27:Show()
--Master Swordsmith
AtlasLootMenuItem_28_Name:SetText(AL["Master Swordsmith"])
AtlasLootMenuItem_28_Extra:SetText("")
AtlasLootMenuItem_28_Icon:SetTexture("Interface\\Icons\\INV_Sword_41")
AtlasLootMenuItem_28.lootpage = "Swordsmith1"
AtlasLootMenuItem_28:Show()
end
function AtlasLoot_EnchantingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Enchanting"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Enchanting"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_2.lootpage = "EnchantingApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Enchanting"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_3.lootpage = "EnchantingJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Enchanting"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_4.lootpage = "EnchantingExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Enchanting"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_5.lootpage = "EnchantingArtisan1"
AtlasLootMenuItem_5:Show()
--Enchanting Cloak
AtlasLootMenuItem_7_Name:SetText(AL["Enchanting"]..": "..AL["Cloak"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_7.lootpage = "EnchantingCloak1"
AtlasLootMenuItem_7:Show()
--Enchanting Chest
AtlasLootMenuItem_8_Name:SetText(AL["Enchanting"]..": "..AL["Chest"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_8.lootpage = "EnchantingChest1"
AtlasLootMenuItem_8:Show()
--Enchanting Bracer
AtlasLootMenuItem_9_Name:SetText(AL["Enchanting"]..": "..AL["Bracers"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_9.lootpage = "EnchantingBracer1"
AtlasLootMenuItem_9:Show()
--Enchanting Gloves
AtlasLootMenuItem_10_Name:SetText(AL["Enchanting"]..": "..AL["Gloves"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_10.lootpage = "EnchantingGlove1"
AtlasLootMenuItem_10:Show()
--Enchanting Boots
AtlasLootMenuItem_11_Name:SetText(AL["Enchanting"]..": "..AL["Boots"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_11.lootpage = "EnchantingBoots1"
AtlasLootMenuItem_11:Show()
--Enchanting 2H Weapon
AtlasLootMenuItem_12_Name:SetText(AL["Enchanting"]..": "..AL["2H Weapon"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_12.lootpage = "Enchanting2HWeapon1"
AtlasLootMenuItem_12:Show()
--Enchanting Weapon
AtlasLootMenuItem_13_Name:SetText(AL["Enchanting"]..": "..AL["Weapon"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_13.lootpage = "EnchantingWeapon1"
AtlasLootMenuItem_13:Show()
--Enchanting Shield
AtlasLootMenuItem_14_Name:SetText(AL["Enchanting"]..": "..AL["Shield"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_14.lootpage = "EnchantingShield1"
AtlasLootMenuItem_14:Show()
--Enchanting Misc
AtlasLootMenuItem_15_Name:SetText(AL["Enchanting"]..": "..AL["Misc"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Trade_Engraving")
AtlasLootMenuItem_15.lootpage = "EnchantingMisc1"
AtlasLootMenuItem_15:Show()
end
function AtlasLoot_EngineeringMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Engineering"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Engineering"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_2.lootpage = "EngineeringApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Engineering"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_3.lootpage = "EngineeringJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Engineering"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_4.lootpage = "EngineeringExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Engineering"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_5.lootpage = "EngineeringArtisan1"
AtlasLootMenuItem_5:Show()
--Equipment
AtlasLootMenuItem_7_Name:SetText(AL["Engineering"]..": "..AL["Equipment"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_7.lootpage = "EngineeringEquipment1"
AtlasLootMenuItem_7:Show()
--Trinkets
AtlasLootMenuItem_8_Name:SetText(AL["Engineering"]..": "..AL["Trinkets"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_8.lootpage = "EngineeringTrinkets1"
AtlasLootMenuItem_8:Show()
--Explosives
AtlasLootMenuItem_9_Name:SetText(AL["Engineering"]..": "..AL["Explosives"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_9.lootpage = "EngineeringExplosives1"
AtlasLootMenuItem_9:Show()
-- Weapons
AtlasLootMenuItem_10_Name:SetText(AL["Engineering"]..": "..AL["Weapons"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_10.lootpage = "EngineeringWeapons1"
AtlasLootMenuItem_10:Show()
--Parts
AtlasLootMenuItem_11_Name:SetText(AL["Engineering"]..": "..AL["Parts"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_11.lootpage = "EngineeringParts1"
AtlasLootMenuItem_11:Show()
--Misc
AtlasLootMenuItem_12_Name:SetText(AL["Engineering"]..": "..AL["Misc"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_12.lootpage = "EngineeringMisc1"
AtlasLootMenuItem_12:Show()
--Gnomish Engineering
AtlasLootMenuItem_17_Name:SetText(AL["Gnomish Engineering"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_17.lootpage = "Gnomish1"
AtlasLootMenuItem_17:Show()
--Goblin Engineering
AtlasLootMenuItem_18_Name:SetText(AL["Goblin Engineering"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\Trade_Engineering")
AtlasLootMenuItem_18.lootpage = "Goblin1"
AtlasLootMenuItem_18:Show()
end
function AtlasLoot_LeatherworkingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Leatherworking"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Leatherworking"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_2.lootpage = "LeatherApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Leatherworking"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_3.lootpage = "LeatherJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Leatherworking"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_4.lootpage = "LeatherExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Leatherworking"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_5.lootpage = "LeatherArtisan1"
AtlasLootMenuItem_5:Show()
--Dragonscale Leatherworking
AtlasLootMenuItem_20_Name:SetText(AL["Dragonscale Leatherworking"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Misc_MonsterScales_03")
AtlasLootMenuItem_20.lootpage = "Dragonscale1"
AtlasLootMenuItem_20:Show()
--Elemental Leatherworking
AtlasLootMenuItem_21_Name:SetText(AL["Elemental Leatherworking"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\Spell_Fire_Volcano")
AtlasLootMenuItem_21.lootpage = "Elemental1"
AtlasLootMenuItem_21:Show()
--Tribal Leatherworking
AtlasLootMenuItem_22_Name:SetText(AL["Tribal Leatherworking"])
AtlasLootMenuItem_22_Extra:SetText("")
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\Spell_Nature_NullWard")
AtlasLootMenuItem_22.lootpage = "Tribal1"
AtlasLootMenuItem_22:Show()
--Leatherworking Helm
AtlasLootMenuItem_7_Name:SetText(AL["Leatherworking"]..": "..AL["Helm"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_7.lootpage = "LeatherHelm1"
AtlasLootMenuItem_7:Show()
--Leatherworking Shoulders
AtlasLootMenuItem_8_Name:SetText(AL["Leatherworking"]..": "..AL["Shoulders"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_8.lootpage = "LeatherShoulders1"
AtlasLootMenuItem_8:Show()
--Leatherworking Cape
AtlasLootMenuItem_9_Name:SetText(AL["Leatherworking"]..": "..AL["Cloak"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_9.lootpage = "LeatherCloak1"
AtlasLootMenuItem_9:Show()
--Leatherworking Chest
AtlasLootMenuItem_10_Name:SetText(AL["Leatherworking"]..": "..AL["Chest"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_10.lootpage = "LeatherChest1"
AtlasLootMenuItem_10:Show()
--Leatherworking Bracers
AtlasLootMenuItem_11_Name:SetText(AL["Leatherworking"]..": "..AL["Bracers"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_11.lootpage = "LeatherBracers1"
AtlasLootMenuItem_11:Show()
--Leatherworking Gloves
AtlasLootMenuItem_12_Name:SetText(AL["Leatherworking"]..": "..AL["Gloves"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_12.lootpage = "LeatherGloves1"
AtlasLootMenuItem_12:Show()
--Leatherworking Belt
AtlasLootMenuItem_13_Name:SetText(AL["Leatherworking"]..": "..AL["Belt"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_13.lootpage = "LeatherBelt1"
AtlasLootMenuItem_13:Show()
--Leatherworking Pants
AtlasLootMenuItem_14_Name:SetText(AL["Leatherworking"]..": "..AL["Pants"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_14.lootpage = "LeatherPants1"
AtlasLootMenuItem_14:Show()
--Leatherworking Boots
AtlasLootMenuItem_15_Name:SetText(AL["Leatherworking"]..": "..AL["Boots"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_15.lootpage = "LeatherBoots1"
AtlasLootMenuItem_15:Show()
--Leatherworking Bags
AtlasLootMenuItem_17_Name:SetText(AL["Leatherworking"]..": "..AL["Bags"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_17.lootpage = "LeatherBags1"
AtlasLootMenuItem_17:Show()
--Leatherworking Misc
AtlasLootMenuItem_18_Name:SetText(AL["Leatherworking"]..": "..AL["Misc"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17")
AtlasLootMenuItem_18.lootpage = "LeatherMisc1"
AtlasLootMenuItem_18:Show()
end
function AtlasLoot_TailoringMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Tailoring"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Tailoring"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_2.lootpage = "TailoringApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Tailoring"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_3.lootpage = "TailoringJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Tailoring"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_4.lootpage = "TailoringExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Tailoring"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_5.lootpage = "TailoringArtisan1"
AtlasLootMenuItem_5:Show()
--Tailoring Helm
AtlasLootMenuItem_7_Name:SetText(AL["Tailoring"]..": "..AL["Helm"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_7.lootpage = "TailoringHelm1"
AtlasLootMenuItem_7:Show()
--Tailoring Shoulders
AtlasLootMenuItem_8_Name:SetText(AL["Tailoring"]..": "..AL["Shoulders"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_8.lootpage = "TailoringShoulders1"
AtlasLootMenuItem_8:Show()
--Tailoring Cape
AtlasLootMenuItem_9_Name:SetText(AL["Tailoring"]..": "..AL["Cloak"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_9.lootpage = "TailoringCloak1"
AtlasLootMenuItem_9:Show()
--Tailoring Chest
AtlasLootMenuItem_10_Name:SetText(AL["Tailoring"]..": "..AL["Chest"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_10.lootpage = "TailoringChest1"
AtlasLootMenuItem_10:Show()
--Tailoring Bracers
AtlasLootMenuItem_11_Name:SetText(AL["Tailoring"]..": "..AL["Bracers"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_11.lootpage = "TailoringBracers1"
AtlasLootMenuItem_11:Show()
--Tailoring Gloves
AtlasLootMenuItem_12_Name:SetText(AL["Tailoring"]..": "..AL["Gloves"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_12.lootpage = "TailoringGloves1"
AtlasLootMenuItem_12:Show()
--Tailoring Belt
AtlasLootMenuItem_13_Name:SetText(AL["Tailoring"]..": "..AL["Belt"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_13.lootpage = "TailoringBelt1"
AtlasLootMenuItem_13:Show()
--Tailoring Pants
AtlasLootMenuItem_14_Name:SetText(AL["Tailoring"]..": "..AL["Pants"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_14.lootpage = "TailoringPants1"
AtlasLootMenuItem_14:Show()
--Tailoring Boots
AtlasLootMenuItem_15_Name:SetText(AL["Tailoring"]..": "..AL["Boots"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_15.lootpage = "TailoringBoots1"
AtlasLootMenuItem_15:Show()
--Tailoring Shirt
AtlasLootMenuItem_17_Name:SetText(AL["Tailoring"]..": "..AL["Shirt"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_17.lootpage = "TailoringShirt1"
AtlasLootMenuItem_17:Show()
--Tailoring Bags
AtlasLootMenuItem_18_Name:SetText(AL["Tailoring"]..": "..AL["Bags"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_18.lootpage = "TailoringBags1"
AtlasLootMenuItem_18:Show()
--Tailoring Misc
AtlasLootMenuItem_19_Name:SetText(AL["Tailoring"]..": "..AL["Misc"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring")
AtlasLootMenuItem_19.lootpage = "TailoringMisc1"
AtlasLootMenuItem_19:Show()
end
function AtlasLoot_JewelcraftingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Jewelcrafting"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Jewelcrafting"]..": "..AL["Apprentice"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_2.lootpage = "JewelcraftingApprentice1"
AtlasLootMenuItem_2:Show()
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Jewelcrafting"]..": "..AL["Journeyman"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_3.lootpage = "JewelcraftingJourneyman1"
AtlasLootMenuItem_3:Show()
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Jewelcrafting"]..": "..AL["Expert"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_4.lootpage = "JewelcraftingExpert1"
AtlasLootMenuItem_4:Show()
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Jewelcrafting"]..": "..AL["Artisan"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_5.lootpage = "JewelcraftingArtisan1"
AtlasLootMenuItem_5:Show()
--Gemstones
AtlasLootMenuItem_7_Name:SetText(AL["Jewelcrafting"]..": "..AL["Gemstones"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_7.lootpage = "JewelcraftingGemstones1"
AtlasLootMenuItem_7:Show()
--Rings
AtlasLootMenuItem_8_Name:SetText(AL["Jewelcrafting"]..": "..AL["Rings"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_8.lootpage = "JewelcraftingRings1"
AtlasLootMenuItem_8:Show()
--Amulets
AtlasLootMenuItem_9_Name:SetText(AL["Jewelcrafting"]..": "..AL["Amulets"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_9.lootpage = "JewelcraftingAmulets1"
AtlasLootMenuItem_9:Show()
--Head
AtlasLootMenuItem_10_Name:SetText(AL["Jewelcrafting"]..": "..AL["Head"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_10.lootpage = "JewelcraftingHelm1"
AtlasLootMenuItem_10:Show()
--Bracers
AtlasLootMenuItem_11_Name:SetText(AL["Jewelcrafting"]..": "..AL["Bracers"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_11.lootpage = "JewelcraftingBracers1"
AtlasLootMenuItem_11:Show()
--Offhands
AtlasLootMenuItem_12_Name:SetText(AL["Jewelcrafting"]..": "..AL["Off Hand"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_12.lootpage = "JewelcraftingOffHands1"
AtlasLootMenuItem_12:Show()
--Staves
AtlasLootMenuItem_13_Name:SetText(AL["Jewelcrafting"]..": "..AL["Staff"])
AtlasLootMenuItem_13_Extra:SetText("")
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_13.lootpage = "JewelcraftingStaves1"
AtlasLootMenuItem_13:Show()
--Trinkets
AtlasLootMenuItem_14_Name:SetText(AL["Jewelcrafting"]..": "..AL["Trinkets"])
AtlasLootMenuItem_14_Extra:SetText("")
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_14.lootpage = "JewelcraftingTrinkets1"
AtlasLootMenuItem_14:Show()
--Misc
AtlasLootMenuItem_15_Name:SetText(AL["Jewelcrafting"]..": "..AL["Misc"])
AtlasLootMenuItem_15_Extra:SetText("")
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01")
AtlasLootMenuItem_15.lootpage = "JewelcraftingMisc1"
AtlasLootMenuItem_15:Show()
--Gemology
AtlasLootMenuItem_17_Name:SetText(AL["Jewelcrafting"]..": "..AL["Gemology"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Misc_Gem_Variety_01")
AtlasLootMenuItem_17.lootpage = "JewelcraftingGemology1"
AtlasLootMenuItem_17:Show()
--Goldsmithing
AtlasLootMenuItem_18_Name:SetText(AL["Jewelcrafting"]..": "..AL["Goldsmithing"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Ring_03")
AtlasLootMenuItem_18.lootpage = "JewelcraftingGoldsmithing1"
AtlasLootMenuItem_18:Show()
end
-94
View File
@@ -1,94 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local _G = getfenv(0)
local buttonsPerPage = 30
local ButtonsInfo1
local ButtonsInfo2
local WHITE = "|cffFFFFFF"
local RED = "|cffff0000"
function AtlasLoot_DungeonsMenu1()
if not ButtonsInfo1 then
ButtonsInfo1 = {
{ name = WHITE.."[13-18]|r "..AL["Ragefire Chasm"], extra = AL["Orgrimmar"], lootpage = "RFCTaragaman", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[13-20]|r "..AL["Frostmane Hollow"], extra = AL["Dun Morogh"], lootpage = "FMHTansha", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[17-24]|r "..AL["Wailing Caverns"], extra = AL["Barrens"], lootpage = "WCLordCobrahn", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[17-24]|r "..AL["The Deadmines"], extra = AL["Westfall"], lootpage = "DMRhahkZor", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[22-30]|r "..AL["Shadowfang Keep"], extra = AL["Silverpine Forest"], lootpage = "SFKRethilgore", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[22-30]|r "..AL["The Stockade"], extra = AL["Stormwind"], lootpage = "SWStTargorr", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[23-32]|r "..AL["Blackfathom Deeps"], extra = AL["Ashenvale"], lootpage = "BFDGhamoora", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[25-33]|r "..AL["Windhorn Canyon"], extra = AL["Thousand Needles"], lootpage = "WHCPathun", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[26-35]|r "..AL["Dragonmaw Retreat"], extra = AL["Wetlands"], lootpage = "DMRGowlfang", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[29-38]|r "..AL["Gnomeregan"], extra = AL["Dun Morogh"], lootpage = "GnGrubbis", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[29-38]|r "..AL["Razorfen Kraul"], extra = AL["Barrens"], lootpage = "RFKAggem", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[32-38]|r "..AL["The Crescent Grove"], extra = AL["Ashenvale"], lootpage = "TCGGrovetenderEngryss", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[27-36]|r "..AL["Scarlet Monastery (Graveyard)"], extra = AL["Tirisfal Glades"], lootpage = "SMVishas", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[28-39]|r "..AL["Scarlet Monastery (Library)"], extra = AL["Tirisfal Glades"], lootpage = "SMHoundmasterLoksey", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[32-41]|r "..AL["Scarlet Monastery (Armory)"], extra = AL["Tirisfal Glades"], lootpage = "SMHerod", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[35-45]|r "..AL["Scarlet Monastery (Cathedral)"], extra = AL["Tirisfal Glades"], lootpage = "SMFairbanks", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[32-44]|r "..AL["Stormwrought Ruins"], extra = AL["Balor"], lootpage = "SWROronok", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[36-46]|r "..AL["Razorfen Downs"], extra = AL["Barrens"], lootpage = "RFDTutenkash", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[40-51]|r "..AL["Uldaman"], extra = AL["Badlands"], lootpage = "UldBaelog", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[42-50]|r "..AL["Gilneas City"], extra = AL["Gilneas"], lootpage = "GCMatthiasHoltz", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[45-55]|r "..AL["Maraudon"], extra = AL["Desolace"], lootpage = "MaraNoxxion", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[44-54]|r "..AL["Zul'Farrak"], extra = AL["Tanaris"], lootpage = "ZFAntusul", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[50-60]|r "..AL["The Sunken Temple"], extra = AL["Swamp of Sorrows"], lootpage = "STBalconyMinibosses", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[50-60]|r "..AL["Hateforge Quarry"], extra = AL["Burning Steppes"], lootpage = "HQHighForemanBargulBlackhammer", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[52-60]|r "..AL["Blackrock Depths"], extra = AL["Burning Steppes"], lootpage = "BRDLordRoccor", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[55-60]|r "..AL["Dire Maul (East)"], extra = AL["Feralas"], lootpage = "DMEPusillin", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[57-60]|r "..AL["Dire Maul (West)"], extra = AL["Feralas"], lootpage = "DMWTendrisWarpwood", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[57-60]|r "..AL["Dire Maul (North)"], extra = AL["Feralas"], lootpage = "DMNGuardMoldar", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[58-60]|r "..AL["Scholomance"], extra = AL["Western Plaguelands"], lootpage = "SCHOLOKirtonostheHerald", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[58-60]|r "..AL["Stratholme"], extra = AL["Eastern Plaguelands"], lootpage = "STRATSkull", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
}
end
AtlasLoot_PrepMenu(nil, AL["Dungeons & Raids"])
AtlasLootCharDB.LastBoss = "DUNGEONSMENU1"
AtlasLootCharDB.LastBossText = AL["Dungeons & Raids"]
AtlasLootItemsFrame_NEXT:Show()
for i = 1, min(buttonsPerPage, getn(ButtonsInfo1)) do
if ButtonsInfo1[i].name then
_G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo1[i].name)
_G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo1[i].extra)
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo1[i].icon)
_G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo1[i].lootpage
_G["AtlasLootMenuItem_"..i]:Show()
end
end
end
function AtlasLoot_DungeonsMenu2()
if not ButtonsInfo2 then
ButtonsInfo2 = {
{ name = WHITE.."[55-60]|r "..AL["Lower Blackrock Spire"], extra = AL["Burning Steppes"], lootpage = "LBRSSpirestoneButcher", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[58-60]|r "..AL["Upper Blackrock Spire"], extra = AL["Burning Steppes"], lootpage = "UBRSEmberseer", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[60]|r "..AL["Caverns of Time: Black Morass"], extra = AL["Tanaris"], lootpage = "COTBMChronar", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[60]|r "..AL["Stormwind Vault"], extra = AL["Stormwind"], lootpage = "SWVAszoshGrimflame", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{ name = WHITE.."[60]|r "..AL["Karazhan Crypt"], extra = AL["Deadwind Pass"], lootpage = "KCMarrowspike", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" },
{},
{ name = RED.."[RAID]|r "..AL["Zul'Gurub"], extra = AL["Stranglethorn Vale"], lootpage = "ZGJeklik", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Ruins of Ahn'Qiraj"], extra = AL["Silithus"], lootpage = "AQ20Kurinnaxx", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Onyxia's Lair"], extra = AL["Dustwallow Marsh"], lootpage = "Axelus", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Molten Core"], extra = AL["Burning Steppes"], lootpage = "MCIncindis", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Lower Karazhan Halls"], extra = AL["Deadwind Pass"], lootpage = "LKHRolfen", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Blackwing Lair"], extra = AL["Burning Steppes"], lootpage = "BWLRazorgore", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Emerald Sanctum"], extra = AL["Hyjal"], lootpage = "ESErennius", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Timbermaw Hold"], extra = AL["Azshara"], lootpage = "TMHKarrsh", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Temple of Ahn'Qiraj"], extra = AL["Silithus"], lootpage = "AQ40Skeram", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Naxxramas"], extra = AL["Eastern Plaguelands"], lootpage = "NAXPatchwerk", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
{ name = RED.."[RAID]|r "..AL["Upper Karazhan Halls"], extra = AL["Deadwind Pass"], lootpage = "UKHGnarlmoon", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" },
}
end
AtlasLoot_PrepMenu(nil, AL["Dungeons & Raids"])
AtlasLootCharDB.LastBoss = "DUNGEONSMENU2"
AtlasLootCharDB.LastBossText = AL["Dungeons & Raids"]
AtlasLootItemsFrame_PREV:Show()
for i = 1, min(buttonsPerPage, getn(ButtonsInfo2)) do
if ButtonsInfo2[i].name then
_G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo2[i].name)
_G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo2[i].extra)
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo2[i].icon)
_G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo2[i].lootpage
_G["AtlasLootMenuItem_"..i]:Show()
end
end
end
-55
View File
@@ -1,55 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local _G = getfenv(0)
local buttonsPerPage = 30
local ButtonsInfo1
local RED = "|cffff0000"
local BLUE = "|cff0070dd"
function AtlasLootRepMenu()
AtlasLoot_PrepMenu(nil, AL["Factions"])
AtlasLootCharDB.LastBoss = "REPMENU"
AtlasLootCharDB.LastBossText = AL["Factions"]
if not ButtonsInfo1 then
ButtonsInfo1 = {
{ name = AL["Argent Dawn"], lootpage = "Argent1", icon = "Interface\\Icons\\INV_Jewelry_Talisman_08" },
{ name = AL["Brood of Nozdormu"], lootpage = "AQBroodRings", icon = "Interface\\Icons\\INV_Jewelry_Ring_40" },
{ name = AL["Darkmoon Faire"], lootpage = "Darkmoon", icon = "Interface\\Icons\\INV_Misc_Ticket_Tarot_Maelstrom_01" },
{ name = AL["Hydraxian Waterlords"], lootpage = "WaterLords1", icon = "Interface\\Icons\\Spell_Frost_SummonWaterElemental_2" },
{ name = AL["Thorium Brotherhood"], lootpage = "Thorium1", icon = "Interface\\Icons\\INV_Ingot_Mithril" },
{ name = AL["Cenarion Circle"], lootpage = "Cenarion1", icon = "Interface\\Icons\\Spell_Nature_HealingTouch" },
{ name = AL["Shen'dralar"], lootpage = "Shendralar", icon = "Interface\\Icons\\INV_Misc_Book_04" },
{ name = AL["Draenei Exiles"], lootpage = "DraeneiExiles", icon = "Interface\\Icons\\INV_Enchant_ShardGlowingLarge" },
{ name = AL["Bloodsail Buccaneers"], lootpage = "Bloodsail1", icon = "Interface\\Icons\\INV_Helmet_66" },
{ name = AL["Zandalar Tribe"], lootpage = "Zandalar1", icon = "Interface\\Icons\\INV_Misc_Coin_08" },
{ name = AL["Timbermaw Hold"], lootpage = "Timbermaw", icon = "Interface\\Icons\\INV_Misc_Horn_01" },
{ name = AL["Wardens of Time"], lootpage = "Wardens1", icon = "Interface\\Icons\\INV_Misc_Head_Dragon_Bronze" },
{ name = AL["Gelkis Clan Centaur"], lootpage = "GelkisClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
{ name = AL["Magram Clan Centaur"], lootpage = "MagramClan1", icon = "Interface\\Icons\\INV_Misc_Head_Centaur_01" },
{},
{ name = AL["Stormwind"], extra = BLUE..AL["Alliance"], lootpage = "Stormwind", icon = "Interface\\Icons\\race_human" --[[INV_BannerPVP_02]] },
{ name = AL["Ironforge"], extra = BLUE..AL["Alliance"], lootpage = "Ironforge", icon = "Interface\\Icons\\race_dwarf" --[[Ability_Racial_Avatar]] },
{ name = AL["Gnomeregan Exiles"], extra = BLUE..AL["Alliance"], lootpage = "GnomereganExiles", icon = "Interface\\Icons\\race_gnome" --[[INV_Gizmo_02]] },
{ name = AL["Darnassus"], extra = BLUE..AL["Alliance"], lootpage = "Darnassus", icon = "Interface\\Icons\\race_night_elf" --[[Ability_Racial_ShadowMeld]] },
{ name = AL["Silvermoon Remnant"], extra = BLUE..AL["Alliance"], lootpage = "Helf", icon = "Interface\\Icons\\race_high_elf" --[[inv_misc_tournaments_symbol_bloodelf]] },
{ name = AL["Dalaran"], extra = BLUE..AL["Alliance"], lootpage = "Dalaran", icon = "Interface\\Icons\\Spell_Holy_MagicalSentry" },
{ name = AL["Wintersaber Trainers"], extra = BLUE..AL["Alliance"], lootpage = "Wintersaber1", icon = "Interface\\Icons\\Ability_Mount_PinkTiger" },
{ name = AL["Wildhammer Clan"], extra = BLUE..AL["Alliance"], lootpage = "Wildhammer", icon = "Interface\\Icons\\Ability_Hunter_EagleEye" },
{ name = AL["Orgrimmar"], extra = RED..AL["Horde"], lootpage = "Orgrimmar", icon = "Interface\\Icons\\race_orc" --[[INV_BannerPVP_01]] },
{ name = AL["Darkspear Trolls"], extra = RED..AL["Horde"], lootpage = "DarkspearTrolls", icon = "Interface\\Icons\\race_troll" --[[Racial_Troll_Berserk]] },
{ name = AL["Thunder Bluff"], extra = RED..AL["Horde"], lootpage = "ThunderBluff", icon = "Interface\\Icons\\race_tauren" --[[INV_Misc_Foot_Centaur]] },
{ name = AL["Undercity"], extra = RED..AL["Horde"], lootpage = "Undercity", icon = "Interface\\Icons\\race_forsaken" --[[Spell_Shadow_RaiseDead]] },
{ name = AL["Durotar Labor Union"], extra = RED..AL["Horde"], lootpage = "DurotarLaborUnion", icon = "Interface\\Icons\\race_goblin" --[[INV_Misc_Coin_01]] },
{ name = AL["Revantusk Trolls"], extra = RED..AL["Horde"], lootpage = "Revantusk", icon = "Interface\\Icons\\INV_Misc_Head_Troll_01" },
{ name = AL["Earthen Ring"], extra = RED..AL["Horde"], lootpage = "EarthenRing", icon = "Interface\\Icons\\Spell_Nature_EarthShock" },
}
end
for i = 1, min(buttonsPerPage, getn(ButtonsInfo1)) do
if ButtonsInfo1[i].name then
_G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo1[i].name)
_G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo1[i].extra)
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo1[i].icon)
_G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo1[i].lootpage
_G["AtlasLootMenuItem_"..i]:Show()
end
end
end
-390
View File
@@ -1,390 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local RED = "|cffff0000"
local ORANGE = "|cffFF8400"
function AtlasLootPvPMenu()
AtlasLoot_PrepMenu(nil, AL["PvP Rewards"])
AtlasLootCharDB.LastBoss = "PVPMENU"
AtlasLootCharDB.LastBossText = AL["PvP Rewards"]
-- Alterac Valley Rewards
AtlasLootMenuItem_2_Name:SetText(AL["Alterac Valley"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_2.lootpage = "AVRepMenu"
AtlasLootMenuItem_2:Show()
-- Arathi Basin Rewards
AtlasLootMenuItem_3_Name:SetText(AL["Arathi Basin"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_3.lootpage = "ABRepMenu"
AtlasLootMenuItem_3:Show()
--PvP Mounts
AtlasLootMenuItem_21_Name:SetText(AL["PvP Mounts"])
AtlasLootMenuItem_21_Extra:SetText(ORANGE..AL["Rank 11"])
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\Ability_Mount_RidingHorse")
AtlasLootMenuItem_21.lootpage = "PvPMountsPvP"
AtlasLootMenuItem_21:Show()
--PvP Armor Sets
AtlasLootMenuItem_6_Name:SetText(AL["PvP Armor Sets"])
AtlasLootMenuItem_6_Extra:SetText(ORANGE..AL["Rank 7-13"])
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Helmet_05")
AtlasLootMenuItem_6.lootpage = "PVPSET"
AtlasLootMenuItem_6:Show()
--PvP Accessories
AtlasLootMenuItem_7_Name:SetText(AL["PvP Accessories"])
AtlasLootMenuItem_7_Extra:SetText(ORANGE..AL["Rank 2-9"])
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Talisman_09")
AtlasLootMenuItem_7.lootpage = "PvP60Accessories1"
AtlasLootMenuItem_7:Show()
-- Warsong Gulch Rewards
AtlasLootMenuItem_17_Name:SetText(AL["Warsong Gulch"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_17.lootpage = "WSGRepMenu"
AtlasLootMenuItem_17:Show()
-- Blood Ring Rewards
AtlasLootMenuItem_18_Name:SetText(AL["Blood Ring"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\inv_jewelry_ring_04")
AtlasLootMenuItem_18.lootpage = "BRRepMenu"
AtlasLootMenuItem_18:Show()
--Weapons
AtlasLootMenuItem_22_Name:SetText(AL["PvP Weapons"])
AtlasLootMenuItem_22_Extra:SetText(ORANGE..AL["Rank 14"])
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Sword_11")
AtlasLootMenuItem_22.lootpage = "PVPWeapons1"
AtlasLootMenuItem_22:Show()
end
function AtlasLootBRRepMenu()
AtlasLoot_PrepMenu("PVPMENU", AL["Blood Ring"])
--Friendly
AtlasLootMenuItem_2_Name:SetText("Friendly Reputation Rewards")
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\inv_jewelry_ring_04")
AtlasLootMenuItem_2.lootpage = "BRRepFriendly"
AtlasLootMenuItem_2:Show()
--Honored
AtlasLootMenuItem_3_Name:SetText("Honored Reputation Rewards")
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\inv_jewelry_ring_04")
AtlasLootMenuItem_3.lootpage = "BRRepHonored"
AtlasLootMenuItem_3:Show()
--Revered
AtlasLootMenuItem_4_Name:SetText("Revered Reputation Rewards")
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\inv_jewelry_ring_04")
AtlasLootMenuItem_4.lootpage = "BRRepRevered"
AtlasLootMenuItem_4:Show()
--Exalted
AtlasLootMenuItem_5_Name:SetText("Exalted Reputation Rewards")
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\inv_jewelry_ring_04")
AtlasLootMenuItem_5.lootpage = "BRRepExalted"
AtlasLootMenuItem_5:Show()
--Token of Blood
AtlasLootMenuItem_6_Name:SetText("Token of Blood Rewards")
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\inv_jewelry_talisman_04")
AtlasLootMenuItem_6.lootpage = "BRRepTokens"
AtlasLootMenuItem_6:Show()
end
function AtlasLootWSGRepMenu()
AtlasLoot_PrepMenu("PVPMENU", AL["Warsong Gulch"])
--Friendly Header
AtlasLootMenuItem_2_Name:SetText(RED..AL["Friendly"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_2.isheader = true
AtlasLootMenuItem_2:Show()
--Friendly
AtlasLootMenuItem_3_Name:SetText("10-60")
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_3.lootpage = "WSGRepFriendly"
AtlasLootMenuItem_3:Show()
--Honored Header
AtlasLootMenuItem_7_Name:SetText(RED..AL["Honored"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_7.isheader = true
AtlasLootMenuItem_7:Show()
--Honored 10-19
AtlasLootMenuItem_8_Name:SetText("10-19")
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_8.lootpage = "WSGRepHonored1019"
AtlasLootMenuItem_8:Show()
--Honored 20-29
AtlasLootMenuItem_9_Name:SetText("20-29")
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_9.lootpage = "WSGRepHonored2029"
AtlasLootMenuItem_9:Show()
--Honored 30-39
AtlasLootMenuItem_10_Name:SetText("30-39")
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_10.lootpage = "WSGRepHonored3039"
AtlasLootMenuItem_10:Show()
--Honored 40-49
AtlasLootMenuItem_11_Name:SetText("40-49")
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_11.lootpage = "WSGRepHonored4049"
AtlasLootMenuItem_11:Show()
--Honored 50-59
AtlasLootMenuItem_12_Name:SetText("50-59")
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_12.lootpage = "WSGRepHonored5059"
AtlasLootMenuItem_12:Show()
--Exalted Header
AtlasLootMenuItem_24_Name:SetText(RED..AL["Exalted"])
AtlasLootMenuItem_24_Extra:SetText("")
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_24.isheader = true
AtlasLootMenuItem_24:Show()
--Exalted 40-49
AtlasLootMenuItem_25_Name:SetText("40-49")
AtlasLootMenuItem_25_Extra:SetText("")
AtlasLootMenuItem_25_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_25.lootpage = "WSGRepExalted4049"
AtlasLootMenuItem_25:Show()
--Exalted 50-59
AtlasLootMenuItem_26_Name:SetText("50-59")
AtlasLootMenuItem_26_Extra:SetText("")
AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_26.lootpage = "WSGRepExalted5059"
AtlasLootMenuItem_26:Show()
--Exalted 60-60
AtlasLootMenuItem_27_Name:SetText("60")
AtlasLootMenuItem_27_Extra:SetText("")
AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_27.lootpage = "WSGRepExalted60"
AtlasLootMenuItem_27:Show()
--Revered Header
AtlasLootMenuItem_17_Name:SetText(RED..AL["Revered"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_17.isheader = true
AtlasLootMenuItem_17:Show()
--Revered 10-19
AtlasLootMenuItem_18_Name:SetText("10-19")
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_18.lootpage = "WSGRepRevered1019"
AtlasLootMenuItem_18:Show()
--Revered 20-29
AtlasLootMenuItem_19_Name:SetText("20-29")
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_19.lootpage = "WSGRepRevered2029"
AtlasLootMenuItem_19:Show()
--Revered 30-39
AtlasLootMenuItem_20_Name:SetText("30-39")
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_20.lootpage = "WSGRepRevered3039"
AtlasLootMenuItem_20:Show()
--Revered 40-49
AtlasLootMenuItem_21_Name:SetText("40-49")
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_21.lootpage = "WSGRepRevered4049"
AtlasLootMenuItem_21:Show()
--Revered 50-59
AtlasLootMenuItem_22_Name:SetText("50-59")
AtlasLootMenuItem_22_Extra:SetText("")
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07")
AtlasLootMenuItem_22.lootpage = "WSGRepRevered5059"
AtlasLootMenuItem_22:Show()
end
function AtlasLootABRepMenu()
AtlasLoot_PrepMenu("PVPMENU", AL["Arathi Basin"])
--Friendly Header
AtlasLootMenuItem_2_Name:SetText(RED..AL["Friendly"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_2.isheader = true
AtlasLootMenuItem_2:Show()
--Friendly
AtlasLootMenuItem_3_Name:SetText("10-60")
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_3.lootpage = "ABRepFriendly"
AtlasLootMenuItem_3:Show()
--Honored Header
AtlasLootMenuItem_5_Name:SetText(RED..AL["Honored"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_5.isheader = true
AtlasLootMenuItem_5:Show()
--Honored 20-29
AtlasLootMenuItem_6_Name:SetText("20-29")
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_6.lootpage = "ABRepHonored2029"
AtlasLootMenuItem_6:Show()
--Honored 30-39
AtlasLootMenuItem_7_Name:SetText("30-39")
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_7.lootpage = "ABRepHonored3039"
AtlasLootMenuItem_7:Show()
--Honored 40-49
AtlasLootMenuItem_8_Name:SetText("40-49")
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_8.lootpage = "ABRepHonored4049"
AtlasLootMenuItem_8:Show()
--Honored 50-59
AtlasLootMenuItem_9_Name:SetText("50-59")
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_9.lootpage = "ABRepHonored5059"
AtlasLootMenuItem_9:Show()
--Exalted Header
AtlasLootMenuItem_23_Name:SetText(RED..AL["Exalted"])
AtlasLootMenuItem_23_Extra:SetText("")
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_23.isheader = true
AtlasLootMenuItem_23:Show()
--Exalted
AtlasLootMenuItem_24_Name:SetText("60")
AtlasLootMenuItem_24_Extra:SetText("")
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_24.lootpage = "ABRepExalted"
AtlasLootMenuItem_24:Show()
--Revered Header
AtlasLootMenuItem_17_Name:SetText(RED..AL["Revered"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_17.isheader = true
AtlasLootMenuItem_17:Show()
--Revered 20-29
AtlasLootMenuItem_18_Name:SetText("20-29")
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_18.lootpage = "ABRepRevered2029"
AtlasLootMenuItem_18:Show()
--Revered 30-39
AtlasLootMenuItem_19_Name:SetText("30-39")
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_19.lootpage = "ABRepRevered3039"
AtlasLootMenuItem_19:Show()
--Revered 40-49
AtlasLootMenuItem_20_Name:SetText("40-49")
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_20.lootpage = "ABRepRevered4049"
AtlasLootMenuItem_20:Show()
--Revered 50-59
AtlasLootMenuItem_21_Name:SetText("50-59")
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07")
AtlasLootMenuItem_21.lootpage = "ABRepRevered5059"
AtlasLootMenuItem_21:Show()
end
function AtlasLootAVRepMenu()
AtlasLoot_PrepMenu("PVPMENU", AL["Alterac Valley"])
--Friendly
AtlasLootMenuItem_2_Name:SetText(AL["Friendly Reputation Rewards"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_2.lootpage = "AVRepFriendly"
AtlasLootMenuItem_2:Show()
--Honored
AtlasLootMenuItem_3_Name:SetText(AL["Honored Reputation Rewards"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_3.lootpage = "AVRepHonored"
AtlasLootMenuItem_3:Show()
--Revered
AtlasLootMenuItem_4_Name:SetText(AL["Revered Reputation Rewards"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_4.lootpage = "AVRepRevered"
AtlasLootMenuItem_4:Show()
--Exalted
AtlasLootMenuItem_5_Name:SetText(AL["Exalted Reputation Rewards"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_5.lootpage = "AVRepExalted"
AtlasLootMenuItem_5:Show()
--Korrak
AtlasLootMenuItem_6_Name:SetText(AL["Korrak the Bloodrager"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_6.lootpage = "AVKorrak"
AtlasLootMenuItem_6:Show()
--LokholarIvus
AtlasLootMenuItem_7_Name:SetText(AL["Ivus & Lokholar"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_21")
AtlasLootMenuItem_7.lootpage = "AVLokholarIvus"
AtlasLootMenuItem_7:Show()
end
function AtlasLootPVPSetMenu()
AtlasLoot_PrepMenu("PVPMENU", AL["PvP Armor Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "PVPPriest"
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "PVPMage"
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "PVPWarlock"
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "PVPRogue"
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "PVPDruid"
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "PVPHunter"
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "PVPShaman"
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "PVPPaladin"
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "PVPWarrior"
AtlasLootMenuItem_21:Show()
end
+3 -3
View File
@@ -6,12 +6,12 @@ local PURPLE = "|cff9F3FFF"
local BLUE = "|cff0070dd"
local ORANGE = "|cffFF8400"
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
local currentPage = 1
local SearchResult = nil
function AtlasLoot:ShowSearchResult()
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage"..currentPage, string.format((AL["Search Result: %s"]), AtlasLootCharDB.LastSearchedText or ""))
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage"..currentPage)
end
local function strtrim(s)
@@ -89,7 +89,7 @@ function AtlasLoot:Search(Text)
else
currentPage = 1
SearchResult = AtlasLoot_CategorizeWishList(AtlasLootCharDB["SearchResult"])
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage1", string.format((AL["Search Result: %s"]), AtlasLootCharDB.LastSearchedText or ""))
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage1")
end
end
-997
View File
@@ -1,997 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local _G = _G or getfenv(0)
local ORANGE = "|cffFF8400"
local data = AtlasLoot_Data["AtlasLootSetItems"]
function AtlasLoot_GetDataSource(dataID)
local source = nil
for k in pairs(AtlasLoot_Data) do
if source then
break
end
for i in pairs(AtlasLoot_Data[k]) do
if i == dataID then
source = k
break
end
end
end
return source
end
function AtlasLoot_PrepMenu(backPage, title)
for i = 1, 30, 1 do
_G["AtlasLootItem_"..i]:Hide()
end
for i = 1, 30, 1 do
local button = _G["AtlasLootMenuItem_"..i]
button:Hide()
button.isheader = false
button.container = nil
button.dataSource = nil
_G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexCoord(0, 1, 0, 1)
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 1, 1)
end
if backPage then
AtlasLootItemsFrame_BACK:Show()
AtlasLootItemsFrame_BACK.lootpage = backPage
else
AtlasLootItemsFrame_BACK:Hide()
end
AtlasLootItemsFrame_NEXT:Hide()
AtlasLootItemsFrame_PREV:Hide()
for i = 1, 30, 1 do
_G["AtlasLootMenuItem_"..i.."_Extra"]:Show()
end
AtlasLoot_BossName:SetText("|cffFFFFFF"..title)
end
function AtlasLootSetMenu()
AtlasLoot_PrepMenu(nil, AL["Collections"])
AtlasLootCharDB.LastBoss = "SETMENU"
AtlasLootCharDB.LastBossText = AL["Collections"]
--Sets
AtlasLootMenuItem_1_Name:SetText(AL["Sets"])
AtlasLootMenuItem_1_Extra:SetText("")
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\INV_Sword_43")
AtlasLootMenuItem_1.lootpage = "PRE60SET"
AtlasLootMenuItem_1:Show()
--ZG
AtlasLootMenuItem_2_Name:SetText(AL["Zul'Gurub Sets"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Sword_55")
AtlasLootMenuItem_2.lootpage = "ZGSET"
AtlasLootMenuItem_2:Show()
--AQ20
AtlasLootMenuItem_3_Name:SetText(AL["Ruins of Ahn'Qiraj Sets"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Axe_15")
AtlasLootMenuItem_3.lootpage = "AQ20SET"
AtlasLootMenuItem_3:Show()
--AQ40
AtlasLootMenuItem_4_Name:SetText(AL["Temple of Ahn'Qiraj Sets"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_35")
AtlasLootMenuItem_4.lootpage = "AQ40SET"
AtlasLootMenuItem_4:Show()
--Karazhan
AtlasLootMenuItem_5_Name:SetText(AL["Karazhan"].." "..AL["Sets"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Staff_Medivh")
AtlasLootMenuItem_5.lootpage = "KARASET"
AtlasLootMenuItem_5:Show()
-- Timbermaw
AtlasLootMenuItem_6_Name:SetText(AL["Timbermaw Hold"].." "..AL["Sets"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Misc_Horn_01")
AtlasLootMenuItem_6.lootpage = "TMHSET"
AtlasLootMenuItem_6:Show()
--Legendaries
AtlasLootMenuItem_8_Name:SetText(AL["Legendary Items"])
AtlasLootMenuItem_8_Extra:SetText("")
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Hammer_Unique_Sulfuras")
AtlasLootMenuItem_8.lootpage = "Legendaries"
AtlasLootMenuItem_8:Show()
--Rare Pets
AtlasLootMenuItem_9_Name:SetText(AL["Rare Pets"])
AtlasLootMenuItem_9_Extra:SetText("")
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Ability_Seal")
AtlasLootMenuItem_9.lootpage = "RarePets1"
AtlasLootMenuItem_9:Show()
--Rare Mounts
AtlasLootMenuItem_10_Name:SetText(AL["Rare Mounts"])
AtlasLootMenuItem_10_Extra:SetText("")
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Misc_QirajiCrystal_05")
AtlasLootMenuItem_10.lootpage = "RareMounts"
AtlasLootMenuItem_10:Show()
--World Epics
AtlasLootMenuItem_11_Name:SetText(AL["World Epics"])
AtlasLootMenuItem_11_Extra:SetText("")
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Gauntlets_30")
AtlasLootMenuItem_11.lootpage = "WorldEpics1"
AtlasLootMenuItem_11:Show()
--Tabards
AtlasLootMenuItem_12_Name:SetText(AL["Tabards"])
AtlasLootMenuItem_12_Extra:SetText("")
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Shirt_GuildTabard_01")
AtlasLootMenuItem_12.lootpage = "Tabards"
AtlasLootMenuItem_12:Show()
--Dungeon Set 1/2
AtlasLootMenuItem_16_Name:SetText(AL["Dungeon 1/2 Sets"])
AtlasLootMenuItem_16_Extra:SetText("")
AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\INV_Helmet_24")
AtlasLootMenuItem_16.lootpage = "T0SET"
AtlasLootMenuItem_16:Show()
--Tier 1
AtlasLootMenuItem_17_Name:SetText(AL["Tier 1 Sets"])
AtlasLootMenuItem_17_Extra:SetText("")
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Helmet_09")
AtlasLootMenuItem_17.lootpage = "T1SET"
AtlasLootMenuItem_17:Show()
--Tier 2
AtlasLootMenuItem_18_Name:SetText(AL["Tier 2 Sets"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Helmet_74")
AtlasLootMenuItem_18.lootpage = "T2SET"
AtlasLootMenuItem_18:Show()
--Tier 3
AtlasLootMenuItem_19_Name:SetText(AL["Tier 3 Sets"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Helmet_58")
AtlasLootMenuItem_19.lootpage = "T3SET"
AtlasLootMenuItem_19:Show()
for i = 1, 30 do
if _G["AtlasLootMenuItem_"..i].container then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
else
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 1, 1)
end
end
end
function AtlasLootWorldEpicsMenu()
AtlasLoot_PrepMenu("SETMENU", AL["World Epics"])
--Lvl 30-39 BoE World Epics
AtlasLootMenuItem_2_Name:SetText(AL["Level 30-39"])
AtlasLootMenuItem_2_Extra:SetText("")
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Ring_15")
AtlasLootMenuItem_2.lootpage = "WorldEpics1"
AtlasLootMenuItem_2:Show()
--Lvl 40-49 BoE World Epics
AtlasLootMenuItem_3_Name:SetText(AL["Level 40-49"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Staff_29")
AtlasLootMenuItem_3.lootpage = "WorldEpics2"
AtlasLootMenuItem_3:Show()
--Lvl 50-60 BoE World Epics
AtlasLootMenuItem_4_Name:SetText(AL["Level 50-60"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Sword_19")
AtlasLootMenuItem_4.lootpage = "WorldEpics3"
AtlasLootMenuItem_4:Show()
end
function AtlasLootPRE60SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Sets"])
--The Deadmines - Defias Leather
AtlasLootMenuItem_2_Name:SetText(AL["Defias Leather"])
AtlasLootMenuItem_2_Extra:SetText(ORANGE..AL["The Deadmines"])
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Pants_12")
AtlasLootMenuItem_2.lootpage = "DEADMINES"
AtlasLootMenuItem_2.container = data.DeadminesC
AtlasLootMenuItem_2:Show()
--Wailing Caverns - Embrace of the Viper
AtlasLootMenuItem_3_Name:SetText(AL["Embrace of the Viper"])
AtlasLootMenuItem_3_Extra:SetText(ORANGE..AL["Wailing Caverns"])
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Shirt_16")
AtlasLootMenuItem_3.lootpage = "WAILING"
AtlasLootMenuItem_3.container = data.WailingC
AtlasLootMenuItem_3:Show()
--Scarlet Monastery - Chain of the Scarlet Crusade
AtlasLootMenuItem_4_Name:SetText(AL["Chain of the Scarlet Crusade"])
AtlasLootMenuItem_4_Extra:SetText(ORANGE..AL["Scarlet Monastery"])
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Gauntlets_19")
AtlasLootMenuItem_4.lootpage = "SCARLET"
AtlasLootMenuItem_4.container = data.ScarletC
AtlasLootMenuItem_4:Show()
--Blackrock Depths - The Gladiator
AtlasLootMenuItem_5_Name:SetText(AL["The Gladiator"])
AtlasLootMenuItem_5_Extra:SetText(ORANGE..AL["Blackrock Depths"])
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Helmet_01")
AtlasLootMenuItem_5.lootpage = "BLACKROCKD"
AtlasLootMenuItem_5.container = data.BlackrockdC
AtlasLootMenuItem_5:Show()
--Ironweave Battlesuit
AtlasLootMenuItem_6_Name:SetText(AL["Ironweave Battlesuit"])
AtlasLootMenuItem_6_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Boots_Cloth_05")
AtlasLootMenuItem_6.lootpage = "IRONWEAVE"
AtlasLootMenuItem_6.container = data.IronweaveC
AtlasLootMenuItem_6:Show()
--Stratholme - The Postmaster
AtlasLootMenuItem_7_Name:SetText(AL["The Postmaster"])
AtlasLootMenuItem_7_Extra:SetText(ORANGE..AL["Stratholme"])
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Boots_02")
AtlasLootMenuItem_7.lootpage = "STRAT"
AtlasLootMenuItem_7.container = data.StratC
AtlasLootMenuItem_7:Show()
--Scholomance - Cloth - Necropile Raiment
AtlasLootMenuItem_8_Name:SetText(AL["Necropile Raiment"])
AtlasLootMenuItem_8_Extra:SetText(ORANGE..AL["Scholomance"])
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_02")
AtlasLootMenuItem_8.lootpage = "ScholoCloth"
AtlasLootMenuItem_8.container = data.ScholoClothC
AtlasLootMenuItem_8:Show()
--Scholomance - Leather - Cadaverous Garb
AtlasLootMenuItem_9_Name:SetText(AL["Cadaverous Garb"])
AtlasLootMenuItem_9_Extra:SetText(ORANGE..AL["Scholomance"])
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Belt_16")
AtlasLootMenuItem_9.lootpage = "ScholoLeather"
AtlasLootMenuItem_9.container = data.ScholoLeatherC
AtlasLootMenuItem_9:Show()
--Scholomance - Mail - Bloodmail Regalia
AtlasLootMenuItem_10_Name:SetText(AL["Bloodmail Regalia"])
AtlasLootMenuItem_10_Extra:SetText(ORANGE..AL["Scholomance"])
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Gauntlets_26")
AtlasLootMenuItem_10.lootpage = "ScholoMail"
AtlasLootMenuItem_10.container = data.ScholoMailC
AtlasLootMenuItem_10:Show()
--Scholomance - Plate - Deathbone Guardian
AtlasLootMenuItem_11_Name:SetText(AL["Deathbone Guardian"])
AtlasLootMenuItem_11_Extra:SetText(ORANGE..AL["Scholomance"])
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Belt_12")
AtlasLootMenuItem_11.lootpage = "ScholoPlate"
AtlasLootMenuItem_11.container = data.ScholoPlateC
AtlasLootMenuItem_11:Show()
--Scourge Invasion
AtlasLootMenuItem_12_Name:SetText(AL["Scourge Invasion"])
AtlasLootMenuItem_12_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Talisman_13")
AtlasLootMenuItem_12.lootpage = "ScourgeInvasion"
AtlasLootMenuItem_12.container = data.ScourgeInvasionC
AtlasLootMenuItem_12:Show()
--Spider's Kiss
AtlasLootMenuItem_17_Name:SetText(AL["Spider's Kiss"])
AtlasLootMenuItem_17_Extra:SetText(ORANGE..AL["Lower Blackrock Spire"])
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Weapon_ShortBlade_16")
AtlasLootMenuItem_17.lootpage = "SpiderKiss"
AtlasLootMenuItem_17.container = data.SpiderKissC
AtlasLootMenuItem_17:Show()
--Dal'Rend's Arms
AtlasLootMenuItem_18_Name:SetText(AL["Dal'Rend's Arms"])
AtlasLootMenuItem_18_Extra:SetText(ORANGE..AL["Upper Blackrock Spire"])
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Sword_43")
AtlasLootMenuItem_18.lootpage = "DalRend"
AtlasLootMenuItem_18.container = data.DalRendC
AtlasLootMenuItem_18:Show()
--Shard of the Gods
AtlasLootMenuItem_22_Name:SetText(AL["Shard of the Gods"])
AtlasLootMenuItem_22_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Misc_MonsterScales_15")
AtlasLootMenuItem_22.lootpage = "ShardOfGods"
AtlasLootMenuItem_22.container = data.ShardOfGodsC
AtlasLootMenuItem_22:Show()
--Spirit of Eskhandar
AtlasLootMenuItem_23_Name:SetText(AL["Spirit of Eskhandar"])
AtlasLootMenuItem_23_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Misc_MonsterClaw_04")
AtlasLootMenuItem_23.lootpage = "SpiritofEskhandar"
AtlasLootMenuItem_23.container = data.SpiritofEskhandarC
AtlasLootMenuItem_23:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootZGSetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Zul'Gurub Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "ZGPriest"
AtlasLootMenuItem_3.container = data.ZGPriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "ZGMage"
AtlasLootMenuItem_4.container = data.ZGMageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "ZGWarlock"
AtlasLootMenuItem_5.container = data.ZGWarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "ZGRogue"
AtlasLootMenuItem_6.container = data.ZGRogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "ZGDruid"
AtlasLootMenuItem_7.container = data.ZGDruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "ZGHunter"
AtlasLootMenuItem_18.container = data.ZGHunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "ZGShaman"
AtlasLootMenuItem_19.container = data.ZGShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "ZGPaladin"
AtlasLootMenuItem_20.container = data.ZGPaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "ZGWarrior"
AtlasLootMenuItem_21.container = data.ZGWarriorC
AtlasLootMenuItem_21:Show()
--Zul'Gurub Rings
AtlasLootMenuItem_23_Name:SetText(AL["Zul'Gurub Rings"])
AtlasLootMenuItem_23_Extra:SetText("")
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Ring_46")
AtlasLootMenuItem_23.lootpage = "ZGRings"
AtlasLootMenuItem_23.container = data.ZGRingsC
AtlasLootMenuItem_23:Show()
--Primal Blessing
AtlasLootMenuItem_24_Name:SetText(AL["Primal Blessing"])
AtlasLootMenuItem_24_Extra:SetText("")
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Weapon_Hand_01")
AtlasLootMenuItem_24.lootpage = "PrimalBlessing"
AtlasLootMenuItem_24.container = data.PrimalBlessingC
AtlasLootMenuItem_24:Show()
--The Twin Blades of Hakkari
AtlasLootMenuItem_25_Name:SetText(AL["The Twin Blades of Hakkari"])
AtlasLootMenuItem_25_Extra:SetText("")
AtlasLootMenuItem_25_Icon:SetTexture("Interface\\Icons\\INV_Sword_55")
AtlasLootMenuItem_25.lootpage = "HakkariBlades"
AtlasLootMenuItem_25.container = data.HakkariBladesC
AtlasLootMenuItem_25:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootAQ40SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Temple of Ahn'Qiraj Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "AQ40Priest"
AtlasLootMenuItem_3.container = data.AQ40PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "AQ40Mage"
AtlasLootMenuItem_4.container = data.AQ40MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "AQ40Warlock"
AtlasLootMenuItem_5.container = data.AQ40WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "AQ40Rogue"
AtlasLootMenuItem_6.container = data.AQ40RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "AQ40Druid"
AtlasLootMenuItem_7.container = data.AQ40DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "AQ40Hunter"
AtlasLootMenuItem_18.container = data.AQ40HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "AQ40Shaman"
AtlasLootMenuItem_19.container = data.AQ40ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "AQ40Paladin"
AtlasLootMenuItem_20.container = data.AQ40PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "AQ40Warrior"
AtlasLootMenuItem_21.container = data.AQ40WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootAQ20SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Ruins of Ahn'Qiraj Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "AQ20Priest"
AtlasLootMenuItem_3.container = data.AQ20PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "AQ20Mage"
AtlasLootMenuItem_4.container = data.AQ20MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "AQ20Warlock"
AtlasLootMenuItem_5.container = data.AQ20WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "AQ20Rogue"
AtlasLootMenuItem_6.container = data.AQ20RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "AQ20Druid"
AtlasLootMenuItem_7.container = data.AQ20DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "AQ20Hunter"
AtlasLootMenuItem_18.container = data.AQ20HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "AQ20Shaman"
AtlasLootMenuItem_19.container = data.AQ20ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "AQ20Paladin"
AtlasLootMenuItem_20.container = data.AQ20PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "AQ20Warrior"
AtlasLootMenuItem_21.container = data.AQ20WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootT0SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Dungeon 1/2 Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "T0Priest"
AtlasLootMenuItem_3.container = data.T0PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "T0Mage"
AtlasLootMenuItem_4.container = data.T0MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "T0Warlock"
AtlasLootMenuItem_5.container = data.T0WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "T0Rogue"
AtlasLootMenuItem_6.container = data.T0RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "T0Druid"
AtlasLootMenuItem_7.container = data.T0DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "T0Hunter"
AtlasLootMenuItem_18.container = data.T0HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "T0Shaman"
AtlasLootMenuItem_19.container = data.T0ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "T0Paladin"
AtlasLootMenuItem_20.container = data.T0PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "T0Warrior"
AtlasLootMenuItem_21.container = data.T0WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootT1SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Tier 1 Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "T1Priest"
AtlasLootMenuItem_3.container = data.T1PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "T1Mage"
AtlasLootMenuItem_4.container = data.T1MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "T1Warlock"
AtlasLootMenuItem_5.container = data.T1WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "T1Rogue"
AtlasLootMenuItem_6.container = data.T1RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "T1Druid"
AtlasLootMenuItem_7.container = data.T1DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "T1Hunter"
AtlasLootMenuItem_18.container = data.T1HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "T1Shaman"
AtlasLootMenuItem_19.container = data.T1ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "T1Paladin"
AtlasLootMenuItem_20.container = data.T1PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "T1Warrior"
AtlasLootMenuItem_21.container = data.T1WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootT2SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Tier 2 Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "T2Priest"
AtlasLootMenuItem_3.container = data.T2PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "T2Mage"
AtlasLootMenuItem_4.container = data.T2MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "T2Warlock"
AtlasLootMenuItem_5.container = data.T2WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "T2Rogue"
AtlasLootMenuItem_6.container = data.T2RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "T2Druid"
AtlasLootMenuItem_7.container = data.T2DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "T2Hunter"
AtlasLootMenuItem_18.container = data.T2HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "T2Shaman"
AtlasLootMenuItem_19.container = data.T2ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "T2Paladin"
AtlasLootMenuItem_20.container = data.T2PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "T2Warrior"
AtlasLootMenuItem_21.container = data.T2WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootT3SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Tier 3 Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "T3Priest"
AtlasLootMenuItem_3.container = data.T3PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "T3Mage"
AtlasLootMenuItem_4.container = data.T3MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "T3Warlock"
AtlasLootMenuItem_5.container = data.T3WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "T3Rogue"
AtlasLootMenuItem_6.container = data.T3RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "T3Druid"
AtlasLootMenuItem_7.container = data.T3DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "T3Hunter"
AtlasLootMenuItem_18.container = data.T3HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "T3Shaman"
AtlasLootMenuItem_19.container = data.T3ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "T3Paladin"
AtlasLootMenuItem_20.container = data.T3PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "T3Warrior"
AtlasLootMenuItem_21.container = data.T3WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLoot_Kara40SetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Karazhan"].." "..AL["Sets"])
--Priest
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"])
AtlasLootMenuItem_3_Extra:SetText("")
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\priest")
AtlasLootMenuItem_3.lootpage = "T35Priest"
AtlasLootMenuItem_3.container = data.T35PriestC
AtlasLootMenuItem_3:Show()
--Mage
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"])
AtlasLootMenuItem_4_Extra:SetText("")
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\mage")
AtlasLootMenuItem_4.lootpage = "T35Mage"
AtlasLootMenuItem_4.container = data.T35MageC
AtlasLootMenuItem_4:Show()
--Warlock
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"])
AtlasLootMenuItem_5_Extra:SetText("")
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warlock")
AtlasLootMenuItem_5.lootpage = "T35Warlock"
AtlasLootMenuItem_5.container = data.T35WarlockC
AtlasLootMenuItem_5:Show()
--Rogue
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"])
AtlasLootMenuItem_6_Extra:SetText("")
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\rogue")
AtlasLootMenuItem_6.lootpage = "T35Rogue"
AtlasLootMenuItem_6.container = data.T35RogueC
AtlasLootMenuItem_6:Show()
--Druid
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"])
AtlasLootMenuItem_7_Extra:SetText("")
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\druid")
AtlasLootMenuItem_7.lootpage = "T35Druid"
AtlasLootMenuItem_7.container = data.T35DruidC
AtlasLootMenuItem_7:Show()
--Hunter
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"])
AtlasLootMenuItem_18_Extra:SetText("")
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\hunter")
AtlasLootMenuItem_18.lootpage = "T35Hunter"
AtlasLootMenuItem_18.container = data.T35HunterC
AtlasLootMenuItem_18:Show()
--Shaman
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"])
AtlasLootMenuItem_19_Extra:SetText("")
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\shaman")
AtlasLootMenuItem_19.lootpage = "T35Shaman"
AtlasLootMenuItem_19.container = data.T35ShamanC
AtlasLootMenuItem_19:Show()
--Paladin
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"])
AtlasLootMenuItem_20_Extra:SetText("")
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\paladin")
AtlasLootMenuItem_20.lootpage = "T35Paladin"
AtlasLootMenuItem_20.container = data.T35PaladinC
AtlasLootMenuItem_20:Show()
--Warrior
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"])
AtlasLootMenuItem_21_Extra:SetText("")
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\warrior")
AtlasLootMenuItem_21.lootpage = "T35Warrior"
AtlasLootMenuItem_21.container = data.T35WarriorC
AtlasLootMenuItem_21:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
function AtlasLootTMHSetMenu()
AtlasLoot_PrepMenu("SETMENU", AL["Timbermaw Hold"].." "..AL["Sets"])
AtlasLootMenuItem_1_Name:SetText(AL["Majesty of the Stag"])
AtlasLootMenuItem_1_Extra:SetText(AL["Cloth"])
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\INV_Chest_Cloth_43")
AtlasLootMenuItem_1.container = data.TMHClothHealer
AtlasLootMenuItem_1:Show()
AtlasLootMenuItem_2_Name:SetText(AL["Wisdom of the Deer"])
AtlasLootMenuItem_2_Extra:SetText(AL["Cloth"])
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Chest_Cloth_43")
AtlasLootMenuItem_2.container = data.TMHClothDps
AtlasLootMenuItem_2:Show()
AtlasLootMenuItem_3_Name:SetText(AL["Rage of the Ursa"])
AtlasLootMenuItem_3_Extra:SetText(AL["Leather"])
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Chest_Chain_15")
AtlasLootMenuItem_3.container = data.TMHLeather
AtlasLootMenuItem_3:Show()
AtlasLootMenuItem_4_Name:SetText(AL["Might of the Hyppogryph"])
AtlasLootMenuItem_4_Extra:SetText(AL["Mail"])
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Chest_Chain_15")
AtlasLootMenuItem_4.container = data.TMHMail
AtlasLootMenuItem_4:Show()
AtlasLootMenuItem_5_Name:SetText(AL["Pride of the Moose"])
AtlasLootMenuItem_5_Extra:SetText(AL["Plate"])
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Chest_Plate02")
AtlasLootMenuItem_5.container = data.TMHPlate
AtlasLootMenuItem_5:Show()
for i = 1, 30 do
local button = _G["AtlasLootMenuItem_"..i]
button.dataSource = AtlasLoot_GetDataSource(button.lootpage)
if type(button.container) == "table" then
_G["AtlasLootMenuItem_"..i.."_IconBorder"]:SetVertexColor(1, 0.82, 0)
for row = 1, getn(button.container) do
for item = 1, getn(button.container[row]) do
AtlasLoot_CacheItem(button.container[row][item][1])
end
end
end
end
end
+1 -1
View File
@@ -1,4 +1,4 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
--------------------------------------------------------------------------------
-- Text replacement function
+54 -50
View File
@@ -1,6 +1,6 @@
--File containing functions related to the wish list.
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local AL = AtlasLoot.L
AtlasLoot_WishList = nil
local currentPage = 1
@@ -19,7 +19,7 @@ AtlasLoot_ShowWishList()
Displays the WishList
]]
function AtlasLoot_ShowWishList()
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"])
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage)
CloseDropDownMenus()
AtlasLootDefaultFrame_SubMenu:Disable()
AtlasLootDefaultFrame_SelectedTable:Hide()
@@ -58,7 +58,7 @@ function AtlasLoot_DeleteFromWishList(itemID)
end
AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"])
AtlasLootItemsFrame:Hide()
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"])
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage)
end
--[[
@@ -147,57 +147,61 @@ end
local RecursiveSearchZoneName(dataTable, zoneID):
A recursive function iterate AtlasLoot_HewdropDown table for the zone name
]]
local function RecursiveSearchZoneName(dataTable, zoneID)
if (dataTable[2] == zoneID) then
return dataTable[1]
end
for _, v in pairs(dataTable) do
if type(v) == "table" then
local result = RecursiveSearchZoneName(v, zoneID)
if result then return result end
do
local cache = {}
local function RecursiveSearchZoneName(dataTable, zoneID)
if (dataTable[2] == zoneID) then
cache[zoneID] = dataTable[1]
return dataTable[1]
end
end
end
--[[
AtlasLoot_GetWishListSubheading(dataID):
Iterating through dropdown data tables to search backward for zone name with specified dataID
]]
function AtlasLoot_GetWishListSubheading(dataID)
if not AtlasLoot_HewdropDown or not AtlasLoot_HewdropDown_SubTables then return end
local zoneID
for subKey, subTable in pairs(AtlasLoot_HewdropDown_SubTables) do
for _, t in ipairs(subTable) do
if t[2] == dataID then
zoneID = subKey
break
end
end
if zoneID then break end
end
return RecursiveSearchZoneName(AtlasLoot_HewdropDown, zoneID or dataID)
end
function AtlasLoot_GetWishListSubheadingBoss(dataID)
if not AtlasLoot_TableNamesBoss then
return
end
local zoneID
for i, v in pairs(AtlasLoot_TableNamesBoss) do
for j, k in pairs(v) do
if dataID == j then
zoneID = k[1]
break
for _, v in pairs(dataTable) do
if type(v) == "table" then
local result = RecursiveSearchZoneName(v, zoneID)
if result then
cache[zoneID] = result
return result
end
end
end
end
--[[for i, v in pairs(AtlasLoot_TableNames) do
if dataID == i then
zoneID = v[1]
break
--[[
AtlasLoot_GetWishListSubheading(dataID):
Iterating through dropdown data tables to search backward for zone name with specified dataID
]]
function AtlasLoot_GetWishListSubheading(dataID)
if not AtlasLoot_HewdropDown or not AtlasLoot_HewdropDown_SubTables then return end
if cache[dataID] then return cache[dataID] end
local zoneID
for subKey, subTable in pairs(AtlasLoot_HewdropDown_SubTables) do
for _, t in ipairs(subTable) do
if t[2] == dataID then
zoneID = subKey
break
end
end
if zoneID then break end
end
end]]
return zoneID
return RecursiveSearchZoneName(AtlasLoot_HewdropDown, zoneID or dataID)
end
end
do
local cache = {}
function AtlasLoot_GetWishListSubheadingBoss(dataID)
if not AtlasLoot_TableNamesBoss then return end
if cache[dataID] then return cache[dataID] end
local zoneID
for i, v in pairs(AtlasLoot_TableNamesBoss) do
for j, k in pairs(v) do
if dataID == j then
zoneID = k[1]
break
end
end
end
cache[dataID] = zoneID
return zoneID
end
end
function GetLootTableParent(dataID)
@@ -214,7 +218,7 @@ function GetLootTableParent(dataID)
return parentID
end
local function GetWishListSubheadingDungeon(dataID)
function GetWishListSubheadingDungeon(dataID)
if not AtlasLoot_TableNames then return end
local zoneID
for i, v in pairs(AtlasLoot_TableNamesBoss) do
-81
View File
@@ -1,81 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local WHITE = "|cffFFFFFF"
function AtlasLoot_WorldBossMenu()
AtlasLoot_PrepMenu(nil, AL["World Bosses"])
AtlasLootCharDB.LastBoss = "WORLDBOSSMENU"
AtlasLootCharDB.LastBossText = AL["World Bosses"]
--Azuregos
AtlasLootMenuItem_1_Name:SetText(AL["Azuregos"])
AtlasLootMenuItem_1_Extra:SetText(WHITE..AL["Azshara"])
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\INV_Misc_Head_Dragon_Blue")
AtlasLootMenuItem_1.lootpage = "AAzuregos"
AtlasLootMenuItem_1:Show()
--Emeriss
AtlasLootMenuItem_2_Name:SetText(AL["Emeriss"])
AtlasLootMenuItem_2_Extra:SetText(WHITE..AL["Various Locations"])
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Misc_Head_Dragon_Green")
AtlasLootMenuItem_2.lootpage = "DEmeriss"
AtlasLootMenuItem_2:Show()
--Lethon
AtlasLootMenuItem_3_Name:SetText(AL["Lethon"])
AtlasLootMenuItem_3_Extra:SetText(WHITE..AL["Various Locations"])
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Misc_Head_Dragon_Green")
AtlasLootMenuItem_3.lootpage = "DLethon"
AtlasLootMenuItem_3:Show()
--Taerar
AtlasLootMenuItem_4_Name:SetText(AL["Taerar"])
AtlasLootMenuItem_4_Extra:SetText(WHITE..AL["Various Locations"])
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_Head_Dragon_Green")
AtlasLootMenuItem_4.lootpage = "DTaerar"
AtlasLootMenuItem_4:Show()
--Ysondre
AtlasLootMenuItem_5_Name:SetText(AL["Ysondre"])
AtlasLootMenuItem_5_Extra:SetText(WHITE..AL["Various Locations"])
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_Head_Dragon_Green")
AtlasLootMenuItem_5.lootpage = "DYsondre"
AtlasLootMenuItem_5:Show()
--Lord Kazzak
AtlasLootMenuItem_7_Name:SetText(AL["Lord Kazzak"])
AtlasLootMenuItem_7_Extra:SetText(WHITE..AL["Blasted Lands"])
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\warlock_summon_doomguard")
AtlasLootMenuItem_7.lootpage = "KKazzak"
AtlasLootMenuItem_7:Show()
--Nerubian Overseer
AtlasLootMenuItem_8_Name:SetText(AL["Nerubian Overseer"])
AtlasLootMenuItem_8_Extra:SetText(WHITE..AL["Eastern Plaguelands"])
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Spell_Nature_Web")
AtlasLootMenuItem_8.lootpage = "Nerubian"
AtlasLootMenuItem_8:Show()
--Dark Reaver
AtlasLootMenuItem_9_Name:SetText(AL["Dark Reaver of Karazhan"])
AtlasLootMenuItem_9_Extra:SetText(WHITE..AL["Deadwind Pass"])
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Ability_Mount_Dreadsteed")
AtlasLootMenuItem_9.lootpage = "Reaver"
AtlasLootMenuItem_9:Show()
--Ostarius
AtlasLootMenuItem_10_Name:SetText(AL["Ostarius"])
AtlasLootMenuItem_10_Extra:SetText(WHITE..AL["Tanaris"])
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Misc_Platnumdisks")
AtlasLootMenuItem_10.lootpage = "Ostarius"
AtlasLootMenuItem_10:Show()
--Concavius
AtlasLootMenuItem_11_Name:SetText(AL["Concavius"])
AtlasLootMenuItem_11_Extra:SetText(WHITE..AL["Desolace"])
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Spell_Shadow_SummonVoidWalker")
AtlasLootMenuItem_11.lootpage = "Concavius"
AtlasLootMenuItem_11:Show()
--Cow level
AtlasLootMenuItem_13_Name:SetText(AL["Moo"])
AtlasLootMenuItem_13_Extra:SetText(WHITE..AL["Moomoo Grove"])
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Spell_Nature_Polymorph_Cow")
AtlasLootMenuItem_13.lootpage = "CowKing"
AtlasLootMenuItem_13:Show()
--Cla'ckora
AtlasLootMenuItem_14_Name:SetText(AL["Cla'ckora"])
AtlasLootMenuItem_14_Extra:SetText(WHITE..AL["Azshara"])
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Misc_Birdbeck_02")
AtlasLootMenuItem_14.lootpage = "Clackora"
AtlasLootMenuItem_14:Show()
end
-87
View File
@@ -1,87 +0,0 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
local ORANGE = "|cffFF8400"
function AtlasLootWorldEventMenu()
AtlasLoot_PrepMenu(nil, AL["World Events"])
AtlasLootCharDB.LastBoss = "WORLDEVENTMENU"
AtlasLootCharDB.LastBossText = AL["World Events"]
--Abyssal Council
AtlasLootMenuItem_2_Name:SetText(AL["Abyssal Council"])
AtlasLootMenuItem_2_Extra:SetText(ORANGE..AL["Silithus"])
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Staff_13")
AtlasLootMenuItem_2.lootpage = "AbyssalTemplars"
AtlasLootMenuItem_2:Show()
--Elemental Invasion
AtlasLootMenuItem_3_Name:SetText(AL["Elemental Invasion"])
AtlasLootMenuItem_3_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Spell_Fire_Elemental_Totem")
AtlasLootMenuItem_3.lootpage = "ElementalInvasion"
AtlasLootMenuItem_3:Show()
--Children's Week
AtlasLootMenuItem_17_Name:SetText(AL["Children's Week"])
AtlasLootMenuItem_17_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\Ability_Hunter_BeastCall")
AtlasLootMenuItem_17.lootpage = "ChildrensWeek"
AtlasLootMenuItem_17:Show()
--Feast of Winter Veil
AtlasLootMenuItem_18_Name:SetText(AL["Feast of Winter Veil"])
AtlasLootMenuItem_18_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Holiday_Christmas_Present_01")
AtlasLootMenuItem_18.lootpage = "Winterviel1"
AtlasLootMenuItem_18:Show()
--Hallow's End
AtlasLootMenuItem_19_Name:SetText(AL["Hallow's End"])
AtlasLootMenuItem_19_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_59")
AtlasLootMenuItem_19.lootpage = "Halloween1"
AtlasLootMenuItem_19:Show()
--Harvest Festival
AtlasLootMenuItem_5_Name:SetText(AL["Harvest Festival"])
AtlasLootMenuItem_5_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_Wheat_01")
AtlasLootMenuItem_5.lootpage = "HarvestFestival"
AtlasLootMenuItem_5:Show()
--Love is in the Air
AtlasLootMenuItem_20_Name:SetText(AL["Love is in the Air"])
AtlasLootMenuItem_20_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_ValentinesBoxOfChocolates02")
AtlasLootMenuItem_20.lootpage = "Valentineday"
AtlasLootMenuItem_20:Show()
--Lunar Festival
AtlasLootMenuItem_6_Name:SetText(AL["Lunar Festival"])
AtlasLootMenuItem_6_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Misc_ElvenCoins")
AtlasLootMenuItem_6.lootpage = "LunarFestival1"
AtlasLootMenuItem_6:Show()
--Midsummer Fire Festival
AtlasLootMenuItem_21_Name:SetText(AL["Midsummer Fire Festival"])
AtlasLootMenuItem_21_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_SummerFest_Symbol_Medium")
AtlasLootMenuItem_21.lootpage = "MidsummerFestival"
AtlasLootMenuItem_21:Show()
--Noblegarden
AtlasLootMenuItem_7_Name:SetText(AL["Noblegarden"])
AtlasLootMenuItem_7_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Egg_03")
AtlasLootMenuItem_7.lootpage = "Noblegarden"
AtlasLootMenuItem_7:Show()
--Gurubashi Arena
AtlasLootMenuItem_4_Name:SetText(AL["Gurubashi Arena"])
AtlasLootMenuItem_4_Extra:SetText(ORANGE..AL["Stranglethorn Vale"])
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_04")
AtlasLootMenuItem_4.lootpage = "GurubashiArena"
AtlasLootMenuItem_4:Show()
--Scourge Invasion
AtlasLootMenuItem_22_Name:SetText(AL["Scourge Invasion"])
AtlasLootMenuItem_22_Extra:SetText(ORANGE..AL["Various Locations"])
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Talisman_13")
AtlasLootMenuItem_22.lootpage = "ScourgeInvasionEvent1"
AtlasLootMenuItem_22:Show()
--Stranglethorn Fishing Extravaganza
AtlasLootMenuItem_8_Name:SetText(AL["Stranglethorn Fishing Extravaganza"])
AtlasLootMenuItem_8_Extra:SetText(ORANGE..AL["Stranglethorn Vale"])
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Fishingpole_01")
AtlasLootMenuItem_8.lootpage = "FishingExtravaganza"
AtlasLootMenuItem_8:Show()
end