formatting
This commit is contained in:
+940
-925
File diff suppressed because it is too large
Load Diff
+285
-284
File diff suppressed because it is too large
Load Diff
+3866
-3866
File diff suppressed because it is too large
Load Diff
+687
-687
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,4 +1,4 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
local _G = getfenv(0)
|
||||
local buttonsPerPage = 30
|
||||
local ButtonsInfo1
|
||||
@@ -91,4 +91,4 @@ function AtlasLoot_DungeonsMenu2()
|
||||
_G["AtlasLootMenuItem_"..i]:Show()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
+11
-11
@@ -1,4 +1,4 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
local _G = getfenv(0)
|
||||
local buttonsPerPage = 30
|
||||
local ButtonsInfo1
|
||||
@@ -26,19 +26,19 @@ function AtlasLootRepMenu()
|
||||
{ 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["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["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" },
|
||||
}
|
||||
|
||||
+294
-294
@@ -1,390 +1,390 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
local RED = "|cffff0000";
|
||||
local ORANGE = "|cffFF8400";
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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_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();
|
||||
AtlasLootMenuItem_3.lootpage = "PVPPriest"
|
||||
AtlasLootMenuItem_3:Show()
|
||||
--Mage
|
||||
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"]);
|
||||
AtlasLootMenuItem_4_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_4.lootpage = "PVPMage"
|
||||
AtlasLootMenuItem_4:Show()
|
||||
--Warlock
|
||||
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"]);
|
||||
AtlasLootMenuItem_5_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_5.lootpage = "PVPWarlock"
|
||||
AtlasLootMenuItem_5:Show()
|
||||
--Rogue
|
||||
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_6.lootpage = "PVPRogue"
|
||||
AtlasLootMenuItem_6:Show()
|
||||
--Druid
|
||||
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"]);
|
||||
AtlasLootMenuItem_7_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_7.lootpage = "PVPDruid"
|
||||
AtlasLootMenuItem_7:Show()
|
||||
--Hunter
|
||||
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"]);
|
||||
AtlasLootMenuItem_18_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_18.lootpage = "PVPHunter"
|
||||
AtlasLootMenuItem_18:Show()
|
||||
--Shaman
|
||||
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"]);
|
||||
AtlasLootMenuItem_19_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_19.lootpage = "PVPShaman"
|
||||
AtlasLootMenuItem_19:Show()
|
||||
--Paladin
|
||||
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"]);
|
||||
AtlasLootMenuItem_20_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_20.lootpage = "PVPPaladin"
|
||||
AtlasLootMenuItem_20:Show()
|
||||
--Warrior
|
||||
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"]);
|
||||
AtlasLootMenuItem_21_Extra:SetText("");
|
||||
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();
|
||||
AtlasLootMenuItem_21.lootpage = "PVPWarrior"
|
||||
AtlasLootMenuItem_21:Show()
|
||||
end
|
||||
|
||||
+97
-97
@@ -1,17 +1,17 @@
|
||||
local GREY = "|cff999999";
|
||||
local RED = "|cffff0000";
|
||||
local WHITE = "|cffFFFFFF";
|
||||
local GREEN = "|cff1eff00";
|
||||
local PURPLE = "|cff9F3FFF";
|
||||
local BLUE = "|cff0070dd";
|
||||
local ORANGE = "|cffFF8400";
|
||||
local GREY = "|cff999999"
|
||||
local RED = "|cffff0000"
|
||||
local WHITE = "|cffFFFFFF"
|
||||
local GREEN = "|cff1eff00"
|
||||
local PURPLE = "|cff9F3FFF"
|
||||
local BLUE = "|cff0070dd"
|
||||
local ORANGE = "|cffFF8400"
|
||||
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local currentPage = 1;
|
||||
local SearchResult = nil;
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
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, string.format((AL["Search Result: %s"]), AtlasLootCharDB.LastSearchedText or ""))
|
||||
end
|
||||
|
||||
local function strtrim(s)
|
||||
@@ -20,116 +20,116 @@ end
|
||||
|
||||
function AtlasLoot:Search(Text)
|
||||
if not Text then return end
|
||||
Text = strtrim(Text);
|
||||
Text = strtrim(Text)
|
||||
if Text == "" then return end
|
||||
local text = string.lower(Text);
|
||||
local text = string.lower(Text)
|
||||
local search = function(dataSource)
|
||||
if dataSource == "AtlasLootFallback" then return end
|
||||
local partial = AtlasLootCharDB.PartialMatching;
|
||||
local partial = AtlasLootCharDB.PartialMatching
|
||||
for dataID, data in pairs(AtlasLoot_Data[dataSource]) do
|
||||
if type(data) == "table" then
|
||||
for _, v in ipairs(data) do
|
||||
if type(v[1]) ~= "table" then
|
||||
-- item
|
||||
if type(v[1]) == "number" and v[1] > 0 then
|
||||
local itemName = GetItemInfo(v[1]);
|
||||
if not itemName then itemName = gsub(v[3], "=q%d=", "") end
|
||||
local found;
|
||||
if partial then
|
||||
found = string.find(string.lower(itemName), text);
|
||||
else
|
||||
found = string.lower(itemName) == text;
|
||||
end
|
||||
if found then
|
||||
local _, _, quality = string.find(v[3], "=q(%d)=");
|
||||
if quality then itemName = "=q"..quality.."="..itemName end
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], itemName, v[4], dataID.."|"..dataSource });
|
||||
end
|
||||
-- spell
|
||||
elseif (v[1] ~= nil) and (v[1] ~= "") and (string.sub(v[1], 1, 1) == "s") then
|
||||
local spellName
|
||||
if not spellName then
|
||||
if (string.sub(v[3], 1, 2) == "=d") then
|
||||
spellName = gsub(v[3], "=ds=", "");
|
||||
else
|
||||
spellName = gsub(v[3], "=q%d=", "");
|
||||
end
|
||||
end
|
||||
local found;
|
||||
if partial then
|
||||
found = string.find(string.lower(spellName), text);
|
||||
else
|
||||
found = string.lower(spellName) == text;
|
||||
end
|
||||
if found then
|
||||
spellName = string.sub(v[3], 1, 4)..spellName;
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], spellName, v[4], dataID.."|"..dataSource });
|
||||
end
|
||||
-- enchant
|
||||
elseif (v[1] ~= nil) and (v[1] ~= "") and (string.sub(v[1], 1, 1) == "e") then
|
||||
local spellName
|
||||
if not spellName then
|
||||
if (string.sub(v[3], 1, 2) == "=d") then
|
||||
spellName = gsub(v[3], "=ds=", "");
|
||||
else
|
||||
spellName = gsub(v[3], "=q%d=", "");
|
||||
end
|
||||
end
|
||||
local found;
|
||||
if partial then
|
||||
found = string.find(string.lower(spellName), text);
|
||||
else
|
||||
found = string.lower(spellName) == text;
|
||||
end
|
||||
if found then
|
||||
spellName = string.sub(v[3], 1, 4)..spellName;
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], spellName, v[4], dataID.."|"..dataSource });
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
if type(data) == "table" then
|
||||
for _, v in ipairs(data) do
|
||||
if type(v[1]) ~= "table" then
|
||||
-- item
|
||||
if type(v[1]) == "number" and v[1] > 0 then
|
||||
local itemName = GetItemInfo(v[1])
|
||||
if not itemName then itemName = gsub(v[3], "=q%d=", "") end
|
||||
local found
|
||||
if partial then
|
||||
found = string.find(string.lower(itemName), text)
|
||||
else
|
||||
found = string.lower(itemName) == text
|
||||
end
|
||||
if found then
|
||||
local _, _, quality = string.find(v[3], "=q(%d)=")
|
||||
if quality then itemName = "=q"..quality.."="..itemName end
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], itemName, v[4], dataID.."|"..dataSource })
|
||||
end
|
||||
-- spell
|
||||
elseif (v[1] ~= nil) and (v[1] ~= "") and (string.sub(v[1], 1, 1) == "s") then
|
||||
local spellName
|
||||
if not spellName then
|
||||
if (string.sub(v[3], 1, 2) == "=d") then
|
||||
spellName = gsub(v[3], "=ds=", "")
|
||||
else
|
||||
spellName = gsub(v[3], "=q%d=", "")
|
||||
end
|
||||
end
|
||||
local found
|
||||
if partial then
|
||||
found = string.find(string.lower(spellName), text)
|
||||
else
|
||||
found = string.lower(spellName) == text
|
||||
end
|
||||
if found then
|
||||
spellName = string.sub(v[3], 1, 4)..spellName
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], spellName, v[4], dataID.."|"..dataSource })
|
||||
end
|
||||
-- enchant
|
||||
elseif (v[1] ~= nil) and (v[1] ~= "") and (string.sub(v[1], 1, 1) == "e") then
|
||||
local spellName
|
||||
if not spellName then
|
||||
if (string.sub(v[3], 1, 2) == "=d") then
|
||||
spellName = gsub(v[3], "=ds=", "")
|
||||
else
|
||||
spellName = gsub(v[3], "=q%d=", "")
|
||||
end
|
||||
end
|
||||
local found
|
||||
if partial then
|
||||
found = string.find(string.lower(spellName), text)
|
||||
else
|
||||
found = string.lower(spellName) == text
|
||||
end
|
||||
if found then
|
||||
spellName = string.sub(v[3], 1, 4)..spellName
|
||||
table.insert(AtlasLootCharDB["SearchResult"], { v[1], v[2], spellName, v[4], dataID.."|"..dataSource })
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
AtlasLootCharDB["SearchResult"] = {};
|
||||
AtlasLootCharDB.LastSearchedText = Text;
|
||||
|
||||
AtlasLootCharDB["SearchResult"] = {}
|
||||
AtlasLootCharDB.LastSearchedText = Text
|
||||
for dataSource in pairs(AtlasLoot_Data) do search(dataSource) end
|
||||
|
||||
|
||||
if getn(AtlasLootCharDB["SearchResult"]) == 0 then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(RED..AL["AtlasLoot"]..": "..WHITE..AL["No match found for"].." \""..Text.."\".");
|
||||
DEFAULT_CHAT_FRAME:AddMessage(RED..AL["AtlasLoot"]..": "..WHITE..AL["No match found for"].." \""..Text.."\".")
|
||||
else
|
||||
currentPage = 1;
|
||||
SearchResult = AtlasLoot_CategorizeWishList(AtlasLootCharDB["SearchResult"]);
|
||||
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage1", string.format((AL["Search Result: %s"]), AtlasLootCharDB.LastSearchedText or ""));
|
||||
currentPage = 1
|
||||
SearchResult = AtlasLoot_CategorizeWishList(AtlasLootCharDB["SearchResult"])
|
||||
AtlasLoot_ShowItemsFrame("SearchResult", "SearchResultPage1", string.format((AL["Search Result: %s"]), AtlasLootCharDB.LastSearchedText or ""))
|
||||
end
|
||||
end
|
||||
|
||||
function AtlasLoot:ShowSearchOptions(button)
|
||||
local Hewdrop = AceLibrary("Hewdrop-2.0");
|
||||
local Hewdrop = AceLibrary("Hewdrop-2.0")
|
||||
if Hewdrop:IsOpen(button) then
|
||||
Hewdrop:Close(1);
|
||||
Hewdrop:Close(1)
|
||||
else
|
||||
local setOptions = function()
|
||||
Hewdrop:AddLine(
|
||||
"text", AL["Search options"],
|
||||
"isTitle", true,
|
||||
"notCheckable", true
|
||||
);
|
||||
)
|
||||
Hewdrop:AddLine(
|
||||
"text", AL["Partial matching"],
|
||||
"checked", AtlasLootCharDB.PartialMatching,
|
||||
"tooltipTitle", AL["Partial matching"],
|
||||
"tooltipText", AL["If checked, AtlasLoot searches item names for a partial match."],
|
||||
"func", function() AtlasLootCharDB.PartialMatching = not AtlasLootCharDB.PartialMatching end
|
||||
);
|
||||
end;
|
||||
)
|
||||
end
|
||||
Hewdrop:Open(button,
|
||||
'point', function(parent)
|
||||
return "BOTTOMLEFT", "BOTTOMRIGHT";
|
||||
return "BOTTOMLEFT", "BOTTOMRIGHT"
|
||||
end,
|
||||
"children", setOptions
|
||||
);
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -143,17 +143,17 @@ end
|
||||
function AtlasLoot:GetSearchResultPage(page)
|
||||
if not SearchResult then SearchResult = AtlasLoot_CategorizeWishList(AtlasLootCharDB["SearchResult"]) end
|
||||
-- Calc for maximal pages
|
||||
local pageMax = math.ceil(getn(SearchResult) / 30);
|
||||
local pageMax = math.ceil(getn(SearchResult) / 30)
|
||||
if page < 1 then page = 1 end
|
||||
if page > pageMax then page = pageMax end
|
||||
currentPage = page;
|
||||
currentPage = page
|
||||
|
||||
-- Table copy
|
||||
local result = {};
|
||||
local start = (page - 1) * 30 + 1;
|
||||
local result = {}
|
||||
local start = (page - 1) * 30 + 1
|
||||
for i = start, start + 29 do
|
||||
if not SearchResult[i] then break end
|
||||
table.insert(result, SearchResult[i]);
|
||||
table.insert(result, SearchResult[i])
|
||||
end
|
||||
return result, pageMax;
|
||||
return result, pageMax
|
||||
end
|
||||
|
||||
+534
-534
File diff suppressed because it is too large
Load Diff
+1
-3
@@ -1,4 +1,4 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
GetSpellInfoAtlasLootDB = {
|
||||
["enchants"] = {
|
||||
@@ -18502,7 +18502,5 @@ GetSpellInfoAtlasLootDB = {
|
||||
{ 14341, 6 },
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
}
|
||||
|
||||
+28
-28
@@ -1,4 +1,4 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Text replacement function
|
||||
@@ -82,13 +82,13 @@ local TextMap = {
|
||||
["#e33#"] = AL["random colour"],
|
||||
["#e34#"] = AL["Toy"],
|
||||
-- Classes
|
||||
["#c1#"] = AL["Druid"], -- =q13=#c1#
|
||||
["#c2#"] = AL["Hunter"], -- =q14=#c2#
|
||||
["#c3#"] = AL["Mage"], -- =q10=#c3#
|
||||
["#c1#"] = AL["Druid"], -- =q13=#c1#
|
||||
["#c2#"] = AL["Hunter"], -- =q14=#c2#
|
||||
["#c3#"] = AL["Mage"], -- =q10=#c3#
|
||||
["#c4#"] = AL["Paladin"], -- =q16=#c4#
|
||||
["#c5#"] = AL["Priest"], -- =q9=#c5#
|
||||
["#c6#"] = AL["Rogue"], -- =q12=#c6#
|
||||
["#c7#"] = AL["Shaman"], -- =q15=#c7#
|
||||
["#c5#"] = AL["Priest"], -- =q9=#c5#
|
||||
["#c6#"] = AL["Rogue"], -- =q12=#c6#
|
||||
["#c7#"] = AL["Shaman"], -- =q15=#c7#
|
||||
["#c8#"] = AL["Warlock"], -- =q11=#c8#
|
||||
["#c9#"] = AL["Warrior"], -- =q17=#c9#
|
||||
-- Skill
|
||||
@@ -407,15 +407,15 @@ local TextMap = {
|
||||
["#t05s8#"] = AL["Deathmist Raiment"],
|
||||
["#t05s9#"] = AL["Battlegear of Heroism"],
|
||||
-- T1 Sets
|
||||
["#t1s1#"] = AL["Cenarion Raiment"],
|
||||
["#t1s2#"] = AL["Giantstalker Armor"],
|
||||
["#t1s3#"] = AL["Arcanist Regalia"],
|
||||
["#t1s4#"] = AL["Lawbringer Armor"],
|
||||
["#t1s5#"] = AL["Vestments of Prophecy"],
|
||||
["#t1s6#"] = AL["Nightslayer Armor"],
|
||||
["#t1s7#"] = AL["The Earthfury"],
|
||||
["#t1s8#"] = AL["Felheart Raiment"],
|
||||
["#t1s9#"] = AL["Battlegear of Might"],
|
||||
["#t1s1#"] = AL["Cenarion Raiment"],
|
||||
["#t1s2#"] = AL["Giantstalker Armor"],
|
||||
["#t1s3#"] = AL["Arcanist Regalia"],
|
||||
["#t1s4#"] = AL["Lawbringer Armor"],
|
||||
["#t1s5#"] = AL["Vestments of Prophecy"],
|
||||
["#t1s6#"] = AL["Nightslayer Armor"],
|
||||
["#t1s7#"] = AL["The Earthfury"],
|
||||
["#t1s8#"] = AL["Felheart Raiment"],
|
||||
["#t1s9#"] = AL["Battlegear of Might"],
|
||||
-- T2 Sets
|
||||
["#t2s1#"] = AL["Stormrage Raiment"],
|
||||
["#t2s2#"] = AL["Dragonstalker Armor"],
|
||||
@@ -494,16 +494,16 @@ local TextMap = {
|
||||
["#pvps1#"] = AL["Epic Set"],
|
||||
["#pvps2#"] = AL["Rare Set"],
|
||||
-- Text colouring
|
||||
["=q0="] = "|cff9d9d9d", -- poor
|
||||
["=q1="] = "|cffFFFFFF", -- common
|
||||
["=q2="] = "|cff1eff00", -- uncommon
|
||||
["=q3="] = "|cff0070dd", -- rare
|
||||
["=q4="] = "|cffa335ee", -- epic
|
||||
["=q5="] = "|cffFF8000", -- legendary
|
||||
["=q6="] = "|cffFF0000", -- red
|
||||
["=q7="] = "|cff03c0f6", -- "dropped by" colour
|
||||
["=q8="] = "|cff2773ff", -- alliance colour, alliance rank colour
|
||||
["=q9="] = "|cffffffff", -- priest colour
|
||||
["=q0="] = "|cff9d9d9d", -- poor
|
||||
["=q1="] = "|cffFFFFFF", -- common
|
||||
["=q2="] = "|cff1eff00", -- uncommon
|
||||
["=q3="] = "|cff0070dd", -- rare
|
||||
["=q4="] = "|cffa335ee", -- epic
|
||||
["=q5="] = "|cffFF8000", -- legendary
|
||||
["=q6="] = "|cffFF0000", -- red
|
||||
["=q7="] = "|cff03c0f6", -- "dropped by" colour
|
||||
["=q8="] = "|cff2773ff", -- alliance colour, alliance rank colour
|
||||
["=q9="] = "|cffffffff", -- priest colour
|
||||
["=q10="] = "|cff68ccef", -- mage colour
|
||||
["=q11="] = "|cff9382c9", -- warlock colour
|
||||
["=q12="] = "|cfffff468", -- rogue colour
|
||||
@@ -597,7 +597,7 @@ local TextMap = {
|
||||
["#ccenarius#"] = "Interface\\Icons\\INV_Jewelry_Necklace_12",
|
||||
["#zandalar#"] = "Interface\\Icons\\INV_Misc_Coin_08",
|
||||
-- Challenges
|
||||
["#lvl1#"] = AL["Level One Lunatic Challenge"],
|
||||
["#lvl1#"] = AL["Level One Lunatic Challenge"],
|
||||
}
|
||||
|
||||
local gsub = string.gsub
|
||||
@@ -605,7 +605,7 @@ local SortedTextMap = {}
|
||||
for k, v in pairs(TextMap) do
|
||||
tinsert(SortedTextMap, { key = k, value = v })
|
||||
end
|
||||
table.sort(SortedTextMap, function(a,b) return strlen(a.value) > strlen(b.value) end)
|
||||
table.sort(SortedTextMap, function(a, b) return strlen(a.value) > strlen(b.value) end)
|
||||
|
||||
function AtlasLoot_FixText(text)
|
||||
if not text then return nil end
|
||||
|
||||
+4
-4
@@ -47,8 +47,8 @@ local function AddSourceLine(tooltip, sourceStr)
|
||||
end
|
||||
|
||||
for i = 1, numLines do
|
||||
left = _G[name .. "TextLeft" .. i]
|
||||
right = _G[name .. "TextRight" .. i]
|
||||
left = _G[name.."TextLeft"..i]
|
||||
right = _G[name.."TextRight"..i]
|
||||
leftText = left:GetText()
|
||||
rightText = right:IsShown() and right:GetText()
|
||||
leftR, leftG, leftB = left:GetTextColor()
|
||||
@@ -72,7 +72,7 @@ local function AddSourceLine(tooltip, sourceStr)
|
||||
if numLines < 28 then
|
||||
tooltip:AddLine(sourceStr)
|
||||
elseif lines[2][1] then
|
||||
lines[2][1] = sourceStr .. "\n" .. lines[2][1]
|
||||
lines[2][1] = sourceStr.."\n"..lines[2][1]
|
||||
end
|
||||
|
||||
for i = 2, getn(lines) do
|
||||
@@ -105,7 +105,7 @@ local function ExtendTooltip(tooltip)
|
||||
lastSourceStr = nil
|
||||
local source = AtlasLoot_Data["AtlasLootSources"][itemID]
|
||||
if source then
|
||||
local str = GREY .. source .. "|r"
|
||||
local str = GREY..source.."|r"
|
||||
lastSourceStr = str
|
||||
end
|
||||
end
|
||||
|
||||
+104
-104
@@ -1,30 +1,30 @@
|
||||
--File containing functions related to the wish list.
|
||||
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
AtlasLoot_WishList = nil;
|
||||
local currentPage = 1;
|
||||
AtlasLoot_WishList = nil
|
||||
local currentPage = 1
|
||||
|
||||
-- Colours stored for code readability
|
||||
local GREY = "|cff999999";
|
||||
local RED = "|cffff0000";
|
||||
local WHITE = "|cffFFFFFF";
|
||||
local GREEN = "|cff1eff00";
|
||||
local PURPLE = "|cff9F3FFF";
|
||||
local BLUE = "|cff0070dd";
|
||||
local ORANGE = "|cffFF8400";
|
||||
local GREY = "|cff999999"
|
||||
local RED = "|cffff0000"
|
||||
local WHITE = "|cffFFFFFF"
|
||||
local GREEN = "|cff1eff00"
|
||||
local PURPLE = "|cff9F3FFF"
|
||||
local BLUE = "|cff0070dd"
|
||||
local ORANGE = "|cffFF8400"
|
||||
|
||||
--[[
|
||||
AtlasLoot_ShowWishList()
|
||||
Displays the WishList
|
||||
]]
|
||||
function AtlasLoot_ShowWishList()
|
||||
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"]);
|
||||
CloseDropDownMenus();
|
||||
AtlasLootDefaultFrame_SubMenu:Disable()
|
||||
AtlasLootDefaultFrame_SelectedTable:Hide()
|
||||
AtlasLootQuickLooksButton:Hide()
|
||||
AtlasLoot_QuickLooks:Hide()
|
||||
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"])
|
||||
CloseDropDownMenus()
|
||||
AtlasLootDefaultFrame_SubMenu:Disable()
|
||||
AtlasLootDefaultFrame_SelectedTable:Hide()
|
||||
AtlasLootQuickLooksButton:Hide()
|
||||
AtlasLoot_QuickLooks:Hide()
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -34,13 +34,13 @@ Looks for an empty slot in the wishlist and slots the item in
|
||||
function AtlasLoot_AddToWishlist(itemID, itemTexture, itemName, extraText, sourcePage)
|
||||
for _, v in ipairs(AtlasLootCharDB["WishList"]) do
|
||||
if v[1] == itemID then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(BLUE..AL["AtlasLoot"]..": "..AtlasLoot_FixText(itemName)..RED..AL[" already in the WishList!"]);
|
||||
return;
|
||||
DEFAULT_CHAT_FRAME:AddMessage(BLUE..AL["AtlasLoot"]..": "..AtlasLoot_FixText(itemName)..RED..AL[" already in the WishList!"])
|
||||
return
|
||||
end
|
||||
end
|
||||
table.insert(AtlasLootCharDB["WishList"], { itemID, itemTexture, itemName, extraText, sourcePage });
|
||||
DEFAULT_CHAT_FRAME:AddMessage(BLUE..AL["AtlasLoot"]..": "..AtlasLoot_FixText(itemName)..GREY..AL[" added to the WishList."]);
|
||||
AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"]);
|
||||
table.insert(AtlasLootCharDB["WishList"], { itemID, itemTexture, itemName, extraText, sourcePage })
|
||||
DEFAULT_CHAT_FRAME:AddMessage(BLUE..AL["AtlasLoot"]..": "..AtlasLoot_FixText(itemName)..GREY..AL[" added to the WishList."])
|
||||
AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"])
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -51,14 +51,14 @@ function AtlasLoot_DeleteFromWishList(itemID)
|
||||
if itemID and itemID == 0 then return end
|
||||
for i, v in ipairs(AtlasLootCharDB["WishList"]) do
|
||||
if v[1] == itemID then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(RED..AL["AtlasLoot"]..": "..AtlasLoot_FixText(v[3])..GREY..AL[" deleted from the WishList."]);
|
||||
table.remove(AtlasLootCharDB["WishList"], i);
|
||||
break;
|
||||
DEFAULT_CHAT_FRAME:AddMessage(RED..AL["AtlasLoot"]..": "..AtlasLoot_FixText(v[3])..GREY..AL[" deleted from the WishList."])
|
||||
table.remove(AtlasLootCharDB["WishList"], i)
|
||||
break
|
||||
end
|
||||
end
|
||||
AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"]);
|
||||
AtlasLootItemsFrame:Hide();
|
||||
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"]);
|
||||
AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"])
|
||||
AtlasLootItemsFrame:Hide()
|
||||
AtlasLoot_ShowItemsFrame("WishList", "WishListPage"..currentPage, AL["WishList"])
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -66,22 +66,22 @@ AtlasLoot_WishListSort()
|
||||
Sorts the Wishlist
|
||||
]]
|
||||
function AtlasLoot_WishListSort()
|
||||
local j = 0;
|
||||
local P = 2;
|
||||
local temp = {};
|
||||
local check = false;
|
||||
local j = 0
|
||||
local P = 2
|
||||
local temp = {}
|
||||
local check = false
|
||||
|
||||
while (P < 31) do
|
||||
temp = AtlasLootCharDB["WishList"][P];
|
||||
j = P;
|
||||
check = AtlasLoot_WishListSortCheck(AtlasLootCharDB["WishList"][j - 1], temp);
|
||||
temp = AtlasLootCharDB["WishList"][P]
|
||||
j = P
|
||||
check = AtlasLoot_WishListSortCheck(AtlasLootCharDB["WishList"][j - 1], temp)
|
||||
while ((j > 1) and check) do
|
||||
AtlasLootCharDB["WishList"][j] = AtlasLootCharDB["WishList"][j - 1];
|
||||
j = j - 1;
|
||||
check = AtlasLoot_WishListSortCheck(AtlasLootCharDB["WishList"][j - 1], temp);
|
||||
AtlasLootCharDB["WishList"][j] = AtlasLootCharDB["WishList"][j - 1]
|
||||
j = j - 1
|
||||
check = AtlasLoot_WishListSortCheck(AtlasLootCharDB["WishList"][j - 1], temp)
|
||||
end
|
||||
AtlasLootCharDB["WishList"][j] = temp;
|
||||
P = P + 1;
|
||||
AtlasLootCharDB["WishList"][j] = temp
|
||||
P = P + 1
|
||||
end
|
||||
end
|
||||
|
||||
@@ -92,52 +92,52 @@ Sorts by rarity, then alphabetically.
|
||||
]]
|
||||
function AtlasLoot_WishListSortCheck(temp1, temp2)
|
||||
if (temp1 == nil) then
|
||||
return false;
|
||||
return false
|
||||
elseif (temp2 == nil) then
|
||||
return false;
|
||||
return false
|
||||
end
|
||||
if temp2[1] == 0 then
|
||||
return false;
|
||||
return false
|
||||
elseif temp1[1] == 0 then
|
||||
return true;
|
||||
return true
|
||||
else
|
||||
local prefix1=string.lower(string.sub(temp1[3], 1, 10));
|
||||
local prefix2=string.lower(string.sub(temp2[3], 1, 10));
|
||||
local prefix1 = string.lower(string.sub(temp1[3], 1, 10))
|
||||
local prefix2 = string.lower(string.sub(temp2[3], 1, 10))
|
||||
if prefix1 ~= prefix2 then
|
||||
if prefix1 == "|cffff0000" then
|
||||
return false;
|
||||
return false
|
||||
elseif (prefix1 == "|cffff8000") and (prefix2 ~= "|cffff0000") then
|
||||
return false;
|
||||
return false
|
||||
elseif (prefix1 == "|cffa335ee") then
|
||||
if (prefix2 == "|cffff8000") or (prefix2 == "|cffff0000") then
|
||||
return true;
|
||||
return true
|
||||
else
|
||||
return false;
|
||||
return false
|
||||
end
|
||||
elseif (prefix1 == "|cff0070dd") then
|
||||
if (prefix2 == "|cffa335ee") or (prefix2 == "|cffff8000") or (prefix2 == "|cffff0000") then
|
||||
return true;
|
||||
return true
|
||||
else
|
||||
return false;
|
||||
return false
|
||||
end
|
||||
elseif (prefix1 == "|cff1eff00") then
|
||||
if (prefix2 == "|cffffffff") or (prefix2 == "|cff9d9d9d") then
|
||||
return false;
|
||||
return false
|
||||
else
|
||||
return true;
|
||||
return true
|
||||
end
|
||||
elseif (prefix1 == "|cff9d9d9d") then
|
||||
return true;
|
||||
elseif (prefix1 == "|cffffffff") and (prefix2~="|cff9d9d9d") then
|
||||
return true;
|
||||
return true
|
||||
elseif (prefix1 == "|cffffffff") and (prefix2 ~= "|cff9d9d9d") then
|
||||
return true
|
||||
else
|
||||
return false;
|
||||
return false
|
||||
end
|
||||
else
|
||||
if(temp1[3] > temp2[3]) then
|
||||
return true;
|
||||
if (temp1[3] > temp2[3]) then
|
||||
return true
|
||||
else
|
||||
return false;
|
||||
return false
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -148,12 +148,12 @@ 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];
|
||||
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);
|
||||
local result = RecursiveSearchZoneName(v, zoneID)
|
||||
if result then return result end
|
||||
end
|
||||
end
|
||||
@@ -165,68 +165,68 @@ Iterating through dropdown data tables to search backward for zone name with spe
|
||||
]]
|
||||
function AtlasLoot_GetWishListSubheading(dataID)
|
||||
if not AtlasLoot_HewdropDown or not AtlasLoot_HewdropDown_SubTables then return end
|
||||
local zoneID;
|
||||
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;
|
||||
zoneID = subKey
|
||||
break
|
||||
end
|
||||
end
|
||||
if zoneID then break end
|
||||
end
|
||||
return RecursiveSearchZoneName(AtlasLoot_HewdropDown, zoneID or dataID);
|
||||
return RecursiveSearchZoneName(AtlasLoot_HewdropDown, zoneID or dataID)
|
||||
end
|
||||
|
||||
function AtlasLoot_GetWishListSubheadingBoss(dataID)
|
||||
if not AtlasLoot_TableNamesBoss then
|
||||
return
|
||||
end
|
||||
local zoneID ;
|
||||
local zoneID
|
||||
for i, v in pairs(AtlasLoot_TableNamesBoss) do
|
||||
for j,k in pairs(v) do
|
||||
for j, k in pairs(v) do
|
||||
if dataID == j then
|
||||
zoneID = k[1]
|
||||
break;
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
--[[for i, v in pairs(AtlasLoot_TableNames) do
|
||||
if dataID == i then
|
||||
zoneID = v[1]
|
||||
break;
|
||||
break
|
||||
end
|
||||
end]]
|
||||
return zoneID;
|
||||
return zoneID
|
||||
end
|
||||
|
||||
function GetLootTableParent(dataID)
|
||||
if not dataID then return end
|
||||
local parentID ;
|
||||
if not dataID then return end
|
||||
local parentID
|
||||
for i, v in pairs(AtlasLoot_TableNamesBoss) do
|
||||
for j,k in pairs(v) do
|
||||
for j, k in pairs(v) do
|
||||
if dataID == j then
|
||||
parentID = i
|
||||
break;
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
return parentID;
|
||||
return parentID
|
||||
end
|
||||
|
||||
local function GetWishListSubheadingDungeon(dataID)
|
||||
if not AtlasLoot_TableNames then return end
|
||||
local zoneID ;
|
||||
local zoneID
|
||||
for i, v in pairs(AtlasLoot_TableNamesBoss) do
|
||||
for j,k in pairs(v) do
|
||||
for j, k in pairs(v) do
|
||||
if dataID == j then
|
||||
zoneID = i
|
||||
break;
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return zoneID;
|
||||
return zoneID
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -236,54 +236,54 @@ This function returns a single table with all items, use AtlasLoot_GetWishListPa
|
||||
wlTable: is AtlasLootCharDB["WishList"], parameterized for flexible
|
||||
]]
|
||||
function AtlasLoot_CategorizeWishList(wlTable)
|
||||
local subheadings, categories, result = {}, {}, {};
|
||||
local subheadings, categories, result = {}, {}, {}
|
||||
|
||||
for _, v in pairs(wlTable) do
|
||||
if v[5] and v[5] ~= "" then
|
||||
local _, _, dataID = strfind(v[5], "^(.+)|.+");
|
||||
local _, _, dataID = strfind(v[5], "^(.+)|.+")
|
||||
-- Build subheading table
|
||||
if not subheadings[dataID] then
|
||||
if AtlasLootCharDB.WishlistGroupedByDungeon then
|
||||
subheadings[dataID] = GetWishListSubheadingDungeon(dataID);
|
||||
subheadings[dataID] = GetWishListSubheadingDungeon(dataID)
|
||||
else
|
||||
subheadings[dataID] = AtlasLoot_GetWishListSubheadingBoss(dataID);
|
||||
subheadings[dataID] = AtlasLoot_GetWishListSubheadingBoss(dataID)
|
||||
end
|
||||
-- If search failed, replace ID like "Aldor2" to "Aldor1" and try again
|
||||
if not subheadings[dataID] and string.find(dataID, "^%a+%d?$") then
|
||||
subheadings[dataID] = AtlasLoot_GetWishListSubheading(string.sub(dataID, 1, string.len(dataID) - 1).."1");
|
||||
subheadings[dataID] = AtlasLoot_GetWishListSubheading(string.sub(dataID, 1, string.len(dataID) - 1).."1")
|
||||
end
|
||||
-- If still cant find it, mark it with Unknown
|
||||
if not subheadings[dataID] then subheadings[dataID] = AL["Unknown"] end
|
||||
end
|
||||
-- Build category tables
|
||||
if not categories[subheadings[dataID]] then categories[subheadings[dataID]] = {} end
|
||||
table.insert(categories[subheadings[dataID]], v);
|
||||
table.insert(categories[subheadings[dataID]], v)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
-- Sort and flatten categories
|
||||
for k, v in pairs(categories) do
|
||||
-- Add a empty line between categories when in a same column
|
||||
if table.getn(result) > 1 and (table.getn(result) - math.floor(table.getn(result)/15)*15) > 0 then table.insert(result, { 0, "", "", "" }) end
|
||||
if table.getn(result) > 1 and (table.getn(result) - math.floor(table.getn(result) / 15) * 15) > 0 then table.insert(result, { 0, "", "", "" }) end
|
||||
-- If a subheading is on the last row of a column, push it to next column
|
||||
if ((table.getn(result) + 1) - math.floor((table.getn(result) + 1)/15)*15) == 0 then table.insert(result, { 0, "", "", "" }) end
|
||||
if ((table.getn(result) + 1) - math.floor((table.getn(result) + 1) / 15) * 15) == 0 then table.insert(result, { 0, "", "", "" }) end
|
||||
-- Subheading
|
||||
|
||||
|
||||
-- some debug code that I've used to fix WishList errors before due to people adding drops to AtlasLoot incorrectly.
|
||||
local box = k or "Unknown"
|
||||
local cat = categories[k][1][5] or "Unknown"
|
||||
_, _, cat = strfind(cat, "^(.+)|.+")
|
||||
_, _, cat = strfind(cat, "^(.+)|.+")
|
||||
local parent = GetLootTableParent(cat) or "Unknown"
|
||||
--print("box: "..box.." - cat: "..cat)
|
||||
table.insert(result, { 0, "INV_Box_01", "=q6="..box, "=q0="..parent });
|
||||
|
||||
--table.insert(result, { 0, "INV_Box_01", "=q6="..k, "=q0="..GetLootTableParent(strsplit("|", categories[k][1][5])) });
|
||||
table.insert(result, { 0, "INV_Box_01", "=q6="..box, "=q0="..parent })
|
||||
|
||||
--table.insert(result, { 0, "INV_Box_01", "=q6="..k, "=q0="..GetLootTableParent(strsplit("|", categories[k][1][5])) })
|
||||
-- Sort first then add items
|
||||
table.sort(v, AtlasLoot_WishListSortCheck); -- not works?
|
||||
table.sort(v, AtlasLoot_WishListSortCheck) -- not works?
|
||||
for i = 1, table.getn(v) do table.insert(result, v[i]) end
|
||||
end
|
||||
collectgarbage();
|
||||
return result;
|
||||
collectgarbage()
|
||||
return result
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -294,17 +294,17 @@ page: the page number needed
|
||||
function AtlasLoot_GetWishListPage(page)
|
||||
if not AtlasLoot_WishList then AtlasLoot_WishList = AtlasLoot_CategorizeWishList(AtlasLootCharDB["WishList"]) end
|
||||
-- Calc for maximal pages
|
||||
local pageMax = math.ceil(table.getn(AtlasLoot_WishList) / 30);
|
||||
local pageMax = math.ceil(table.getn(AtlasLoot_WishList) / 30)
|
||||
if page < 1 then page = 1 end
|
||||
if page > pageMax then page = pageMax end
|
||||
currentPage = page;
|
||||
currentPage = page
|
||||
|
||||
-- Table copy
|
||||
local result = {};
|
||||
local start = (page - 1) * 30 + 1;
|
||||
local result = {}
|
||||
local start = (page - 1) * 30 + 1
|
||||
for i = start, start + 29 do
|
||||
if not AtlasLoot_WishList[i] then break end
|
||||
table.insert(result, AtlasLoot_WishList[i]);
|
||||
table.insert(result, AtlasLoot_WishList[i])
|
||||
end
|
||||
return result, pageMax;
|
||||
return result, pageMax
|
||||
end
|
||||
|
||||
+63
-63
@@ -1,81 +1,81 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
local WHITE = "|cffFFFFFF";
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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
|
||||
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
|
||||
|
||||
+67
-67
@@ -1,87 +1,87 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot")
|
||||
|
||||
local ORANGE = "|cffFF8400";
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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();
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user