refactor menu list slightly

This commit is contained in:
Spit
2025-10-02 02:03:42 +03:00
parent 26babdb5ce
commit 8bba283afa
5 changed files with 130 additions and 149 deletions
+1 -29
View File
@@ -66,7 +66,7 @@ function AtlasLoot_CraftingMenu()
AtlasLootMenuItem_11_Name:SetText(AL["Cooking"]);
AtlasLootMenuItem_11_Extra:SetText("");
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
AtlasLootMenuItem_11.lootpage="COOKINGMENU";
AtlasLootMenuItem_11.lootpage="CookingApprentice1";
AtlasLootMenuItem_11:Show();
--First Aid
AtlasLootMenuItem_12_Name:SetText(AL["First Aid"]);
@@ -862,34 +862,6 @@ function AtlasLoot_TailoringMenu()
AtlasLootMenuItem_19:Show();
end
function AtlasLoot_CookingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Cooking"])
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Cooking"]..": "..AL["Apprentice"]);
AtlasLootMenuItem_2_Extra:SetText("");
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
AtlasLootMenuItem_2.lootpage = "CookingApprentice1";
AtlasLootMenuItem_2:Show();
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Cooking"]..": "..AL["Journeyman"]);
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
AtlasLootMenuItem_3.lootpage = "CookingJourneyman1";
AtlasLootMenuItem_3:Show();
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Cooking"]..": "..AL["Expert"]);
AtlasLootMenuItem_4_Extra:SetText("");
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
AtlasLootMenuItem_4.lootpage="CookingExpert1";
AtlasLootMenuItem_4:Show();
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Cooking"]..": "..AL["Artisan"]);
AtlasLootMenuItem_5_Extra:SetText("");
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_Food_15");
AtlasLootMenuItem_5.lootpage="CookingArtisan1";
AtlasLootMenuItem_5:Show();
end
function AtlasLoot_JewelcraftingMenu()
AtlasLoot_PrepMenu("CRAFTINGMENU", AL["Jewelcrafting"])
--Apprentice