kara40 sets, alt sets, jewelcrafting
This commit is contained in:
+30
-22
@@ -79,7 +79,7 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
--Establish version number and compatible version of Atlas
|
||||
local VERSION_MAJOR = "3";
|
||||
local VERSION_MINOR = "0";
|
||||
local VERSION_BOSSES = "2";
|
||||
local VERSION_BOSSES = "3";
|
||||
ATLASLOOT_VERSION = "|cffFF8400AtlasLoot TW Edition v"..VERSION_MAJOR.."."..VERSION_MINOR.."."..VERSION_BOSSES.."|r";
|
||||
ATLASLOOT_CURRENT_ATLAS = "1.13.4";
|
||||
ATLASLOOT_PREVIEW_ATLAS = "1.13.3";
|
||||
@@ -187,6 +187,7 @@ AtlasLoot_MenuList = {
|
||||
"SETMENU",
|
||||
"AQ20SET",
|
||||
"AQ40SET",
|
||||
"KARASET",
|
||||
"PRE60SET",
|
||||
"ZGSET",
|
||||
"T3SET",
|
||||
@@ -205,7 +206,8 @@ AtlasLoot_MenuList = {
|
||||
"TAILORINGMENU",
|
||||
"CRAFTSET",
|
||||
"COOKINGMENU",
|
||||
"WORLDBOSSMENU"
|
||||
"WORLDBOSSMENU",
|
||||
"JEWELCRAFTMENU"
|
||||
};
|
||||
|
||||
--entrance maps to instance maps NOT NEEDED FOR ATLAS 1.12
|
||||
@@ -1173,6 +1175,8 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
|
||||
AtlasLootAQ40SetMenu();
|
||||
elseif(dataID=="AQ20SET") then
|
||||
AtlasLootAQ20SetMenu();
|
||||
elseif(dataID=="KARASET") then
|
||||
AtlasLoot_Kara40SetMenu();
|
||||
elseif(dataID=="T3SET") then
|
||||
AtlasLootT3SetMenu();
|
||||
elseif(dataID=="T2SET") then
|
||||
@@ -1225,6 +1229,8 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
|
||||
AtlasLoot_DungeonsMenu1();
|
||||
elseif(dataID=="DUNGEONSMENU2") then
|
||||
AtlasLoot_DungeonsMenu2();
|
||||
elseif(dataID=="JEWELCRAFTMENU") then
|
||||
AtlasLoot_JewelcraftingMenu();
|
||||
else
|
||||
--Iterate through each item object and set its properties
|
||||
for i = 1, 30, 1 do
|
||||
@@ -2393,16 +2399,17 @@ AtlasLoot_HewdropDown = {
|
||||
[2] = {{ AL["Zul'Gurub Sets"], "ZGSET", "Table" },},
|
||||
[3] = {{ AL["Ruins of Ahn'Qiraj Sets"], "AQ20SET", "Table" },},
|
||||
[4] = {{ AL["Temple of Ahn'Qiraj Sets"], "AQ40SET", "Table" },},
|
||||
[5] = {{ AL["Dungeon 1/2 Sets"], "T0SET", "Table" },},
|
||||
[6] = {{ AL["Tier 1 Sets"], "T1SET", "Table" },},
|
||||
[7] = {{ AL["Tier 2 Sets"], "T2SET", "Table" },},
|
||||
[8] = {{ AL["Tier 3 Sets"], "T3SET", "Table" },},
|
||||
[9] = {{ AL["Legendary Items"], "Legendaries", "Table" },},
|
||||
[10] = {{ AL["World Epics"], "WORLDEPICS", "Table" },},
|
||||
[11] = {{ AL["Rare Pets"], "RarePets1", "Table" },},
|
||||
[12] = {{ AL["Rare Mounts"], "RareMounts", "Table" },},
|
||||
[13] = {{ AL["Fashion"], "DonationRewards2", "Table" },},
|
||||
[14] = {{ AL["Tabards"], "Tabards", "Table" },},
|
||||
[5] = {{ AL["Karazhan Sets"], "KARASET", "Table" },},
|
||||
[6] = {{ AL["Dungeon 1/2 Sets"], "T0SET", "Table" },},
|
||||
[7] = {{ AL["Tier 1 Sets"], "T1SET", "Table" },},
|
||||
[8] = {{ AL["Tier 2 Sets"], "T2SET", "Table" },},
|
||||
[9] = {{ AL["Tier 3 Sets"], "T3SET", "Table" },},
|
||||
[10] = {{ AL["Legendary Items"], "Legendaries", "Table" },},
|
||||
[11] = {{ AL["World Epics"], "WORLDEPICS", "Table" },},
|
||||
[12] = {{ AL["Rare Pets"], "RarePets1", "Table" },},
|
||||
[13] = {{ AL["Rare Mounts"], "RareMounts", "Table" },},
|
||||
[14] = {{ AL["Fashion"], "DonationRewards2", "Table" },},
|
||||
[15] = {{ AL["Tabards"], "Tabards", "Table" },},
|
||||
--[15] = {{ AL["Old Mounts"], "OldMounts", "Table" },},
|
||||
--[16] = {{ AL["Unobtainable Mounts"], "UnobMounts", "Table" },},
|
||||
},
|
||||
@@ -2464,15 +2471,16 @@ AtlasLoot_HewdropDown = {
|
||||
[4] = { { (AL["Engineering"]), "ENGINEERINGMENU", "Table" }, },
|
||||
[5] = { { (AL["Herbalism"]), "Herbalism1", "Table" }, },
|
||||
[6] = { { (AL["Leatherworking"]), "LEATHERWORKINGMENU", "Table" }, },
|
||||
[7] = { { (AL["Mining"]), "Mining1", "Table" }, },
|
||||
[8] = { { (AL["Tailoring"]), "TAILORINGMENU", "Table" }, },
|
||||
[9] = { { (AL["Cooking"]), "COOKINGMENU", "Table" }, },
|
||||
[10] = { { (AL["First Aid"]), "FirstAid1", "Table" }, },
|
||||
[11] = { { (AL["Survival"]), "Survival1", "Table" }, },
|
||||
[12] = { { (AL["Gardening"]), "Survival2", "Table" }, },
|
||||
[13] = { { (AL["Poisons"]), "Poisons1", "Table" }, },
|
||||
[14] = { { AL["Crafted Sets"], "CRAFTSET", "Table" },},
|
||||
[15] = { { AL["Crafted Epic Weapons"], "CraftedWeapons1", "Table" }, },
|
||||
[7] = { { (AL["Jewelcrafting"]), "JEWELCRAFTMENU", "Table" }, },
|
||||
[8] = { { (AL["Mining"]), "Mining1", "Table" }, },
|
||||
[9] = { { (AL["Tailoring"]), "TAILORINGMENU", "Table" }, },
|
||||
[10] = { { (AL["Cooking"]), "COOKINGMENU", "Table" }, },
|
||||
[11] = { { (AL["First Aid"]), "FirstAid1", "Table" }, },
|
||||
[12] = { { (AL["Survival"]), "Survival1", "Table" }, },
|
||||
[13] = { { (AL["Gardening"]), "Survival2", "Table" }, },
|
||||
[14] = { { (AL["Poisons"]), "Poisons1", "Table" }, },
|
||||
[15] = { { AL["Crafted Sets"], "CRAFTSET", "Table" },},
|
||||
[16] = { { AL["Crafted Epic Weapons"], "CraftedWeapons1", "Table" }, },
|
||||
},
|
||||
},
|
||||
[8] = {{ "Rare Spawns", "RareSpawns", "Submenu" },},
|
||||
@@ -2486,7 +2494,7 @@ AtlasLoot_HewdropDown_SubTables = {
|
||||
{ AL["Engineer Figgles"], "HQEngineerFiggles" },
|
||||
{ AL["Corrosis"], "HQCorrosis" },
|
||||
{ AL["Hatereaver Annihilator"], "HQHatereaverAnnihilator" },
|
||||
{ AL["Hargesh Doomcaller"], "HQHargeshDoomcaller" },
|
||||
{ AL["Har'gesh Doomcaller"], "HQHargeshDoomcaller" },
|
||||
{ AL["Trash Mobs"], "HQTrash" },
|
||||
},
|
||||
["BlackrockDepths"] = {
|
||||
|
||||
+224
-3
@@ -49,14 +49,14 @@ AtlasLoot_ButtonRegistry = {
|
||||
["HQHatereaverAnnihilator"] = {
|
||||
Title = AL["Hatereaver Annihilator"];
|
||||
Next_Page = "HQHargeshDoomcaller";
|
||||
Next_Title = AL["Hargesh Doomcaller"];
|
||||
Next_Title = AL["Har'gesh Doomcaller"];
|
||||
Prev_Page = "HQCorrosis";
|
||||
Prev_Title = AL["Corrosis"];
|
||||
Back_Page = "DUNGEONSMENU1";
|
||||
Back_Title = AL["Dungeons & Raids"];
|
||||
};
|
||||
["HQHargeshDoomcaller"] = {
|
||||
Title = AL["Hargesh Doomcaller"];
|
||||
Title = AL["Har'gesh Doomcaller"];
|
||||
Next_Page = "HQTrash";
|
||||
Next_Title = AL["Trash Mobs"];
|
||||
Prev_Page = "HQHatereaverAnnihilator";
|
||||
@@ -67,7 +67,7 @@ AtlasLoot_ButtonRegistry = {
|
||||
["HQTrash"] = {
|
||||
Title = AL["Trash Mobs"];
|
||||
Prev_Page = "HQHargeshDoomcaller";
|
||||
Prev_Title = AL["Hargesh Doomcaller"];
|
||||
Prev_Title = AL["Har'gesh Doomcaller"];
|
||||
Back_Page = "DUNGEONSMENU1";
|
||||
Back_Title = AL["Dungeons & Raids"];
|
||||
};
|
||||
@@ -4521,6 +4521,51 @@ AtlasLoot_ButtonRegistry = {
|
||||
Back_Page = "T3SET";
|
||||
Back_Title = AL["Tier 3 Sets"];
|
||||
};
|
||||
["T35Druid"] = {
|
||||
Title = AL["Druid"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Hunter"] = {
|
||||
Title = AL["Hunter"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Mage"] = {
|
||||
Title = AL["Mage"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Paladin"] = {
|
||||
Title = AL["Paladin"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Priest"] = {
|
||||
Title = AL["Priest"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Rogue"] = {
|
||||
Title = AL["Rogue"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Shaman"] = {
|
||||
Title = AL["Shaman"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Warlock"] = {
|
||||
Title = AL["Warlock"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["T35Warrior"] = {
|
||||
Title = AL["Warrior"];
|
||||
Back_Page = "KARASET";
|
||||
Back_Title = AL["Karazhan"].." "..AL["Sets"];
|
||||
};
|
||||
["AQ40Druid"] = {
|
||||
Title = AL["Druid"];
|
||||
Back_Page = "AQ40SET";
|
||||
@@ -5989,6 +6034,182 @@ AtlasLoot_ButtonRegistry = {
|
||||
Prev_Page = "Elemental1";
|
||||
Prev_Title = AL["Leatherworking"] .. ": " .. AL["Elemental Leatherworking"];
|
||||
};
|
||||
["JewelcraftingApprentice1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Apprentice"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Next_Page = "JewelcraftingJourneyman1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
};
|
||||
["JewelcraftingJourneyman1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingApprentice1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
Next_Page = "JewelcraftingJourneyman2";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
};
|
||||
["JewelcraftingJourneyman2"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingJourneyman1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
Next_Page = "JewelcraftingExpert1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
};
|
||||
["JewelcraftingExpert1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingJourneyman2";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Journeyman"];
|
||||
Next_Page = "JewelcraftingExpert2";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
};
|
||||
["JewelcraftingExpert2"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingExpert1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Next_Page = "JewelcraftingExpert3";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
};
|
||||
["JewelcraftingExpert3"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingExpert2";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Next_Page = "JewelcraftingArtisan1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
};
|
||||
["JewelcraftingArtisan1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingExpert3";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Expert"];
|
||||
Next_Page = "JewelcraftingArtisan2";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
};
|
||||
["JewelcraftingArtisan2"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingArtisan1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
Next_Page = "JewelcraftingGemstones1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Gemstones"];
|
||||
};
|
||||
["JewelcraftingGemstones1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Gemstones"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingArtisan2";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Artisan"];
|
||||
Next_Page = "JewelcraftingRings1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
};
|
||||
["JewelcraftingRings1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingGemstones1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Gemstones"];
|
||||
Next_Page = "JewelcraftingRings2";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
};
|
||||
["JewelcraftingRings2"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingRings1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
Next_Page = "JewelcraftingAmulets1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Amulets"];
|
||||
};
|
||||
["JewelcraftingAmulets1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Amulets"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingRings2";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Rings"];
|
||||
Next_Page = "JewelcraftingHelm1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Head"];
|
||||
};
|
||||
["JewelcraftingHelm1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Head"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingAmulets1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Amulets"];
|
||||
Next_Page = "JewelcraftingBracers1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Bracers"];
|
||||
};
|
||||
["JewelcraftingBracers1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Bracers"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingHelm1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Head"];
|
||||
Next_Page = "JewelcraftingOffHands1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Off-hand"];
|
||||
};
|
||||
["JewelcraftingOffHands1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Off-hand"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingBracers1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Bracers"];
|
||||
Next_Page = "JewelcraftingStaves1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Staff"];
|
||||
};
|
||||
["JewelcraftingStaves1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Staff"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingOffHands1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Off-hand"];
|
||||
Next_Page = "JewelcraftingTrinkets1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Trinkets"];
|
||||
};
|
||||
["JewelcraftingTrinkets1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Trinkets"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingStaves1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Staff"];
|
||||
Next_Page = "JewelcraftingMisc1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Misc"];
|
||||
};
|
||||
["JewelcraftingMisc1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Misc"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingTrinkets1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Trinkets"];
|
||||
Next_Page = "JewelcraftingGemology1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Gemology"];
|
||||
};
|
||||
["JewelcraftingGemology1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Gemology"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingMisc1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Misc"];
|
||||
Next_Page = "JewelcraftingGoldsmithing1";
|
||||
Next_Title = AL["Jewelcrafting"] .. ": " .. AL["Goldsmithing"];
|
||||
};
|
||||
["JewelcraftingGoldsmithing1"] = {
|
||||
Title = AL["Jewelcrafting"] .. ": " .. AL["Goldsmithing"];
|
||||
Back_Page = "JEWELCRAFTMENU";
|
||||
Back_Title = AL["Jewelcrafting"];
|
||||
Prev_Page = "JewelcraftingGemology1";
|
||||
Prev_Title = AL["Jewelcrafting"] .. ": " .. AL["Gemology"];
|
||||
};
|
||||
["Herbalism1"] = {
|
||||
Title = AL["Herbalism"];
|
||||
Back_Page = "CRAFTINGMENU";
|
||||
|
||||
+180
-64
@@ -19,40 +19,46 @@ function AtlasLoot_CraftingMenu()
|
||||
getglobal("AtlasLootItemsFrame_PREV"):Hide();
|
||||
getglobal("AtlasLootServerQueryButton"):Hide();
|
||||
--Alchemy
|
||||
AtlasLootMenuItem_2_Name:SetText(AL["Alchemy"]);
|
||||
AtlasLootMenuItem_2_Extra:SetText("");
|
||||
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy");
|
||||
AtlasLootMenuItem_2.lootpage="ALCHEMYMENU";
|
||||
AtlasLootMenuItem_2:Show();
|
||||
AtlasLootMenuItem_1_Name:SetText(AL["Alchemy"]);
|
||||
AtlasLootMenuItem_1_Extra:SetText("");
|
||||
AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\Trade_Alchemy");
|
||||
AtlasLootMenuItem_1.lootpage="ALCHEMYMENU";
|
||||
AtlasLootMenuItem_1:Show();
|
||||
--Enchanting
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Enchanting"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
|
||||
AtlasLootMenuItem_3.lootpage="ENCHANTINGMENU";
|
||||
AtlasLootMenuItem_3:Show();
|
||||
AtlasLootMenuItem_2_Name:SetText(AL["Enchanting"]);
|
||||
AtlasLootMenuItem_2_Extra:SetText("");
|
||||
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
|
||||
AtlasLootMenuItem_2.lootpage="ENCHANTINGMENU";
|
||||
AtlasLootMenuItem_2:Show();
|
||||
--Engineering
|
||||
AtlasLootMenuItem_4_Name:SetText(AL["Engineering"]);
|
||||
AtlasLootMenuItem_4_Extra:SetText("");
|
||||
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Engineering");
|
||||
AtlasLootMenuItem_4.lootpage="ENGINEERINGMENU";
|
||||
AtlasLootMenuItem_4:Show();
|
||||
AtlasLootMenuItem_3_Name:SetText(AL["Engineering"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engineering");
|
||||
AtlasLootMenuItem_3.lootpage="ENGINEERINGMENU";
|
||||
AtlasLootMenuItem_3:Show();
|
||||
--Leatherworking
|
||||
AtlasLootMenuItem_5_Name:SetText(AL["Leatherworking"]);
|
||||
AtlasLootMenuItem_5_Extra:SetText("");
|
||||
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17");
|
||||
AtlasLootMenuItem_5.lootpage="LEATHERWORKINGMENU";
|
||||
AtlasLootMenuItem_5:Show();
|
||||
AtlasLootMenuItem_4_Name:SetText(AL["Leatherworking"]);
|
||||
AtlasLootMenuItem_4_Extra:SetText("");
|
||||
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_ArmorKit_17");
|
||||
AtlasLootMenuItem_4.lootpage="LEATHERWORKINGMENU";
|
||||
AtlasLootMenuItem_4:Show();
|
||||
--Blacksmithing
|
||||
AtlasLootMenuItem_6_Name:SetText(AL["Blacksmithing"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing");
|
||||
AtlasLootMenuItem_6.lootpage="SMITHINGMENU";
|
||||
AtlasLootMenuItem_6:Show();
|
||||
AtlasLootMenuItem_5_Name:SetText(AL["Blacksmithing"]);
|
||||
AtlasLootMenuItem_5_Extra:SetText("");
|
||||
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_BlackSmithing");
|
||||
AtlasLootMenuItem_5.lootpage="SMITHINGMENU";
|
||||
AtlasLootMenuItem_5:Show();
|
||||
--Tailoring
|
||||
AtlasLootMenuItem_7_Name:SetText(AL["Tailoring"]);
|
||||
AtlasLootMenuItem_6_Name:SetText(AL["Tailoring"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring");
|
||||
AtlasLootMenuItem_6.lootpage="TAILORINGMENU";
|
||||
AtlasLootMenuItem_6:Show();
|
||||
--Jewelcrafting
|
||||
AtlasLootMenuItem_7_Name:SetText(AL["Jewelcrafting"]);
|
||||
AtlasLootMenuItem_7_Extra:SetText("");
|
||||
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Tailoring");
|
||||
AtlasLootMenuItem_7.lootpage="TAILORINGMENU";
|
||||
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Necklace_01");
|
||||
AtlasLootMenuItem_7.lootpage="JEWELCRAFTMENU";
|
||||
AtlasLootMenuItem_7:Show();
|
||||
--Herbalism
|
||||
AtlasLootMenuItem_8_Name:SetText(AL["Herbalism"]);
|
||||
@@ -97,17 +103,17 @@ function AtlasLoot_CraftingMenu()
|
||||
AtlasLootMenuItem_15.lootpage="Poisons1";
|
||||
AtlasLootMenuItem_15:Show();
|
||||
--Crafted Armor Sets
|
||||
AtlasLootMenuItem_17_Name:SetText(AL["Crafted Sets"]);
|
||||
AtlasLootMenuItem_17_Extra:SetText("");
|
||||
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Pants_Wolf");
|
||||
AtlasLootMenuItem_17.lootpage="CRAFTSET";
|
||||
AtlasLootMenuItem_17:Show();
|
||||
AtlasLootMenuItem_16_Name:SetText(AL["Crafted Sets"]);
|
||||
AtlasLootMenuItem_16_Extra:SetText("");
|
||||
AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\INV_Pants_Wolf");
|
||||
AtlasLootMenuItem_16.lootpage="CRAFTSET";
|
||||
AtlasLootMenuItem_16:Show();
|
||||
--Crafted Epic Weapons
|
||||
AtlasLootMenuItem_19_Name:SetText(AL["Crafted Epic Weapons"]);
|
||||
AtlasLootMenuItem_19_Extra:SetText("");
|
||||
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Hammer_Unique_Sulfuras");
|
||||
AtlasLootMenuItem_19.lootpage="CraftedWeapons1";
|
||||
AtlasLootMenuItem_19:Show();
|
||||
AtlasLootMenuItem_18_Name:SetText(AL["Crafted Epic Weapons"]);
|
||||
AtlasLootMenuItem_18_Extra:SetText("");
|
||||
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Hammer_Unique_Sulfuras");
|
||||
AtlasLootMenuItem_18.lootpage="CraftedWeapons1";
|
||||
AtlasLootMenuItem_18:Show();
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
|
||||
end
|
||||
@@ -512,35 +518,35 @@ function AtlasLoot_SmithingMenu()
|
||||
AtlasLootMenuItem_22.lootpage="SmithingMisc1";
|
||||
AtlasLootMenuItem_22:Show();
|
||||
--Armorsmith
|
||||
AtlasLootMenuItem_26_Name:SetText(AL["Blacksmithing"]..": "..AL["Armorsmith"]);
|
||||
AtlasLootMenuItem_26_Extra:SetText("");
|
||||
AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\INV_Chest_Plate04");
|
||||
AtlasLootMenuItem_26.lootpage="Armorsmith1";
|
||||
AtlasLootMenuItem_26:Show();
|
||||
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_27_Name:SetText(AL["Blacksmithing"]..": "..AL["Weaponsmith"]);
|
||||
AtlasLootMenuItem_27_Extra:SetText("");
|
||||
AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\INV_Sword_25");
|
||||
AtlasLootMenuItem_27.lootpage="Weaponsmith1";
|
||||
AtlasLootMenuItem_27:Show();
|
||||
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_28_Name:SetText(AL["Blacksmithing"]..": "..AL["Master Axesmith"]);
|
||||
AtlasLootMenuItem_28_Extra:SetText("");
|
||||
AtlasLootMenuItem_28_Icon:SetTexture("Interface\\Icons\\INV_Axe_05");
|
||||
AtlasLootMenuItem_28.lootpage="Axesmith1";
|
||||
AtlasLootMenuItem_28:Show();
|
||||
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_29_Name:SetText(AL["Blacksmithing"]..": "..AL["Master Hammersmith"]);
|
||||
AtlasLootMenuItem_29_Extra:SetText("");
|
||||
AtlasLootMenuItem_29_Icon:SetTexture("Interface\\Icons\\INV_Hammer_23");
|
||||
AtlasLootMenuItem_29.lootpage="Hammersmith1";
|
||||
AtlasLootMenuItem_29:Show();
|
||||
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_30_Name:SetText(AL["Blacksmithing"]..": "..AL["Master Swordsmith"]);
|
||||
AtlasLootMenuItem_30_Extra:SetText("");
|
||||
AtlasLootMenuItem_30_Icon:SetTexture("Interface\\Icons\\INV_Sword_41");
|
||||
AtlasLootMenuItem_30.lootpage="Swordsmith1";
|
||||
AtlasLootMenuItem_30:Show();
|
||||
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();
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
|
||||
end
|
||||
@@ -598,7 +604,7 @@ function AtlasLoot_EnchantingMenu()
|
||||
AtlasLootMenuItem_8.lootpage="EnchantingChest1";
|
||||
AtlasLootMenuItem_8:Show();
|
||||
--Enchanting Bracer
|
||||
AtlasLootMenuItem_9_Name:SetText(AL["Enchanting"]..": "..AL["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";
|
||||
@@ -1027,3 +1033,113 @@ function AtlasLoot_CookingMenu()
|
||||
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Cooking"]);
|
||||
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
|
||||
end
|
||||
|
||||
function AtlasLoot_JewelcraftingMenu()
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootItem_"..i):Hide();
|
||||
end
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i):Hide();
|
||||
getglobal("AtlasLootMenuItem_"..i).isheader = false;
|
||||
end
|
||||
getglobal("AtlasLootItemsFrame_BACK"):Show();
|
||||
getglobal("AtlasLootItemsFrame_BACK").lootpage = "CRAFTINGMENU";
|
||||
getglobal("AtlasLootItemsFrame_NEXT"):Hide();
|
||||
getglobal("AtlasLootItemsFrame_PREV"):Hide();
|
||||
getglobal("AtlasLootServerQueryButton"):Hide();
|
||||
--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();
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
|
||||
end
|
||||
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Jewelcrafting"]);
|
||||
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
|
||||
end
|
||||
+85
-5
@@ -34,12 +34,18 @@ function AtlasLootSetMenu()
|
||||
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_35");
|
||||
AtlasLootMenuItem_5.lootpage="AQ40SET";
|
||||
AtlasLootMenuItem_5:Show();
|
||||
--Karazhan
|
||||
AtlasLootMenuItem_6_Name:SetText(AL["Karazhan"].." "..AL["Sets"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Staff_Medivh");
|
||||
AtlasLootMenuItem_6.lootpage="KARASET";
|
||||
AtlasLootMenuItem_6:Show();
|
||||
--Legendaries
|
||||
AtlasLootMenuItem_7_Name:SetText(AL["Legendary Items"]);
|
||||
AtlasLootMenuItem_7_Extra:SetText("");
|
||||
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Staff_Medivh");
|
||||
AtlasLootMenuItem_7.lootpage="Legendaries";
|
||||
AtlasLootMenuItem_7:Show();
|
||||
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();
|
||||
--Artifacts
|
||||
--[[
|
||||
AtlasLootMenuItem_8_Name:SetText(AL["Artifact Items"]);
|
||||
@@ -814,3 +820,77 @@ function AtlasLootT3SetMenu()
|
||||
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Tier 3 Sets"]);
|
||||
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
|
||||
end
|
||||
|
||||
function AtlasLoot_Kara40SetMenu()
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootItem_"..i):Hide();
|
||||
end
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i):Hide();
|
||||
getglobal("AtlasLootMenuItem_"..i).isheader = false;
|
||||
end
|
||||
getglobal("AtlasLootItemsFrame_BACK"):Show();
|
||||
getglobal("AtlasLootItemsFrame_BACK").lootpage = "SETMENU";
|
||||
getglobal("AtlasLootItemsFrame_NEXT"):Hide();
|
||||
getglobal("AtlasLootItemsFrame_PREV"):Hide();
|
||||
getglobal("AtlasLootServerQueryButton"):Hide();
|
||||
--Priest
|
||||
AtlasLootMenuItem_3_Name:SetText("|cffffffff"..AL["Priest"]);
|
||||
AtlasLootMenuItem_3_Extra:SetText("");
|
||||
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Spell_Holy_PowerWordShield");
|
||||
AtlasLootMenuItem_3.lootpage="T35Priest";
|
||||
AtlasLootMenuItem_3:Show();
|
||||
--Mage
|
||||
AtlasLootMenuItem_4_Name:SetText("|cff68ccef"..AL["Mage"]);
|
||||
AtlasLootMenuItem_4_Extra:SetText("");
|
||||
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Spell_Frost_IceStorm");
|
||||
AtlasLootMenuItem_4.lootpage="T35Mage";
|
||||
AtlasLootMenuItem_4:Show();
|
||||
--Warlock
|
||||
AtlasLootMenuItem_5_Name:SetText("|cff9382c9"..AL["Warlock"]);
|
||||
AtlasLootMenuItem_5_Extra:SetText("");
|
||||
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Spell_Shadow_CurseOfTounges");
|
||||
AtlasLootMenuItem_5.lootpage="T35Warlock";
|
||||
AtlasLootMenuItem_5:Show();
|
||||
--Rogue
|
||||
AtlasLootMenuItem_6_Name:SetText("|cfffff468"..AL["Rogue"]);
|
||||
AtlasLootMenuItem_6_Extra:SetText("");
|
||||
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Ability_BackStab");
|
||||
AtlasLootMenuItem_6.lootpage="T35Rogue";
|
||||
AtlasLootMenuItem_6:Show();
|
||||
--Druid
|
||||
AtlasLootMenuItem_7_Name:SetText("|cffff7c0a"..AL["Druid"]);
|
||||
AtlasLootMenuItem_7_Extra:SetText("");
|
||||
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Spell_Nature_Regeneration");
|
||||
AtlasLootMenuItem_7.lootpage="T35Druid";
|
||||
AtlasLootMenuItem_7:Show();
|
||||
--Hunter
|
||||
AtlasLootMenuItem_18_Name:SetText("|cffaad372"..AL["Hunter"]);
|
||||
AtlasLootMenuItem_18_Extra:SetText("");
|
||||
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\Ability_Hunter_RunningShot");
|
||||
AtlasLootMenuItem_18.lootpage="T35Hunter";
|
||||
AtlasLootMenuItem_18:Show();
|
||||
--Shaman
|
||||
AtlasLootMenuItem_19_Name:SetText("|cff2773ff"..AL["Shaman"]);
|
||||
AtlasLootMenuItem_19_Extra:SetText("");
|
||||
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\Spell_FireResistanceTotem_01");
|
||||
AtlasLootMenuItem_19.lootpage="T35Shaman";
|
||||
AtlasLootMenuItem_19:Show();
|
||||
--Paladin
|
||||
AtlasLootMenuItem_20_Name:SetText("|cfff48cba"..AL["Paladin"]);
|
||||
AtlasLootMenuItem_20_Extra:SetText("");
|
||||
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\Spell_Holy_SealOfMight");
|
||||
AtlasLootMenuItem_20.lootpage="T35Paladin";
|
||||
AtlasLootMenuItem_20:Show();
|
||||
--Warrior
|
||||
AtlasLootMenuItem_21_Name:SetText("|cffc69b6d"..AL["Warrior"]);
|
||||
AtlasLootMenuItem_21_Extra:SetText("");
|
||||
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Shield_05");
|
||||
AtlasLootMenuItem_21.lootpage="T35Warrior";
|
||||
AtlasLootMenuItem_21:Show();
|
||||
for i = 1, 30, 1 do
|
||||
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
|
||||
end
|
||||
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Karazhan"].." "..AL["Sets"]);
|
||||
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
|
||||
end
|
||||
+3391
File diff suppressed because it is too large
Load Diff
+57
-62
@@ -1,14 +1,12 @@
|
||||
-- extra info on GameTooltip and ItemRefTooltip
|
||||
local AtlasLootTip = CreateFrame("Frame", "AtlasLootTip", GameTooltip)
|
||||
local strfind = string.find
|
||||
local tonumber = tonumber
|
||||
|
||||
local GREY = "|cff999999"
|
||||
|
||||
local LastSearchName = nil
|
||||
local lastSearchName = nil
|
||||
local lastSearchLink = nil
|
||||
local function GetItemLinkByName(name)
|
||||
if name ~= LastSearchName then
|
||||
if name ~= lastSearchName then
|
||||
for itemID = 1, 90000 do
|
||||
local itemName, hyperLink, itemQuality = GetItemInfo(itemID)
|
||||
if (itemName and itemName == name) then
|
||||
@@ -16,7 +14,7 @@ local function GetItemLinkByName(name)
|
||||
lastSearchLink = hex.. "|H"..hyperLink.."|h["..itemName.."]|h|r"
|
||||
end
|
||||
end
|
||||
LastSearchName = name
|
||||
lastSearchName = name
|
||||
end
|
||||
return lastSearchLink
|
||||
end
|
||||
@@ -52,15 +50,6 @@ function GameTooltip.SetBagItem(self, container, slot)
|
||||
return HookSetBagItem(self, container, slot)
|
||||
end
|
||||
|
||||
local HookSetLootItem = GameTooltip.SetLootItem
|
||||
function GameTooltip.SetLootItem(self, slot)
|
||||
if GetLootSlotLink(slot) then
|
||||
local _, _, id = string.find(GetLootSlotLink(slot),"item:(%d+):.*")
|
||||
GameTooltip.itemID = id
|
||||
end
|
||||
HookSetLootItem(self, slot)
|
||||
end
|
||||
|
||||
local HookSetInboxItem = GameTooltip.SetInboxItem
|
||||
function GameTooltip.SetInboxItem(self, mailID, attachmentIndex)
|
||||
local itemName = GetInboxItem(mailID)
|
||||
@@ -143,25 +132,18 @@ function GameTooltip.SetTradeTargetItem(self, index)
|
||||
return HookSetTradeTargetItem(self, index)
|
||||
end
|
||||
|
||||
local lastItemName = nil
|
||||
local lastItemID = nil
|
||||
local lastSourceStr = nil
|
||||
local lastDropRate = nil
|
||||
local lastItemName, lastItemID, lastSourceStr, lastDropRate
|
||||
function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
if AtlasLootCharDB.ShowSource ~= true then return end
|
||||
local originalTooltip = {}
|
||||
local itemName = getglobal(tooltipTypeStr .. "TextLeft1"):GetText()
|
||||
local line2 = getglobal(tooltipTypeStr .. "TextLeft2")
|
||||
if not line2:GetText() then return end
|
||||
local craftSpell = nil
|
||||
local source = nil
|
||||
local sourceStr = nil
|
||||
local dropRate = nil
|
||||
local craftSpell, source, sourceStr, dropRate
|
||||
local isCraft = false
|
||||
local isWBLoot = false
|
||||
local isPvP = false
|
||||
local isRepReward = false
|
||||
local isSetPiece = false
|
||||
local isWBLoot = false
|
||||
local isWorldEvent = false
|
||||
if itemName and itemName ~= "Fashion Coin" and tooltip.itemID then
|
||||
if itemName ~= lastItemName or tooltip.itemID ~= lastItemID then
|
||||
@@ -176,7 +158,7 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
end
|
||||
end
|
||||
for row=1, table.getn(originalTooltip) do
|
||||
if strfind(originalTooltip[row].text, "—",1,true) then -- skip items that state which rep they require
|
||||
if string.find(originalTooltip[row].text, "—",1,true) then -- skip items that state which rep they require
|
||||
return
|
||||
end
|
||||
end
|
||||
@@ -188,29 +170,31 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
end
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootCrafting"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootCrafting"][k1]) do
|
||||
if type(v2[1]) == "string" and v2[1] ~= "" and string.sub(v2[1], 1, 1) ~= "e" then
|
||||
if v2[1] == craftSpell
|
||||
if v2[1] ~= 0 and v2[1] ~= "" and string.sub(v2[1], 1, 1) ~= "e" then
|
||||
if (v2[1] == craftSpell or v2[1] == tonumber(tooltip.itemID))
|
||||
and
|
||||
(strfind(k1, "Apprentice",1,true) or
|
||||
strfind(k1, "Journeyman",1,true) or
|
||||
strfind(k1, "Expert",1,true) or
|
||||
strfind(k1, "Artisan",1,true) or
|
||||
strfind(k1, "Goblin",1,true) or
|
||||
strfind(k1, "Gnomish",1,true) or
|
||||
strfind(k1, "Survival",1,true) or
|
||||
strfind(k1, "Herbalism",1,true) or
|
||||
strfind(k1, "FirstAid",1,true) or
|
||||
strfind(k1, "Poisons",1,true) or
|
||||
strfind(k1, "Mining",1,true) or
|
||||
strfind(k1, "Smelting",1,true) or
|
||||
strfind(k1, "Elemental",1,true) or
|
||||
strfind(k1, "Tribal",1,true) or
|
||||
strfind(k1, "Dragonscale",1,true)or
|
||||
strfind(k1, "Weaponsmith",1,true)or
|
||||
strfind(k1, "Axesmith",1,true)or
|
||||
strfind(k1, "Hammersmith",1,true)or
|
||||
strfind(k1, "Swordsmith",1,true)or
|
||||
strfind(k1, "Armorsmith",1,true))
|
||||
(string.find(k1, "Apprentice",1,true) or
|
||||
string.find(k1, "Journeyman",1,true) or
|
||||
string.find(k1, "Expert",1,true) or
|
||||
string.find(k1, "Artisan",1,true) or
|
||||
string.find(k1, "Goblin",1,true) or
|
||||
string.find(k1, "Gnomish",1,true) or
|
||||
string.find(k1, "Survival",1,true) or
|
||||
string.find(k1, "Herbalism",1,true) or
|
||||
string.find(k1, "FirstAid",1,true) or
|
||||
string.find(k1, "Poisons",1,true) or
|
||||
string.find(k1, "Mining",1,true) or
|
||||
string.find(k1, "Smelting",1,true) or
|
||||
string.find(k1, "Elemental",1,true) or
|
||||
string.find(k1, "Tribal",1,true) or
|
||||
string.find(k1, "Dragonscale",1,true)or
|
||||
string.find(k1, "Weaponsmith",1,true)or
|
||||
string.find(k1, "Axesmith",1,true)or
|
||||
string.find(k1, "Hammersmith",1,true)or
|
||||
string.find(k1, "Swordsmith",1,true)or
|
||||
string.find(k1, "Armorsmith",1,true)or
|
||||
string.find(k1, "Gemology",1,true)or
|
||||
string.find(k1, "Goldsmithing",1,true))
|
||||
then
|
||||
source = k1
|
||||
isCraft = true
|
||||
@@ -223,7 +207,7 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
if not isCraft then
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootWBItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootWBItems"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
isWBLoot = true
|
||||
if v2[5] then
|
||||
@@ -240,7 +224,7 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
if not isCraft and not isWBLoot then
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootGeneralPvPItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootGeneralPvPItems"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
isPvP = true
|
||||
lastDropRate = nil
|
||||
@@ -249,10 +233,11 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
end
|
||||
end
|
||||
-- check if its a rep reward
|
||||
-- bgs
|
||||
if not isCraft and not isWBLoot and not isPvP then
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootBGItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootBGItems"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
isRepReward = true
|
||||
if v2[5] then
|
||||
@@ -264,12 +249,13 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
end
|
||||
end
|
||||
end
|
||||
-- factions
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootRepItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootRepItems"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
isRepReward = true
|
||||
if v2[5] and source ~= "Darkmoon" and not strfind(source, "Cenarion",1,true) then
|
||||
if v2[5] and source ~= "Darkmoon" and not string.find(source, "Cenarion",1,true) then
|
||||
dropRate = v2[5]
|
||||
lastDropRate = dropRate
|
||||
else
|
||||
@@ -283,9 +269,10 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
if not isCraft and not isWBLoot and not isPvP and not isRepReward then
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootSetItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootSetItems"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
if not (source == "SpiritofEskhandar" or
|
||||
isSetPiece = true
|
||||
if (source == "SpiritofEskhandar" or
|
||||
source == "HakkariBlades" or
|
||||
source == "PrimalBlessing" or
|
||||
source == "ShardOfGods" or
|
||||
@@ -295,8 +282,9 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
source == "Legendaries" or
|
||||
source == "Artifacts" or
|
||||
source == "ZGRings" or
|
||||
source == "Tabards") then
|
||||
isSetPiece = true
|
||||
source == "Tabards" or string.find(source, "WorldEpics",1,true)) then
|
||||
source = nil
|
||||
isSetPiece = false
|
||||
end
|
||||
lastDropRate = nil
|
||||
end
|
||||
@@ -307,8 +295,11 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
if not isCraft and not isWBLoot and not isPvP and not isRepReward and not isSetPiece then
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootWorldEvents"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootWorldEvents"][k1]) do
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName, 1, true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName, 1, true) then
|
||||
source = k1
|
||||
if source == "WintervielSnowball" and not (tonumber(tooltip.itemID) == 51249 or tonumber(tooltip.itemID) == 61089) then
|
||||
return
|
||||
end
|
||||
isWorldEvent = true
|
||||
if v2[5] then
|
||||
dropRate = v2[5]
|
||||
@@ -325,7 +316,7 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
for k1,v1 in pairs(AtlasLoot_Data["AtlasLootItems"]) do
|
||||
for k2,v2 in pairs(AtlasLoot_Data["AtlasLootItems"][k1]) do
|
||||
if v2[1] ~= 0 then
|
||||
if v2[1] == tonumber(tooltip.itemID) and strfind(v2[3], itemName,1,true) then
|
||||
if v2[1] == tonumber(tooltip.itemID) and string.find(v2[3], itemName,1,true) then
|
||||
if k1 ~= "VanillaKeys" then
|
||||
source = k1
|
||||
end
|
||||
@@ -380,11 +371,17 @@ function AtlasLootTip.extendTooltip(tooltip, tooltipTypeStr)
|
||||
else
|
||||
line2:SetText(GREY..lastSourceStr.."|r\n"..line2:GetText())
|
||||
end
|
||||
else
|
||||
if lastDropRate then
|
||||
tooltip:AddLine(GREY..lastSourceStr.." ("..lastDropRate..")|r")
|
||||
else
|
||||
tooltip:AddLine(GREY..lastSourceStr.."|r")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
tooltip:Show()
|
||||
end
|
||||
tooltip:Show()
|
||||
end
|
||||
|
||||
AtlasLootTip:SetScript("OnHide", function()
|
||||
@@ -393,7 +390,5 @@ AtlasLootTip:SetScript("OnHide", function()
|
||||
end)
|
||||
|
||||
AtlasLootTip:SetScript("OnShow", function()
|
||||
if GameTooltip.itemID then
|
||||
AtlasLootTip.extendTooltip(GameTooltip, "GameTooltip")
|
||||
end
|
||||
AtlasLootTip.extendTooltip(GameTooltip, "GameTooltip")
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user