From 64e907db6eae411c937613d6b8e4e442cb3b26e7 Mon Sep 17 00:00:00 2001 From: Spit <19otari98@gmail.com> Date: Wed, 25 Mar 2026 14:05:25 +0300 Subject: [PATCH] new dungeons --- Core/AtlasLoot.lua | 107 +++++++----- Core/ButtonRegistry.lua | 66 ++++++++ Core/Dungeons.lua | 335 +++++++++---------------------------- Database/Instances.lua | 94 ++++++++++- Database/TableRegister.lua | 28 ++++ Locale/locale.en.lua | 72 ++------ 6 files changed, 343 insertions(+), 359 deletions(-) diff --git a/Core/AtlasLoot.lua b/Core/AtlasLoot.lua index 3333540..d795378 100644 --- a/Core/AtlasLoot.lua +++ b/Core/AtlasLoot.lua @@ -116,53 +116,55 @@ AtlasLoot_MenuList = { -- Entries have the text to display, loot table or sub table to link to and if the link is to a loot table or sub table AtlasLoot_HewdropDown = { {[AL["Dungeons & Raids"]] = { - {{ AL["[13-18] Ragefire Chasm"], "RagefireChasm", "Submenu" },}, - {{ AL["[17-24] Wailing Caverns"], "WailingCaverns", "Submenu" },}, - {{ AL["[17-24] The Deadmines"], "Deadmines", "Submenu" },}, - {{ AL["[22-30] Shadowfang Keep"], "ShadowfangKeep", "Submenu" },}, - {{ AL["[23-32] Blackfathom Deeps"], "BlackfathomDeeps", "Submenu" },}, - {{ AL["[22-30] The Stockade"], "TheStockade", "Submenu" },}, - {{ AL["[26-35] Dragonmaw Retreat"], "DragonmawRetreat", "Submenu" },}, - {{ AL["[29-38] Gnomeregan"], "Gnomeregan", "Submenu" },}, - {{ AL["[29-38] Razorfen Kraul"], "RazorfenKraul", "Submenu" },}, - {{ AL["[32-38] The Crescent Grove"], "TheCrescentGrove", "Submenu" },}, - {[ AL["[27-45] Scarlet Monastery"]] = { - { AL["[27-36] Scarlet Monastery (Graveyard)"], "SMGraveyard", "Submenu" }, - { AL["[28-39] Scarlet Monastery (Library)"], "SMLibrary", "Submenu" }, - { AL["[32-41] Scarlet Monastery (Armory)"], "SMArmory", "Submenu" }, - { AL["[35-45] Scarlet Monastery (Cathedral)"], "SMCathedral", "Submenu" }, + {{ WHITE.."[13-18]|r "..AL["Ragefire Chasm"], "RagefireChasm", "Submenu" },}, + {{ WHITE.."[13-20]|r "..AL["Frostmane Hollow"], "FrostmaneHollow", "Submenu" },}, + {{ WHITE.."[17-24]|r "..AL["Wailing Caverns"], "WailingCaverns", "Submenu" },}, + {{ WHITE.."[17-24]|r "..AL["The Deadmines"], "Deadmines", "Submenu" },}, + {{ WHITE.."[22-30]|r "..AL["Shadowfang Keep"], "ShadowfangKeep", "Submenu" },}, + {{ WHITE.."[23-32]|r "..AL["Blackfathom Deeps"], "BlackfathomDeeps", "Submenu" },}, + {{ WHITE.."[25-33]|r "..AL["Windhorn Canyon"], "WindhornCanyon", "Submenu" },}, + {{ WHITE.."[22-30]|r "..AL["The Stockade"], "TheStockade", "Submenu" },}, + {{ WHITE.."[26-35]|r "..AL["Dragonmaw Retreat"], "DragonmawRetreat", "Submenu" },}, + {{ WHITE.."[29-38]|r "..AL["Gnomeregan"], "Gnomeregan", "Submenu" },}, + {{ WHITE.."[29-38]|r "..AL["Razorfen Kraul"], "RazorfenKraul", "Submenu" },}, + {{ WHITE.."[32-38]|r "..AL["The Crescent Grove"], "TheCrescentGrove", "Submenu" },}, + {[ WHITE.."[27-45]|r "..AL["Scarlet Monastery"]] = { + { WHITE.."[27-36]|r "..AL["Scarlet Monastery (Graveyard)"], "SMGraveyard", "Submenu" }, + { WHITE.."[28-39]|r "..AL["Scarlet Monastery (Library)"], "SMLibrary", "Submenu" }, + { WHITE.."[32-41]|r "..AL["Scarlet Monastery (Armory)"], "SMArmory", "Submenu" }, + { WHITE.."[35-45]|r "..AL["Scarlet Monastery (Cathedral)"], "SMCathedral", "Submenu" }, },}, - {{ AL["[32-44] Stormwrought Ruins"], "StormwroughtRuins", "Submenu" },}, - {{ AL["[36-46] Razorfen Downs"], "RazorfenDowns", "Submenu" },}, - {{ AL["[40-51] Uldaman"], "Uldaman", "Submenu" },}, - {{ AL["[42-50] Gilneas City"], "GilneasCity", "Submenu" },}, - {{ AL["[45-55] Maraudon"], "Maraudon", "Submenu" },}, - {{ AL["[44-54] Zul'Farrak"], "ZulFarrak", "Submenu" },}, - {{ AL["[50-60] The Sunken Temple"], "SunkenTemple", "Submenu" },}, - {{ AL["[50-60] Hateforge Quarry"], "HateforgeQuarry", "Submenu" },}, - {{ AL["[52-60] Blackrock Depths"], "BlackrockDepths", "Submenu" },}, - {[AL["[55-60] Dire Maul"]] = { - { AL["[55-60] Dire Maul (East)"], "DireMaulEast", "Submenu" }, - { AL["[57-60] Dire Maul (West)"], "DireMaulWest", "Submenu" }, - { AL["[57-60] Dire Maul (North)"], "DireMaulNorth", "Submenu" }, + {{ WHITE.."[32-44]|r "..AL["Stormwrought Ruins"], "StormwroughtRuins", "Submenu" },}, + {{ WHITE.."[36-46]|r "..AL["Razorfen Downs"], "RazorfenDowns", "Submenu" },}, + {{ WHITE.."[40-51]|r "..AL["Uldaman"], "Uldaman", "Submenu" },}, + {{ WHITE.."[42-50]|r "..AL["Gilneas City"], "GilneasCity", "Submenu" },}, + {{ WHITE.."[45-55]|r "..AL["Maraudon"], "Maraudon", "Submenu" },}, + {{ WHITE.."[44-54]|r "..AL["Zul'Farrak"], "ZulFarrak", "Submenu" },}, + {{ WHITE.."[50-60]|r "..AL["The Sunken Temple"], "SunkenTemple", "Submenu" },}, + {{ WHITE.."[50-60]|r "..AL["Hateforge Quarry"], "HateforgeQuarry", "Submenu" },}, + {{ WHITE.."[52-60]|r "..AL["Blackrock Depths"], "BlackrockDepths", "Submenu" },}, + {[ WHITE.."[55-60]|r "..AL["Dire Maul"]] = { + { WHITE.."[55-60]|r "..AL["Dire Maul (East)"], "DireMaulEast", "Submenu" }, + { WHITE.."[57-60]|r "..AL["Dire Maul (West)"], "DireMaulWest", "Submenu" }, + { WHITE.."[57-60]|r "..AL["Dire Maul (North)"], "DireMaulNorth", "Submenu" }, },}, - {{ AL["[58-60] Scholomance"], "Scholomance", "Submenu" },}, - {{ AL["[58-60] Stratholme"], "Stratholme", "Submenu" },}, - {{ AL["[55-60] Lower Blackrock Spire"], "LowerBlackrock", "Submenu" },}, - {{ AL["[58-60] Upper Blackrock Spire"], "UpperBlackrock", "Submenu" },}, - {{ AL["[58-60] Karazhan Crypt"], "KarazhanCrypt", "Submenu" },}, - {{ AL["[60] Caverns of Time: Black Morass"], "CavernsOfTimeBlackMorass", "Submenu" },}, - {{ AL["[60] Stormwind Vault"], "StormwindVault", "Submenu" },}, - {{ AL["[RAID] Zul'Gurub"], "ZulGurub", "Submenu" },}, - {{ AL["[RAID] Ruins of Ahn'Qiraj"], "RuinsofAQ", "Submenu" },}, - {{ AL["[RAID] Molten Core"], "MoltenCore", "Submenu" },}, - {{ AL["[RAID] Onyxia's Lair"], "Onyxia", "Submenu" },}, - {{ AL["[RAID] Lower Karazhan Halls"], "LowerKara", "Submenu" },}, - {{ AL["[RAID] Blackwing Lair"], "BlackwingLair", "Submenu" },}, - {{ AL["[RAID] Emerald Sanctum"], "EmeraldSanctum", "Submenu" },}, - {{ AL["[RAID] Temple of Ahn'Qiraj"], "TempleofAQ", "Submenu" },}, - {{ AL["[RAID] Naxxramas"], "Naxxramas", "Submenu" },}, - {{ AL["[RAID] Upper Karazhan Halls"], "UpperKara", "Submenu" },}, + {{ WHITE.."[58-60]|r "..AL["Scholomance"], "Scholomance", "Submenu" },}, + {{ WHITE.."[58-60]|r "..AL["Stratholme"], "Stratholme", "Submenu" },}, + {{ WHITE.."[55-60]|r "..AL["Lower Blackrock Spire"], "LowerBlackrock", "Submenu" },}, + {{ WHITE.."[58-60]|r "..AL["Upper Blackrock Spire"], "UpperBlackrock", "Submenu" },}, + {{ WHITE.."[58-60]|r "..AL["Karazhan Crypt"], "KarazhanCrypt", "Submenu" },}, + {{ WHITE.."[60]|r "..AL["Caverns of Time: Black Morass"], "CavernsOfTimeBlackMorass", "Submenu" },}, + {{ WHITE.."[60]|r "..AL["Stormwind Vault"], "StormwindVault", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Zul'Gurub"], "ZulGurub", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Ruins of Ahn'Qiraj"], "RuinsofAQ", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Molten Core"], "MoltenCore", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Onyxia's Lair"], "Onyxia", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Lower Karazhan Halls"], "LowerKara", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Blackwing Lair"], "BlackwingLair", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Emerald Sanctum"], "EmeraldSanctum", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Temple of Ahn'Qiraj"], "TempleofAQ", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Naxxramas"], "Naxxramas", "Submenu" },}, + {{ RED.."[RAID]|r "..AL["Upper Karazhan Halls"], "UpperKara", "Submenu" },}, }, }, {[AL["World Bosses"]] = { @@ -281,6 +283,21 @@ AtlasLoot_HewdropDown = { -- This table defines all the subtables needed for the full menu -- Each sub table entry contains the text entry and the loot table that goes wih it AtlasLoot_HewdropDown_SubTables = { + ["FrostmaneHollow"] = { + { AL["Tan'sha the Sleek"], "FMHTansha" }, + { AL["Kan'za the Seer"], "FMHKanza" }, + { AL["Battlemaster Ubukaz"], "FMHBattlemaster" }, + { AL["Hailar the Frigid"], "FMHHailar" }, + }, + ["WindhornCanyon"] = { + { AL["Pathun Duskhide"], "WHCPathun" }, + { AL["Ahgk'tos the Pure"], "WHCAhgktos" }, + { AL["Ambassador Vortalus"], "WHCAmbassador" }, + { AL["Walgan Bloodcaller"], "WHCWalgan" }, + { AL["Bonespeaker Narlgom"], "WHCBonespeaker" }, + { AL["Prophet Stormhoof"], "WHCProphet" }, + { AL["Chieftain Shalk Blackwind"], "WHCChieftan" }, + }, ["HateforgeQuarry"] = { { AL["High Foreman Bargul Blackhammer"], "HQHighForemanBargulBlackhammer" }, { AL["Engineer Figgles"], "HQEngineerFiggles" }, diff --git a/Core/ButtonRegistry.lua b/Core/ButtonRegistry.lua index 1fe2edb..ce1c44b 100644 --- a/Core/ButtonRegistry.lua +++ b/Core/ButtonRegistry.lua @@ -11,6 +11,72 @@ AtlasLoot_ButtonRegistry = { Prev_Page = "DUNGEONSMENU1"; }; + -- Frostmane Hollow + ["FMHTansha"] = { + Title = AL["Tan'sha the Sleek"], + Next_Page = "FMHKanza", + Back_Page = "DUNGEONSMENU1" + }; + ["FMHKanza"] = { + Title = AL["Kan'za the Seer"], + Prev_Page = "FMHTansha", + Next_Page = "FMHBattlemaster", + Back_Page = "DUNGEONSMENU1" + }; + ["FMHBattlemaster"] = { + Title = AL["Battlemaster Ubukaz"], + Prev_Page = "FMHKanza", + Next_Page = "FMHHailar", + Back_Page = "DUNGEONSMENU1" + }; + ["FMHHailar"] = { + Title = AL["Hailar the Frigid"], + Prev_Page = "FMHBattlemaster", + Back_Page = "DUNGEONSMENU1" + }; + + -- Windhorn Canyon + ["WHCPathun"] = { + Title = AL["Pathun Duskhide"], + Next_Page = "WHCAhgktos", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCAhgktos"] = { + Title = AL["Ahgk'tos the Pure"], + Prev_Page = "WHCPathun", + Next_Page = "WHCAmbassador", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCAmbassador"] = { + Title = AL["Ambassador Vortalus"], + Prev_Page = "WHCAhgktos", + Next_Page = "WHCWalgan", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCWalgan"] = { + Title = AL["Walgan Bloodcaller"], + Prev_Page = "WHCAmbassador", + Next_Page = "WHCBonespeaker", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCBonespeaker"] = { + Title = AL["Bonespeaker Narlgom"], + Prev_Page = "WHCWalgan", + Next_Page = "WHCProphet", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCProphet"] = { + Title = AL["Prophet Stormhoof"], + Prev_Page = "WHCBonespeaker", + Next_Page = "WHCChieftan", + Back_Page = "DUNGEONSMENU1", + }; + ["WHCChieftan"] = { + Title = AL["Chieftain Shalk Blackwind"], + Prev_Page = "WHCProphet", + Back_Page = "DUNGEONSMENU1", + }; + -- Dragonmaw Retreat ["DMRGowlfang"] = { Title = AL["Gowlfang"], diff --git a/Core/Dungeons.lua b/Core/Dungeons.lua index 1260d63..485a453 100644 --- a/Core/Dungeons.lua +++ b/Core/Dungeons.lua @@ -1,273 +1,92 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot"); +local _G = getfenv(0) +local buttonsPerPage = 30 +local ButtonsInfo1 +local ButtonsInfo2 +local WHITE = "|cffFFFFFF" +local RED = "|cffff0000" function AtlasLoot_DungeonsMenu1() + if not ButtonsInfo1 then + ButtonsInfo1 = { + { name = WHITE.."[13-18]|r "..AL["Ragefire Chasm"], extra = AL["Orgrimmar"], lootpage = "RFCTaragaman", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[13-20]|r "..AL["Frostmane Hollow"], extra = AL["Dun Morogh"], lootpage = "FMHTansha", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[17-24]|r "..AL["Wailing Caverns"], extra = AL["Barrens"], lootpage = "WCLordCobrahn", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[17-24]|r "..AL["The Deadmines"], extra = AL["Westfall"], lootpage = "DMRhahkZor", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[22-30]|r "..AL["Shadowfang Keep"], extra = AL["Silverpine Forest"], lootpage = "SFKRethilgore", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[22-30]|r "..AL["The Stockade"], extra = AL["Stormwind"], lootpage = "SWStTargorr", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[23-32]|r "..AL["Blackfathom Deeps"], extra = AL["Ashenvale"], lootpage = "BFDGhamoora", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[25-33]|r "..AL["Windhorn Canyon"], extra = AL["Thousand Needles"], lootpage = "WHCPathun", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[26-35]|r "..AL["Dragonmaw Retreat"], extra = AL["Wetlands"], lootpage = "DMRGowlfang", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[29-38]|r "..AL["Gnomeregan"], extra = AL["Dun Morogh"], lootpage = "GnGrubbis", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[29-38]|r "..AL["Razorfen Kraul"], extra = AL["Barrens"], lootpage = "RFKAggem", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[32-38]|r "..AL["The Crescent Grove"], extra = AL["Ashenvale"], lootpage = "TCGGrovetenderEngryss", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[27-36]|r "..AL["Scarlet Monastery (Graveyard)"], extra = AL["Tirisfal Glades"], lootpage = "SMVishas", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[28-39]|r "..AL["Scarlet Monastery (Library)"], extra = AL["Tirisfal Glades"], lootpage = "SMHoundmasterLoksey", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[32-41]|r "..AL["Scarlet Monastery (Armory)"], extra = AL["Tirisfal Glades"], lootpage = "SMHerod", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[35-45]|r "..AL["Scarlet Monastery (Cathedral)"], extra = AL["Tirisfal Glades"], lootpage = "SMFairbanks", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[32-44]|r "..AL["Stormwrought Ruins"], extra = AL["Balor"], lootpage = "SWROronok", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[36-46]|r "..AL["Razorfen Downs"], extra = AL["Barrens"], lootpage = "RFDTutenkash", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[40-51]|r "..AL["Uldaman"], extra = AL["Badlands"], lootpage = "UldBaelog", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[42-50]|r "..AL["Gilneas City"], extra = AL["Gilneas"], lootpage = "GCMatthiasHoltz", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[45-55]|r "..AL["Maraudon"], extra = AL["Desolace"], lootpage = "MaraNoxxion", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[44-54]|r "..AL["Zul'Farrak"], extra = AL["Tanaris"], lootpage = "ZFAntusul", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[50-60]|r "..AL["The Sunken Temple"], extra = AL["Swamp of Sorrows"], lootpage = "STBalconyMinibosses", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[50-60]|r "..AL["Hateforge Quarry"], extra = AL["Burning Steppes"], lootpage = "HQHighForemanBargulBlackhammer", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[52-60]|r "..AL["Blackrock Depths"], extra = AL["Burning Steppes"], lootpage = "BRDLordRoccor", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[55-60]|r "..AL["Dire Maul (East)"], extra = AL["Feralas"], lootpage = "DMEPusillin", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[57-60]|r "..AL["Dire Maul (West)"], extra = AL["Feralas"], lootpage = "DMWTendrisWarpwood", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[57-60]|r "..AL["Dire Maul (North)"], extra = AL["Feralas"], lootpage = "DMNGuardMoldar", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[58-60]|r "..AL["Scholomance"], extra = AL["Western Plaguelands"], lootpage = "SCHOLOKirtonostheHerald", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[58-60]|r "..AL["Stratholme"], extra = AL["Eastern Plaguelands"], lootpage = "STRATSkull", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + } + end AtlasLoot_PrepMenu(nil, AL["Dungeons & Raids"]) AtlasLootCharDB.LastBoss = "DUNGEONSMENU1" AtlasLootCharDB.LastBossText = AL["Dungeons & Raids"] AtlasLootItemsFrame_NEXT:Show() - --RFC - AtlasLootMenuItem_1_Name:SetText(AL["[13-18] Ragefire Chasm"]); - AtlasLootMenuItem_1_Extra:SetText(AL["Orgrimmar"]); - AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_1.lootpage="RFCTaragaman"; - AtlasLootMenuItem_1:Show(); - --WC - AtlasLootMenuItem_2_Name:SetText(AL["[17-24] Wailing Caverns"]); - AtlasLootMenuItem_2_Extra:SetText(AL["Barrens"]); - AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_2.lootpage="WCLordCobrahn"; - AtlasLootMenuItem_2:Show(); - --DM - AtlasLootMenuItem_3_Name:SetText(AL["[17-24] The Deadmines"]); - AtlasLootMenuItem_3_Extra:SetText(AL["Westfall"]); - AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_3.lootpage="DMRhahkZor"; - AtlasLootMenuItem_3:Show(); - --SFK - AtlasLootMenuItem_4_Name:SetText(AL["[22-30] Shadowfang Keep"]); - AtlasLootMenuItem_4_Extra:SetText(AL["Silverpine Forest"]); - AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_4.lootpage="SFKRethilgore"; - AtlasLootMenuItem_4:Show(); - --BFD - AtlasLootMenuItem_5_Name:SetText(AL["[23-32] Blackfathom Deeps"]); - AtlasLootMenuItem_5_Extra:SetText(AL["Ashenvale"]); - AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_5.lootpage="BFDGhamoora"; - AtlasLootMenuItem_5:Show(); - --Stockades - AtlasLootMenuItem_6_Name:SetText(AL["[22-30] The Stockade"]); - AtlasLootMenuItem_6_Extra:SetText(AL["Stormwind"]); - AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_6.lootpage="SWStTargorr"; - AtlasLootMenuItem_6:Show(); - -- Dragonmaw Retreat - AtlasLootMenuItem_7_Name:SetText(AL["[26-35] Dragonmaw Retreat"]); - AtlasLootMenuItem_7_Extra:SetText(AL["Wetlands"]); - AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_7.lootpage="DMRGowlfang"; - AtlasLootMenuItem_7:Show(); - --Gnomer - AtlasLootMenuItem_8_Name:SetText(AL["[29-38] Gnomeregan"]); - AtlasLootMenuItem_8_Extra:SetText(AL["Dun Morogh"]); - AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_8.lootpage="GnGrubbis"; - AtlasLootMenuItem_8:Show(); - --RFK - AtlasLootMenuItem_9_Name:SetText(AL["[29-38] Razorfen Kraul"]); - AtlasLootMenuItem_9_Extra:SetText(AL["Barrens"]); - AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_9.lootpage="RFKAggem"; - AtlasLootMenuItem_9:Show(); - --Crescent Grove - AtlasLootMenuItem_10_Name:SetText(AL["[32-38] The Crescent Grove"]); - AtlasLootMenuItem_10_Extra:SetText(AL["Ashenvale"]); - AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_10.lootpage="TCGGrovetenderEngryss"; - AtlasLootMenuItem_10:Show(); - --SM GY - AtlasLootMenuItem_11_Name:SetText(AL["[27-36] Scarlet Monastery (Graveyard)"]); - AtlasLootMenuItem_11_Extra:SetText(AL["Tirisfal Glades"]); - AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_11.lootpage="SMVishas"; - AtlasLootMenuItem_11:Show(); - --SM Library - AtlasLootMenuItem_12_Name:SetText(AL["[28-39] Scarlet Monastery (Library)"]); - AtlasLootMenuItem_12_Extra:SetText(AL["Tirisfal Glades"]); - AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_12.lootpage="SMHoundmasterLoksey"; - AtlasLootMenuItem_12:Show(); - --SM Armory - AtlasLootMenuItem_13_Name:SetText(AL["[32-41] Scarlet Monastery (Armory)"]); - AtlasLootMenuItem_13_Extra:SetText(AL["Tirisfal Glades"]); - AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_13.lootpage="SMHerod"; - AtlasLootMenuItem_13:Show(); - --SM Cathedral - AtlasLootMenuItem_14_Name:SetText(AL["[35-45] Scarlet Monastery (Cathedral)"]); - AtlasLootMenuItem_14_Extra:SetText(AL["Tirisfal Glades"]); - AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_14.lootpage="SMFairbanks"; - AtlasLootMenuItem_14:Show(); - -- Stormwrought Ruins - AtlasLootMenuItem_15_Name:SetText(AL["[32-44] Stormwrought Ruins"]); - AtlasLootMenuItem_15_Extra:SetText(AL["Balor"]); - AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_15.lootpage="SWROronok"; - AtlasLootMenuItem_15:Show(); - --RFD - AtlasLootMenuItem_16_Name:SetText(AL["[36-46] Razorfen Downs"]); - AtlasLootMenuItem_16_Extra:SetText(AL["Barrens"]); - AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_16.lootpage="RFDTutenkash"; - AtlasLootMenuItem_16:Show(); - --Uldaman - AtlasLootMenuItem_17_Name:SetText(AL["[40-51] Uldaman"]); - AtlasLootMenuItem_17_Extra:SetText(AL["Badlands"]); - AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_17.lootpage="UldBaelog"; - AtlasLootMenuItem_17:Show(); - --Gilneas - AtlasLootMenuItem_18_Name:SetText(AL["[42-50] Gilneas City"]); - AtlasLootMenuItem_18_Extra:SetText(AL["Gilneas"]); - AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_18.lootpage="GCMatthiasHoltz"; - AtlasLootMenuItem_18:Show(); - --Mara - AtlasLootMenuItem_19_Name:SetText(AL["[45-55] Maraudon"]); - AtlasLootMenuItem_19_Extra:SetText(AL["Desolace"]); - AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_19.lootpage="MaraNoxxion"; - AtlasLootMenuItem_19:Show(); - --ZF - AtlasLootMenuItem_20_Name:SetText(AL["[44-54] Zul'Farrak"]); - AtlasLootMenuItem_20_Extra:SetText(AL["Tanaris"]); - AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_20.lootpage="ZFAntusul"; - AtlasLootMenuItem_20:Show(); - --ST - AtlasLootMenuItem_21_Name:SetText(AL["[50-60] The Sunken Temple"]); - AtlasLootMenuItem_21_Extra:SetText(AL["Swamp of Sorrows"]); - AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_21.lootpage="STBalconyMinibosses"; - AtlasLootMenuItem_21:Show(); - --HFQ - AtlasLootMenuItem_22_Name:SetText(AL["[50-60] Hateforge Quarry"]); - AtlasLootMenuItem_22_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_22.lootpage="HQHighForemanBargulBlackhammer"; - AtlasLootMenuItem_22:Show(); - --BRD - AtlasLootMenuItem_23_Name:SetText(AL["[52-60] Blackrock Depths"]); - AtlasLootMenuItem_23_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_23.lootpage="BRDLordRoccor"; - AtlasLootMenuItem_23:Show(); - --DME - AtlasLootMenuItem_24_Name:SetText(AL["[55-60] Dire Maul (East)"]); - AtlasLootMenuItem_24_Extra:SetText(AL["Feralas"]); - AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_24.lootpage="DMEPusillin"; - AtlasLootMenuItem_24:Show(); - --DMW - AtlasLootMenuItem_25_Name:SetText(AL["[57-60] Dire Maul (West)"]); - AtlasLootMenuItem_25_Extra:SetText(AL["Feralas"]); - AtlasLootMenuItem_25_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_25.lootpage="DMWTendrisWarpwood"; - AtlasLootMenuItem_25:Show(); - --DMN - AtlasLootMenuItem_26_Name:SetText(AL["[57-60] Dire Maul (North)"]); - AtlasLootMenuItem_26_Extra:SetText(AL["Feralas"]); - AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_26.lootpage="DMNGuardMoldar"; - AtlasLootMenuItem_26:Show(); - --Scholo - AtlasLootMenuItem_27_Name:SetText(AL["[58-60] Scholomance"]); - AtlasLootMenuItem_27_Extra:SetText(AL["Western Plaguelands"]); - AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_27.lootpage="SCHOLOKirtonostheHerald"; - AtlasLootMenuItem_27:Show(); - --Strat - AtlasLootMenuItem_28_Name:SetText(AL["[58-60] Stratholme"]); - AtlasLootMenuItem_28_Extra:SetText(AL["Eastern Plaguelands"]); - AtlasLootMenuItem_28_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_28.lootpage="STRATSkull"; - AtlasLootMenuItem_28:Show(); - --LBRS - AtlasLootMenuItem_29_Name:SetText(AL["[55-60] Lower Blackrock Spire"]); - AtlasLootMenuItem_29_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_29_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_29.lootpage="LBRSSpirestoneButcher"; - AtlasLootMenuItem_29:Show(); - --UBRS - AtlasLootMenuItem_30_Name:SetText(AL["[58-60] Upper Blackrock Spire"]); - AtlasLootMenuItem_30_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_30_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_30.lootpage="UBRSEmberseer"; - AtlasLootMenuItem_30:Show(); + for i = 1, min(buttonsPerPage, getn(ButtonsInfo1)) do + if ButtonsInfo1[i].name then + _G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo1[i].name) + _G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo1[i].extra) + _G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo1[i].icon) + _G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo1[i].lootpage + _G["AtlasLootMenuItem_"..i]:Show() + end + end end function AtlasLoot_DungeonsMenu2() + if not ButtonsInfo2 then + ButtonsInfo2 = { + { name = WHITE.."[55-60]|r "..AL["Lower Blackrock Spire"], extra = AL["Burning Steppes"], lootpage = "LBRSSpirestoneButcher", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[58-60]|r "..AL["Upper Blackrock Spire"], extra = AL["Burning Steppes"], lootpage = "UBRSEmberseer", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[60]|r "..AL["Caverns of Time: Black Morass"], extra = AL["Tanaris"], lootpage = "COTBMChronar", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[60]|r "..AL["Stormwind Vault"], extra = AL["Stormwind"], lootpage = "SWVAszoshGrimflame", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { name = WHITE.."[60]|r "..AL["Karazhan Crypt"], extra = AL["Deadwind Pass"], lootpage = "KCMarrowspike", icon = "Interface\\Icons\\Spell_Arcane_PortalIronForge" }, + { }, + { name = RED.."[RAID]|r "..AL["Zul'Gurub"], extra = AL["Stranglethorn Vale"], lootpage = "ZGJeklik", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Ruins of Ahn'Qiraj"], extra = AL["Silithus"], lootpage = "AQ20Kurinnaxx", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Onyxia's Lair"], extra = AL["Dustwallow Marsh"], lootpage = "Axelus", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Lower Karazhan Halls"], extra = AL["Deadwind Pass"], lootpage = "LKHRolfen", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Blackwing Lair"], extra = AL["Burning Steppes"], lootpage = "BWLRazorgore", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Emerald Sanctum"], extra = AL["Hyjal"], lootpage = "ESErennius", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Temple of Ahn'Qiraj"], extra = AL["Silithus"], lootpage = "AQ40Skeram", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Naxxramas"], extra = AL["Eastern Plaguelands"], lootpage = "NAXPatchwerk", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + { name = RED.."[RAID]|r "..AL["Upper Karazhan Halls"], extra = AL["Deadwind Pass"], lootpage = "UKHGnarlmoon", icon = "Interface\\Icons\\Spell_Arcane_PortalOrgrimmar" }, + } + end AtlasLoot_PrepMenu(nil, AL["Dungeons & Raids"]) AtlasLootCharDB.LastBoss = "DUNGEONSMENU2" AtlasLootCharDB.LastBossText = AL["Dungeons & Raids"] AtlasLootItemsFrame_PREV:Show() - --Kara crypt - AtlasLootMenuItem_1_Name:SetText(AL["[58-60] Karazhan Crypt"]); - AtlasLootMenuItem_1_Extra:SetText(AL["Deadwind Pass"]); - AtlasLootMenuItem_1_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_1.lootpage="KCMarrowspike"; - AtlasLootMenuItem_1:Show() - --CoT:BM - AtlasLootMenuItem_2_Name:SetText(AL["[60] Caverns of Time: Black Morass"]); - AtlasLootMenuItem_2_Extra:SetText(AL["Tanaris"]); - AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_2.lootpage="COTBMChronar"; - AtlasLootMenuItem_2:Show() - --SWV - AtlasLootMenuItem_3_Name:SetText(AL["[60] Stormwind Vault"]); - AtlasLootMenuItem_3_Extra:SetText(AL["Stormwind"]); - AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalIronForge"); - AtlasLootMenuItem_3.lootpage="SWVAszoshGrimflame"; - AtlasLootMenuItem_3:Show(); - --ZG - AtlasLootMenuItem_5_Name:SetText(AL["[RAID] Zul'Gurub"]); - AtlasLootMenuItem_5_Extra:SetText(AL["Stranglethorn Vale"]); - AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_5.lootpage="ZGJeklik"; - AtlasLootMenuItem_5:Show(); - --AQ20 - AtlasLootMenuItem_6_Name:SetText(AL["[RAID] Ruins of Ahn'Qiraj"]); - AtlasLootMenuItem_6_Extra:SetText(AL["Silithus"]); - AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_6.lootpage="AQ20Kurinnaxx"; - AtlasLootMenuItem_6:Show(); - --MC - AtlasLootMenuItem_7_Name:SetText(AL["[RAID] Molten Core"]); - AtlasLootMenuItem_7_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_7.lootpage="MCIncindis"; - AtlasLootMenuItem_7:Show(); - --Ony - AtlasLootMenuItem_8_Name:SetText(AL["[RAID] Onyxia's Lair"]); - AtlasLootMenuItem_8_Extra:SetText(AL["Dustwallow Marsh"]); - AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_8.lootpage="Onyxia"; - AtlasLootMenuItem_8:Show(); - --LKH - AtlasLootMenuItem_9_Name:SetText(AL["[RAID] Lower Karazhan Halls"]); - AtlasLootMenuItem_9_Extra:SetText(AL["Deadwind Pass"]); - AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_9.lootpage="LKHRolfen"; - AtlasLootMenuItem_9:Show(); - --BWL - AtlasLootMenuItem_10_Name:SetText(AL["[RAID] Blackwing Lair"]); - AtlasLootMenuItem_10_Extra:SetText(AL["Burning Steppes"]); - AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_10.lootpage="BWLRazorgore"; - AtlasLootMenuItem_10:Show(); - --ES - AtlasLootMenuItem_11_Name:SetText(AL["[RAID] Emerald Sanctum"]); - AtlasLootMenuItem_11_Extra:SetText(AL["Hyjal"]); - AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_11.lootpage="ESErennius"; - AtlasLootMenuItem_11:Show(); - --AQ40 - AtlasLootMenuItem_12_Name:SetText(AL["[RAID] Temple of Ahn'Qiraj"]); - AtlasLootMenuItem_12_Extra:SetText(AL["Silithus"]); - AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_12.lootpage="AQ40Skeram"; - AtlasLootMenuItem_12:Show(); - --Naxx - AtlasLootMenuItem_13_Name:SetText(AL["[RAID] Naxxramas"]); - AtlasLootMenuItem_13_Extra:SetText(AL["Eastern Plaguelands"]); - AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_13.lootpage="NAXPatchwerk"; - AtlasLootMenuItem_13:Show(); - --UKH - AtlasLootMenuItem_14_Name:SetText(AL["[RAID] Upper Karazhan Halls"]); - AtlasLootMenuItem_14_Extra:SetText(AL["Deadwind Pass"]); - AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\Spell_Arcane_PortalOrgrimmar"); - AtlasLootMenuItem_14.lootpage="UKHGnarlmoon"; - AtlasLootMenuItem_14:Show(); + for i = 1, min(buttonsPerPage, getn(ButtonsInfo2)) do + if ButtonsInfo2[i].name then + _G["AtlasLootMenuItem_"..i.."_Name"]:SetText(ButtonsInfo2[i].name) + _G["AtlasLootMenuItem_"..i.."_Extra"]:SetText(ButtonsInfo2[i].extra) + _G["AtlasLootMenuItem_"..i.."_Icon"]:SetTexture(ButtonsInfo2[i].icon) + _G["AtlasLootMenuItem_"..i].lootpage = ButtonsInfo2[i].lootpage + _G["AtlasLootMenuItem_"..i]:Show() + end + end end \ No newline at end of file diff --git a/Database/Instances.lua b/Database/Instances.lua index cb194ed..acd7c4e 100644 --- a/Database/Instances.lua +++ b/Database/Instances.lua @@ -4,6 +4,24 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot"); AtlasLootBossButtons = { + FrostmaneHollow = { + "", -- A) Entrance + "FMHTansha", -- 1) Tan'sha the Sleek + "", -- Handler Oboka + "FMHKanza", -- 2) Kan'za the Seer + "FMHBattlemaster", -- 3) Battlemaster Ubukaz + "FMHHailar", -- 4) Hailar the Frigid + }; + WindhornCanyon = { + "", -- A) Entrance + "WHCPathun", -- 1) Pathun Duskhide + "WHCAhgktos", -- 2) Ahgk'tos the Pure + "WHCAmbassador", -- 3) Ambassador Vortalus + "WHCWalgan", -- 4) Walgan Bloodcaller + "WHCBonespeaker", -- 5) Bonespeaker Narlgom + "WHCProphet", -- 6) Prophet Stormhoof + "WHCChieftan", -- 7) Chieftain Shalk Blackwind + }; BlackfathomDeeps = { ""; "BFDGhamoora"; @@ -1063,7 +1081,81 @@ AtlasLoot_Data["AtlasLootItems"] = { { 22057, "INV_Misc_EngGizmos_23", "=q1=Brazier of Invocation", "=ds=#m36#" }, { 21986, "INV_BRD_Banner", "=q1=Banner of Provocation", "=ds=#m36#" }, }; - BWLRazorgore = { --https://database.turtle-wow.org/?npc=12435 + -- Frostmane Hollow + FMHTansha = { + { 162, "INV_Misc_Cape_12", "=q2=Frigid Cloak", "#s4#", "33.61%" }, + { 184, "INV_ThrowingAxe_01", "=q2=Oboka's Axe", "#h2#, #w1#", "33.66%" }, + { 197, "INV_Chest_Leather_09", "=q2=Vest of the Beastkeeper", "#s5#, #a2#", "32.73%" }, + { 0, "", "", "" }, + { 42300, "INV_Misc_Pelt_06", "=q1=Flawless Leopard Pelt", "#m3#", "100%" }, + }; + FMHKanza = { + { 205, "INV_Weapon_ShortBlade_04", "=q2=Frost Seer Dirk", "#h1#, #w4#", "32.62%" }, + { 213, "INV_Bracer_13", "=q2=Ice-Stitched Cuffs", "#s8#, #a1#", "33.81%" }, + { 241, "INV_Pants_08", "=q2=Windcrest Pants", "#s11#, #a1#", "33.57%" }, + }; + FMHBattlemaster = { + { 134, "INV_Boots_01", "=q2=Frostmane Battle Boots", "#s12#, #a3#", "33.08%" }, + { 150, "INV_Gauntlets_11", "=q2=Tribal War Gauntlets", "#s9#, #a3#", "33.26%" }, + { 157, "INV_Shield_10", "=q2=Snowchilled Crest", "#h4#, #w8#", "33.66%" }, + }; + FMHHailar = { + { 110, "INV_Weapon_ShortBlade_07", "=q3=Rak'uhz the Coldbinder", "#h3#, #w10#", "33.31%" }, + { 116, "INV_Belt_03", "=q3=Belt of Binding", "#s10#, #a2#", "33.85%" }, + { 126, "INV_Jewelry_Ring_28", "=q3=Band of Hailar", "#s13#", "32.84%" }, + }; + -- Windhorn Canyon + WHCPathun = { + { 33027, "INV_Misc_Horn_01", "=q3=Huntsman's Halfhorn", "#s14#", "25.35%" }, + { 33025, "INV_Weapon_Bow_05", "=q2=Blackwind Striker", "#w2#, #w2#", "25.23%" }, + { 33026, "INV_Shoulder_04", "=q2=Sacred Windhorn Shoulders", "#s3#, #a1#", "24.26%" }, + { 33028, "INV_Axe_01", "=q2=Hatchet of the Long Hunt", "#h1#, #w1#", "25.16%" }, + { 0, "", "", "" }, + { 70242, "INV_Misc_Note_01", "=q3=Plans: Kodoheart Necklace", "#p18# (125)", "5.88%" }, + }; + WHCAhgktos = { + { 33024, "INV_Weapon_ShortBlade_02", "=q3=Tooth of Ahgk'tos", "#h1#, #w4#", "25.37%" }, + { 33021, "INV_Gauntlets_18", "=q2=Sacred Windhorn Gloves", "#s9#, #a1#", "25%" }, + { 33022, "INV_Chest_Leather_05", "=q2=Windserpent Hauberk", "#s5#, #a3#", "24.95%" }, + { 33023, "INV_Jewelry_Ring_22", "=q2=Coilscale Ring", "#s13#", "24.68%" }, + }; + WHCAmbassador = { + { 33029, "INV_Boots_Wolf", "=q3=Sacred Windhorn Footwraps", "#s12#, #a1#", "24.99%" }, + { 33030, "INV_Gauntlets_04", "=q3=Knuckles of Vortalus", "#s9#, #a3#", "24.95%" }, + { 33031, "INV_Axe_21", "=q3=Thunderstrike Pike", "#h2#, #w7#", "25.45%" }, + { 33032, "INV_Bracer_06", "=q3=Galvanized Wrists", "#s8#, #a2#", "24.61%" }, + }; + WHCWalgan = { + { 33082, "INV_Weapon_Rifle_05", "=q3=Bloodcaller's Decapitator", "#h2#, #w1#", "24.97%" }, + { 33033, "INV_Bracer_08", "=q3=Footwraps of Perfect Form", "#s12#, #a2#", "25.32%" }, + { 33035, "Inv_pants_wolf", "=q3=Sacred Windhorn Pants", "#s11#, #a1#", "24.76%" }, + { 42275, "INV_Gauntlets_25", "=q3=Canyonhide Gloves", "#s9#, #a2#", "24.95%" }, + }; + WHCBonespeaker = { + { 33038, "INV_Staff_21", "=q3=Bonespeaker Cane", "#h2#, #w9#", "25.43%" }, + { 33037, "INV_Chest_Leather_01", "=q3=Sacred Windhorn Robe", "#s5#, #a1#", "24.44%" }, + { 33040, "INV_Misc_Bone_09", "=q3=Reedwoven Epaulets", "#s3#, #a3#", "25.1%" }, + { 42276, "INV_Pants_12", "=q3=Cloudrender Pants", "#s11#, #a2#", "25.03%" }, + }; + WHCProphet = { + { 33041, "INV_Staff_02", "=q3=Deathtotem Relic", "#s15#", "24.64%" }, + { 33042, "INV_Helmet_24", "=q3=Sacred Windhorn Headdress", "#s1#, #a1#", "24.82%" }, + { 33043, "INV_Banner_01", "=q3=Blackwind Facemask", "#s1#, #a3#", "25.27%" }, + { 33044, "INV_Jewelry_Ring_27", "=q3=Elder Crone's Sigil Ring", "#s13#", "25.27%" }, + { 0, "", "", "" }, + { 70244, "INV_Scroll_06", "=q2=Plans: Ceremonial Belt Buckle", "#p2# (125)", "5.93%" }, + }; + WHCChieftan = { + { 42277, "INV_Helmet_04", "=q4=Hawkfeather Crown", "#s1#, #a2#", "1.31%" }, + { 33047, "INV_Axe_05", "=q3=Ar'pora, the Chieftain's Judgement", "#h2#, #w1#", "24.54%" }, + { 33045, "ability_smash", "=q3=The Blackwind Pillar", "#h2#, #w6#", "25.26%" }, + { 33046, "INV_Shield_06", "=q3=Canyon's Barricade", "#h4#, #w8#", "24.94%" }, + { 33048, "INV_Misc_Gem_Pearl_06", "=q3=Heart of Windhorn", "#s14#", "25.26%" }, + { 0, "", "", "" }, + { 70243, "INV_Scroll_06", "=q3=Pattern: Grimtotem Bracers", "#p7# (125)", "6.05%" }, + }; + -- Blackwing Lair + BWLRazorgore = { { 16926, "INV_Bracer_09", "=q4=Bindings of Transcendence", "=ds=#s8#, #a1# =q9=#c5#", "11%", "", "", "", "", "", "", "", "", "", "", { {{47209,"=ds=#s8#, #a1# =q7=#db17#"},},}, }, diff --git a/Database/TableRegister.lua b/Database/TableRegister.lua index 3ec296f..b5fb360 100644 --- a/Database/TableRegister.lua +++ b/Database/TableRegister.lua @@ -12,6 +12,19 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot"); AtlasLoot_TableNames = { --Keys ["VanillaKeys"] = { AL["Keys"], "AtlasLootItems" }, + -- Frostmane Hollow + ["FMHTansha"] = { AL["Frostmane Hollow"].." - "..AL["Tan'sha the Sleek"], "AtlasLootItems" }, + ["FMHKanza"] = { AL["Frostmane Hollow"].." - "..AL["Kan'za the Seer"], "AtlasLootItems" }, + ["FMHBattlemaster"] = { AL["Frostmane Hollow"].." - "..AL["Battlemaster Ubukaz"], "AtlasLootItems" }, + ["FMHHailar"] = { AL["Frostmane Hollow"].." - "..AL["Hailar the Frigid"], "AtlasLootItems" }, + -- Windhorn Canyon + ["WHCPathun"] = { AL["Windhorn Canyon"].." - "..AL["Pathun Duskhide"], "AtlasLootItems"}, + ["WHCAhgktos"] = { AL["Windhorn Canyon"].." - "..AL["Ahgk'tos the Pure"], "AtlasLootItems",}, + ["WHCAmbassador"] = { AL["Windhorn Canyon"].." - "..AL["Ambassador Vortalus"], "AtlasLootItems",}, + ["WHCWalgan"] = { AL["Windhorn Canyon"].." - "..AL["Walgan Bloodcaller"], "AtlasLootItems",}, + ["WHCBonespeaker"] = { AL["Windhorn Canyon"].." - "..AL["Bonespeaker Narlgom"], "AtlasLootItems",}, + ["WHCProphet"] = { AL["Windhorn Canyon"].." - "..AL["Prophet Stormhoof"], "AtlasLootItems",}, + ["WHCChieftan"] = { AL["Windhorn Canyon"].." - "..AL["Chieftain Shalk Blackwind"], "AtlasLootItems"}, --Blackfathom Deeps ["BFDGhamoora"] = { AL["Blackfathom Deeps"].." - "..AL["Ghamoo-ra"], "AtlasLootItems" }, ["BFDLadySarevess"] = { AL["Blackfathom Deeps"].." - "..AL["Lady Sarevess"], "AtlasLootItems" }, @@ -1107,6 +1120,21 @@ AtlasLoot_TableNamesBoss = { ["Keys"] = { ["VanillaKeys"] = { AL["Keys"], "AtlasLootItems" }, }, + ["Frostmane Hollow"] = { + ["FMHTansha"] = { AL["Tan'sha the Sleek"], "AtlasLootItems" }, + ["FMHKanza"] = { AL["Kan'za the Seer"], "AtlasLootItems" }, + ["FMHBattlemaster"] = { AL["Battlemaster Ubukaz"], "AtlasLootItems" }, + ["FMHHailar"] = { AL["Hailar the Frigid"], "AtlasLootItems" }, + }, + ["Windhorn Canyon"] = { + ["WHCPathun"] = { AL["Pathun Duskhide"], "AtlasLootItems"}, + ["WHCAhgktos"] = { AL["Ahgk'tos the Pure"], "AtlasLootItems",}, + ["WHCAmbassador"] = { AL["Ambassador Vortalus"], "AtlasLootItems",}, + ["WHCWalgan"] = { AL["Walgan Bloodcaller"], "AtlasLootItems",}, + ["WHCBonespeaker"] = { AL["Bonespeaker Narlgom"], "AtlasLootItems",}, + ["WHCProphet"] = { AL["Prophet Stormhoof"], "AtlasLootItems",}, + ["WHCChieftan"] = { AL["Chieftain Shalk Blackwind"], "AtlasLootItems"}, + }, ["Blackfathom Deeps"] = { ["BFDGhamoora"] = { AL["Ghamoo-ra"], "AtlasLootItems" }, ["BFDLadySarevess"] = { AL["Lady Sarevess"], "AtlasLootItems" }, diff --git a/Locale/locale.en.lua b/Locale/locale.en.lua index 0bd4bb3..922c59b 100644 --- a/Locale/locale.en.lua +++ b/Locale/locale.en.lua @@ -15,17 +15,24 @@ AL:EnableDebugging(); -- Allow the language to be changed dynamically for debugging purposes AL:EnableDynamicLocales(); --- 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 DEFAULT = "|cffFFd200"; - AL:RegisterTranslations("enUS", function() return { + ["Frostmane Hollow"] = true, + ["Tan'sha the Sleek"] = true, + ["Handler Oboka"] = true, + ["Kan'za the Seer"] = true, + ["Battlemaster Ubukaz"] = true, + ["Hailar the Frigid"] = true, + + ["Thousand Needles"] = true, + ["Windhorn Canyon"] = true, + ["Pathun Duskhide"] = true, + ["Ahgk'tos the Pure"] = true, + ["Ambassador Vortalus"] = true, + ["Walgan Bloodcaller"] = true, + ["Bonespeaker Narlgom"] = true, + ["Prophet Stormhoof"] = true, + ["Chieftain Shalk Blackwind"] = true, + DAYS_COOLDOWN = "%d days cooldown", DAYS_COOLDOWN_1 = "%d day cooldown", [" added to the WishList."] = true, @@ -1608,51 +1615,6 @@ AL:RegisterTranslations("enUS", function() return { ["Zul'Gurub Sets"] = true, ["Zul'Lor"] = true, ["Zuluhed the Whacked"] = true, - ["[13-18] Ragefire Chasm"] = WHITE.."[13-18]"..DEFAULT.." Ragefire Chasm", - ["[17-24] The Deadmines"] = WHITE.."[17-24]"..DEFAULT.." The Deadmines", - ["[17-24] Wailing Caverns"] = WHITE.."[17-24]"..DEFAULT.." Wailing Caverns", - ["[22-30] Shadowfang Keep"] = WHITE.."[22-30]"..DEFAULT.." Shadowfang Keep", - ["[22-30] The Stockade"] = WHITE.."[22-30]"..DEFAULT.." The Stockade", - ["[23-32] Blackfathom Deeps"] = WHITE.."[23-32]"..DEFAULT.." Blackfathom Deeps", - ["[26-35] Dragonmaw Retreat"] = WHITE.."[26-35]"..DEFAULT.." Dragonmaw Retreat", - ["[27-36] Scarlet Monastery (Graveyard)"] = WHITE.."[27-36]"..DEFAULT.." Scarlet Monastery (Graveyard)", - ["[27-45] Scarlet Monastery"] = WHITE.."[27-45]"..DEFAULT.." Scarlet Monastery", - ["[28-39] Scarlet Monastery (Library)"] = WHITE.."[28-39]"..DEFAULT.." Scarlet Monastery (Library)", - ["[29-38] Gnomeregan"] = WHITE.."[29-38]"..DEFAULT.." Gnomeregan", - ["[29-38] Razorfen Kraul"] = WHITE.."[29-38]"..DEFAULT.." Razorfen Kraul", - ["[32-38] The Crescent Grove"] = WHITE.."[32-38]"..DEFAULT.." The Crescent Grove", - ["[32-41] Scarlet Monastery (Armory)"] = WHITE.."[32-41]"..DEFAULT.." Scarlet Monastery (Armory)", - ["[32-44] Stormwrought Ruins"] = WHITE.."[32-44]"..DEFAULT.." Stormwrought Ruins", - ["[35-45] Scarlet Monastery (Cathedral)"] = WHITE.."[35-45]"..DEFAULT.." Scarlet Monastery (Cathedral)", - ["[36-46] Razorfen Downs"] = WHITE.."[36-46]"..DEFAULT.." Razorfen Downs", - ["[40-51] Uldaman"] = WHITE.."[40-51]"..DEFAULT.." Uldaman", - ["[42-50] Gilneas City"] = WHITE.."[42-50]"..DEFAULT.." Gilneas City", - ["[44-54] Zul'Farrak"] = WHITE.."[44-54]"..DEFAULT.." Zul'Farrak", - ["[45-55] Maraudon"] = WHITE.."[45-55]"..DEFAULT.." Maraudon", - ["[50-60] Hateforge Quarry"] = WHITE.."[50-60]"..DEFAULT.." Hateforge Quarry", - ["[50-60] The Sunken Temple"] = WHITE.."[50-60]"..DEFAULT.." The Sunken Temple", - ["[52-60] Blackrock Depths"] = WHITE.."[52-60]"..DEFAULT.." Blackrock Depths", - ["[55-60] Dire Maul"] = WHITE.."[55-60]"..DEFAULT.." Dire Maul", - ["[55-60] Dire Maul (East)"] = WHITE.."[55-60]"..DEFAULT.." Dire Maul (East)", - ["[55-60] Lower Blackrock Spire"] = WHITE.."[55-60]"..DEFAULT.." Lower Blackrock Spire", - ["[57-60] Dire Maul (North)"] = WHITE.."[57-60]"..DEFAULT.." Dire Maul (North)", - ["[57-60] Dire Maul (West)"] = WHITE.."[57-60]"..DEFAULT.." Dire Maul (West)", - ["[58-60] Karazhan Crypt"] = WHITE.."[58-60]"..DEFAULT.." Karazhan Crypt", - ["[58-60] Scholomance"] = WHITE.."[58-60]"..DEFAULT.." Scholomance", - ["[58-60] Stratholme"] = WHITE.."[58-60]"..DEFAULT.." Stratholme", - ["[58-60] Upper Blackrock Spire"] = WHITE.."[58-60]"..DEFAULT.." Upper Blackrock Spire", - ["[60] Caverns of Time: Black Morass"] = WHITE.."[60]"..DEFAULT.." Caverns of Time: Black Morass", - ["[60] Stormwind Vault"] = WHITE.."[60]"..DEFAULT.." Stormwind Vault", - ["[RAID] Blackwing Lair"] = RED.."[RAID]"..DEFAULT.." Blackwing Lair", - ["[RAID] Emerald Sanctum"] = RED.."[RAID]"..DEFAULT.." Emerald Sanctum", - ["[RAID] Lower Karazhan Halls"] = RED.."[RAID]"..DEFAULT.." Lower Karazhan Halls", - ["[RAID] Molten Core"] = RED.."[RAID]"..DEFAULT.." Molten Core", - ["[RAID] Naxxramas"] = RED.."[RAID]"..DEFAULT.." Naxxramas", - ["[RAID] Onyxia's Lair"] = RED.."[RAID]"..DEFAULT.." Onyxia's Lair", - ["[RAID] Ruins of Ahn'Qiraj"] = RED.."[RAID]"..DEFAULT.." Ruins of Ahn'Qiraj", - ["[RAID] Temple of Ahn'Qiraj"] = RED.."[RAID]"..DEFAULT.." Temple of Ahn'Qiraj", - ["[RAID] Upper Karazhan Halls"] = RED.."[RAID]"..DEFAULT.." Upper Karazhan Halls", - ["[RAID] Zul'Gurub"] = RED.."[RAID]"..DEFAULT.." Zul'Gurub", ["default"] = true, ["has been reset!"] = true, ["on this page. The items will be"] = true,