remove mining menu

This commit is contained in:
Spit
2024-09-25 16:54:48 +03:00
parent 5638c54022
commit 1a82bc2364
6 changed files with 6 additions and 7843 deletions
+1 -4
View File
@@ -202,7 +202,6 @@ AtlasLoot_MenuList = {
"ENCHANTINGMENU",
"ENGINEERINGMENU",
"LEATHERWORKINGMENU",
"MININGMENU",
"TAILORINGMENU",
"CRAFTSET",
"COOKINGMENU",
@@ -1205,8 +1204,6 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
AtlasLoot_EngineeringMenu();
elseif(dataID=="LEATHERWORKINGMENU") then
AtlasLoot_LeatherworkingMenu();
elseif(dataID=="MININGMENU") then
AtlasLoot_MiningMenu();
elseif(dataID=="TAILORINGMENU") then
AtlasLoot_TailoringMenu();
elseif(dataID=="COOKINGMENU") then
@@ -2455,7 +2452,7 @@ AtlasLoot_HewdropDown = {
[4] = { { (AL["Engineering"]), "ENGINEERINGMENU", "Table" }, },
[5] = { { (AL["Herbalism"]), "Herbalism1", "Table" }, },
[6] = { { (AL["Leatherworking"]), "LEATHERWORKINGMENU", "Table" }, },
[7] = { { (AL["Mining"]), "MININGMENU", "Table" }, },
[7] = { { (AL["Mining"]), "Mining1", "Table" }, },
[8] = { { (AL["Tailoring"]), "TAILORINGMENU", "Table" }, },
[9] = { { (AL["Cooking"]), "COOKINGMENU", "Table" }, },
[10] = { { (AL["First Aid"]), "FirstAid1", "Table" }, },
+4 -4
View File
@@ -6005,15 +6005,15 @@ AtlasLoot_ButtonRegistry = {
};
["Mining1"] = {
Title = AL["Mining"];
Back_Page = "MININGMENU";
Back_Title = AL["Mining"];
Back_Page = "CRAFTINGMENU";
Back_Title = AL["Crafting"];
Next_Page = "Smelting1";
Next_Title = AL["Mining"];
};
["Smelting1"] = {
Title = AL["Smelting"];
Back_Page = "MININGMENU";
Back_Title = AL["Mining"];
Back_Page = "CRAFTINGMENU";
Back_Title = AL["Crafting"];
Prev_Page = "Mining1";
Prev_Title = AL["Mining"];
};
+1 -33
View File
@@ -64,7 +64,7 @@ function AtlasLoot_CraftingMenu()
AtlasLootMenuItem_9_Name:SetText(AL["Mining"]);
AtlasLootMenuItem_9_Extra:SetText("");
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Mining");
AtlasLootMenuItem_9.lootpage="MININGMENU";
AtlasLootMenuItem_9.lootpage="Mining1";
AtlasLootMenuItem_9:Show();
--Cooking
AtlasLootMenuItem_11_Name:SetText(AL["Cooking"]);
@@ -1027,35 +1027,3 @@ function AtlasLoot_CookingMenu()
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Cooking"]);
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
end
function AtlasLoot_MiningMenu()
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();
--Mining
AtlasLootMenuItem_2_Name:SetText(AL["Mining"]);
AtlasLootMenuItem_2_Extra:SetText("");
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Mining");
AtlasLootMenuItem_2.lootpage = "Mining1";
AtlasLootMenuItem_2:Show();
--Smelting
AtlasLootMenuItem_3_Name:SetText(AL["Smelting"]);
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Spell_Fire_FlameBlades");
AtlasLootMenuItem_3.lootpage = "Smelting1";
AtlasLootMenuItem_3:Show();
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
end
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Mining"]);
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
end