Sort Enchants By Slot

* Sort Enchants By Slot
* Many missing things added
This commit is contained in:
Lexie
2024-08-30 10:45:48 -07:00
parent dbc0b7c223
commit f8d6fb9b58
7 changed files with 448 additions and 10 deletions
+9
View File
@@ -3225,6 +3225,15 @@ AtlasLoot_HewdropDown_SubTables = {
{ AtlasLoot_TableNames["EnchantingJourneyman1"][1], "EnchantingJourneyman1" },
{ AtlasLoot_TableNames["EnchantingExpert1"][1], "EnchantingExpert1" },
{ AtlasLoot_TableNames["EnchantingArtisan1"][1], "EnchantingArtisan1" },
{ AtlasLoot_TableNames["EnchantingCloak1"][1], "EnchantingCloak1" },
{ AtlasLoot_TableNames["EnchantingChest1"][1], "EnchantingChest1" },
{ AtlasLoot_TableNames["EnchantingBracer1"][1], "EnchantingBracer1" },
{ AtlasLoot_TableNames["EnchantingGlove1"][1], "EnchantingGlove1" },
{ AtlasLoot_TableNames["EnchantingBoots1"][1], "EnchantingBoots1" },
{ AtlasLoot_TableNames["Enchanting2HWeapon1"][1], "Enchanting2HWeapon1" },
{ AtlasLoot_TableNames["EnchantingWeapon1"][1], "EnchantingWeapon1" },
{ AtlasLoot_TableNames["EnchantingShield1"][1], "EnchantingShield1" },
{ AtlasLoot_TableNames["EnchantingMisc1"][1], "EnchantingMisc1" },
},
["Engineering"] = {
{ AtlasLoot_TableNames["EngineeringApprentice1"][1], "EngineeringApprentice1" },
+99 -1
View File
@@ -4469,6 +4469,8 @@ AtlasLoot_ButtonRegistry = {
Title = AL["Enchanting"] .. ": " .. AL["Apprentice"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingMisc1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Misc"];
Next_Page = "EnchantingJourneyman1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Journeyman"];
};
@@ -4532,6 +4534,89 @@ AtlasLoot_ButtonRegistry = {
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingArtisan2";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Artisan"];
Next_Page = "EnchantingCloak1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Cloak"];
};
["EnchantingCloak1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Cloak"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingArtisan3";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Artisan"];
Next_Page = "EnchantingChest1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Chest"];
};
["EnchantingChest1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Chest"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingCloak1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Cloak"];
Next_Page = "EnchantingBracer1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Bracer"];
};
["EnchantingBracer1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Bracer"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingChest1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Chest"];
Next_Page = "EnchantingGlove1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Glove"];
};
["EnchantingGlove1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Glove"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingBracer1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Bracer"];
Next_Page = "EnchantingBoots1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Boots"];
};
["EnchantingBoots1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Boots"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingGlove1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Glove"];
Next_Page = "Enchanting2HWeapon1";
Next_Title = AL["Enchanting"] .. ": " .. AL["2H Weapon"];
};
["Enchanting2HWeapon1"] = {
Title = AL["Enchanting"] .. ": " .. AL["2H Weapon"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingBoots1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Boots"];
Next_Page = "EnchantingWeapon1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Weapon"];
};
["EnchantingWeapon1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Weapon"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "Enchanting2HWeapon1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["2H Weapon"];
Next_Page = "EnchantingShield1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Shield"];
};
["EnchantingShield1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Shield"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingWeapon1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Weapon"];
Next_Page = "EnchantingMisc1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Misc"];
};
["EnchantingMisc1"] = {
Title = AL["Enchanting"] .. ": " .. AL["Misc"];
Back_Page = "ENCHANTINGMENU";
Back_Title = AL["Enchanting"];
Prev_Page = "EnchantingShield1";
Prev_Title = AL["Enchanting"] .. ": " .. AL["Shield"];
Next_Page = "EnchantingApprentice1";
Next_Title = AL["Enchanting"] .. ": " .. AL["Apprentice"];
};
["EngineeringApprentice1"] = {
Title = AL["Engineering"] .. ": " .. AL["Apprentice"];
@@ -4746,6 +4831,17 @@ AtlasLoot_ButtonRegistry = {
Title = AL["Tailoring"] .. ": " .. AL["Apprentice"];
Back_Page = "TAILORINGMENU";
Back_Title = AL["Tailoring"];
Prev_Page = "TailoringArtisan5";
Prev_Title = AL["Tailoring"] .. ": " .. AL["Artisan"];
Next_Page = "TailoringApprentice2";
Next_Title = AL["Tailoring"] .. ": " .. AL["Journeyman"];
};
["TailoringApprentice2"] = {
Title = AL["Tailoring"] .. ": " .. AL["Apprentice"];
Back_Page = "TAILORINGMENU";
Back_Title = AL["Tailoring"];
Prev_Page = "TailoringApprentice1";
Prev_Title = AL["Tailoring"] .. ": " .. AL["Apprentice"];
Next_Page = "TailoringJourneyman1";
Next_Title = AL["Tailoring"] .. ": " .. AL["Journeyman"];
};
@@ -4753,7 +4849,7 @@ AtlasLoot_ButtonRegistry = {
Title = AL["Tailoring"] .. ": " .. AL["Journeyman"];
Back_Page = "TAILORINGMENU";
Back_Title = AL["Tailoring"];
Prev_Page = "TailoringApprentice1";
Prev_Page = "TailoringApprentice2";
Prev_Title = AL["Tailoring"] .. ": " .. AL["Apprentice"];
Next_Page = "TailoringJourneyman2";
Next_Title = AL["Tailoring"] .. ": " .. AL["Journeyman"];
@@ -4827,6 +4923,8 @@ AtlasLoot_ButtonRegistry = {
Back_Title = AL["Tailoring"];
Prev_Page = "TailoringArtisan4";
Prev_Title = AL["Tailoring"] .. ": " .. AL["Artisan"];
Next_Page = "TailoringApprentice1";
Next_Title = AL["Tailoring"] .. ": " .. AL["Apprentice"];
};
["CookingApprentice1"] = {
Title = AL["Cooking"] .. ": " .. AL["Apprentice"];
+60 -6
View File
@@ -421,24 +421,78 @@ function AtlasLoot_EnchantingMenu()
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_2.lootpage = "EnchantingApprentice1";
AtlasLootMenuItem_2:Show();
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Enchanting"]..": "..AL["Expert"]);
AtlasLootMenuItem_4_Extra:SetText("");
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_4.lootpage="EnchantingExpert1";
AtlasLootMenuItem_4:Show();
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Enchanting"]..": "..AL["Journeyman"]);
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_3.lootpage = "EnchantingJourneyman1";
AtlasLootMenuItem_3:Show();
--Expert
AtlasLootMenuItem_4_Name:SetText(AL["Enchanting"]..": "..AL["Expert"]);
AtlasLootMenuItem_4_Extra:SetText("");
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_4.lootpage="EnchantingExpert1";
AtlasLootMenuItem_4:Show();
--Artisan
AtlasLootMenuItem_5_Name:SetText(AL["Enchanting"]..": "..AL["Artisan"]);
AtlasLootMenuItem_5_Extra:SetText("");
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_5.lootpage="EnchantingArtisan1";
AtlasLootMenuItem_5:Show();
--By Slot, Cloak
AtlasLootMenuItem_7_Name:SetText(AL["Enchanting"]..": "..AL["Cloak"]);
AtlasLootMenuItem_7_Extra:SetText("");
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_7.lootpage="EnchantingCloak1";
AtlasLootMenuItem_7:Show();
--By Slot, Chest
AtlasLootMenuItem_8_Name:SetText(AL["Enchanting"]..": "..AL["Chest"]);
AtlasLootMenuItem_8_Extra:SetText("");
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_8.lootpage="EnchantingChest1";
AtlasLootMenuItem_8:Show();
--By Slot, Bracer
AtlasLootMenuItem_9_Name:SetText(AL["Enchanting"]..": "..AL["Bracer"]);
AtlasLootMenuItem_9_Extra:SetText("");
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_9.lootpage="EnchantingBracer1";
AtlasLootMenuItem_9:Show();
--By Slot, Glove
AtlasLootMenuItem_10_Name:SetText(AL["Enchanting"]..": "..AL["Glove"]);
AtlasLootMenuItem_10_Extra:SetText("");
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_10.lootpage="EnchantingGlove1";
AtlasLootMenuItem_10:Show();
--By Slot, Boots
AtlasLootMenuItem_11_Name:SetText(AL["Enchanting"]..": "..AL["Boots"]);
AtlasLootMenuItem_11_Extra:SetText("");
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_11.lootpage="EnchantingBoots1";
AtlasLootMenuItem_11:Show();
--By Slot, 2H Weapon
AtlasLootMenuItem_12_Name:SetText(AL["Enchanting"]..": "..AL["2H Weapon"]);
AtlasLootMenuItem_12_Extra:SetText("");
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_12.lootpage="Enchanting2HWeapon1";
AtlasLootMenuItem_12:Show();
--By Slot, Weapon
AtlasLootMenuItem_13_Name:SetText(AL["Enchanting"]..": "..AL["Weapon"]);
AtlasLootMenuItem_13_Extra:SetText("");
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_13.lootpage="EnchantingWeapon1";
AtlasLootMenuItem_13:Show();
--By Slot, Shield
AtlasLootMenuItem_14_Name:SetText(AL["Enchanting"]..": "..AL["Shield"]);
AtlasLootMenuItem_14_Extra:SetText("");
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_14.lootpage="EnchantingShield1";
AtlasLootMenuItem_14:Show();
--By Slot, Misc
AtlasLootMenuItem_14_Name:SetText(AL["Enchanting"]..": "..AL["Misc"]);
AtlasLootMenuItem_14_Extra:SetText("");
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Trade_Engraving");
AtlasLootMenuItem_14.lootpage="EnchantingMisc1";
AtlasLootMenuItem_14:Show();
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
end
+44
View File
@@ -1483,6 +1483,20 @@ GetSpellInfoVanillaDB = {
[4] = {17194},
},
},
[45054] = {
["name"] = "Cooking: Maritime Gumbo",
["requires"] = AL["Cooking Fire"],
["tools"] = "",
["castTime"] = 3,
["text"] = "",
["craftItem"] = 30818,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {2674},
[2] = {159},
},
},
[6414] = {
["name"] = "Cooking: Roasted Kodo Meat",
["requires"] = AL["Cooking Fire"],
@@ -3068,6 +3082,21 @@ GetSpellInfoVanillaDB = {
[2] = {2321},
},
},
[45066] = {
["name"] = "Tailoring: Gloves of Manathirst",
["requires"] = "",
["tools"] = "",
["castTime"] = 8,
["text"] = "",
["craftItem"] = 51256,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {2996, 3},
[2] = {2321, 2},
[3] = {6260, 3},
},
},
[3845] = {
["name"] = "Tailoring: Soft-soled Linen Boots",
["requires"] = "",
@@ -9201,6 +9230,21 @@ GetSpellInfoVanillaDB = {
[2] = {2589},
},
},
[45057] = {
["name"] = "Engineering: Unstable Mining Dynamite",
["requires"] = "",
["tools"] = "",
["castTime"] = 5.125,
["text"] = "",
["craftItem"] = 51268,
["craftQuantityMin"] = 1,
["craftQuantityMax"] = 3,
["reagents"] = {
[1] = {4359, 4},
[2] = {2589, 2},
[3] = {4357, 2},
},
},
[3928] = {
["name"] = "Engineering: Mechanical Squirrel",
["requires"] = AL["Anvil"],