Merge pull request #9 from HonkGamer/TBC-dungeon-listing

Added Tbc dungeon listing
This commit is contained in:
Szyler
2020-06-07 17:59:40 +02:00
committed by GitHub
3 changed files with 93 additions and 49 deletions
@@ -251,7 +251,19 @@ function AtlasLoot_DewdropRegister()
if (type(v[1]) == "table") and (type(v[1][1]) == "string") then
local checked = false;
--If an entry to show a submenu
if v[1][3] == "Submenu" then
if v[1][4] == "Header" then
AtlasLoot_Dewdrop:AddLine(
'text', v[1][1],
'textR', 0.2,
'textG', 0.82,
'textB', 0.5,
'func', AtlasLoot_DewDropClick,
'arg1', v[1][2],
'arg2', v[1][1],
'arg3', v[1][3],
'notCheckable', true
)
elseif v[1][3] == "Submenu" then
AtlasLoot_Dewdrop:AddLine(
'text', v[1][1],
'textR', 1,
+77 -48
View File
@@ -105,62 +105,91 @@ AtlasLoot_DewDropDown = {
[2] = {
[AL["BC Instances"]] = {
[1] = {
[BabbleZone["Auchindoun"]] = {
{ BabbleZone["Mana-Tombs"], "AuchManaTombs", "Submenu" },
{ BabbleZone["Auchenai Crypts"], "AuchCrypts", "Submenu" },
{ BabbleZone["Sethekk Halls"], "AuchSethekk", "Submenu" },
{ BabbleZone["Shadow Labyrinth"], "AuchShadowLab", "Submenu" },
},
{ BabbleZone["Raids:"], "BCKeys", "Table", "Header" },
},
[2] = {
{ BabbleZone["Black Temple"], "BlackTemple", "Submenu" },
},
[3] = {
[BabbleZone["Caverns of Time"]] = {
{ BabbleZone["Old Hillsbrad Foothills"], "CoTOldHillsbrad", "Submenu" },
{ BabbleZone["The Black Morass"], "CoTBlackMorass", "Submenu" },
{ BabbleZone["Hyjal Summit"], "CoTHyjal", "Submenu" },
},
},
[4] = {
[BabbleZone["Coilfang Reservoir"]] = {
{ BabbleZone["The Slave Pens"], "CFRSlavePens", "Submenu" },
{ BabbleZone["The Underbog"], "CFRUnderbog", "Submenu" },
{ BabbleZone["The Steamvault"], "CFRSteamvault", "Submenu" },
{ BabbleZone["Serpentshrine Cavern"], "CFRSerpentshrine", "Submenu" },
},
},
[5] = {
{ BabbleZone["Gruul's Lair"], "Gruul", "Submenu" },
},
[6] = {
[BabbleZone["Hellfire Citadel"]] = {
{ BabbleZone["Hellfire Ramparts"], "HCRamparts", "Submenu" },
{ BabbleZone["The Blood Furnace"], "HCFurnace", "Submenu" },
{ BabbleZone["The Shattered Halls"], "HCShatteredHalls", "Submenu" },
{ BabbleZone["Magtheridon's Lair"], "HCMagtheridon", "Table" },
},
},
[7] = {
{ BabbleZone["Karazhan"], "Karazhan", "Submenu" },
},
[8] = {
{ BabbleZone["Magisters' Terrace"], "MagistersTerrace", "Submenu" },
[3] = {
{ BabbleZone["Gruul's Lair"], "Gruul", "Submenu" },
},
[9] = {
{ BabbleZone["Sunwell Plateau"], "SunwellPlateau", "Submenu" },
[4] = {
{ BabbleZone["Magtheridon's Lair"], "HCMagtheridon", "Table" },
},
[10] = {
[BabbleZone["Tempest Keep"]] = {
{ BabbleZone["The Mechanar"], "TKMech", "Submenu" },
{ BabbleZone["The Botanica"], "TKBot", "Submenu" },
{ BabbleZone["The Arcatraz"], "TKArc", "Submenu" },
{ BabbleZone["The Eye"], "TKEye", "Submenu" },
},
},
[11] = {
[5] = {
{ BabbleZone["Zul'Aman"], "ZulAman", "Submenu" },
},
[6] = {
{ BabbleZone["Serpentshrine Cavern"], "CFRSerpentshrine", "Submenu" },
},
[7] = {
{ BabbleZone["The Eye"], "TKEye", "Submenu" },
},
[8] = {
{ BabbleZone["Hyjal Summit"], "CoTHyjal", "Submenu" },
},
[9] = {
{ BabbleZone["Black Temple"], "BlackTemple", "Submenu" },
},
[10] = {
{ BabbleZone["Sunwell Plateau"], "SunwellPlateau", "Submenu" },
},
---- Dugneons -----
[11] = {
{ BabbleZone["Dungeons:"], "BCKeys", "Table", "Header" },
},
[12] = {
{ BabbleZone["The Arcatraz"], "TKArc", "Submenu" },
},
[13] = {
{ BabbleZone["Auchenai Crypts"], "AuchCrypts", "Submenu" },
},
[14] = {
{ BabbleZone["The Black Morass"], "CoTBlackMorass", "Submenu" },
},
[15] = {
{ BabbleZone["The Blood Furnace"], "HCFurnace", "Submenu" },
},
[16] = {
{ BabbleZone["The Botanica"], "TKBot", "Submenu" },
},
[17] = {
{ BabbleZone["Hellfire Ramparts"], "HCRamparts", "Submenu" },
},
[18] = {
{ BabbleZone["Magisters' Terrace"], "MagistersTerrace", "Submenu" },
},
[19] = {
{ BabbleZone["Mana-Tombs"], "AuchManaTombs", "Submenu" },
},
[20] = {
{ BabbleZone["The Mechanar"], "TKMech", "Submenu" },
},
[21] = {
{ BabbleZone["Old Hillsbrad Foothills"], "CoTOldHillsbrad", "Submenu" },
},
[22] = {
{ BabbleZone["Sethekk Halls"], "AuchSethekk", "Submenu" },
},
[23] = {
{ BabbleZone["Shadow Labyrinth"], "AuchShadowLab", "Submenu" },
},
[24] = {
{ BabbleZone["The Shattered Halls"], "HCShatteredHalls", "Submenu" },
},
[25] = {
{ BabbleZone["The Slave Pens"], "CFRSlavePens", "Submenu" },
},
[26] = {
{ BabbleZone["The Steamvault"], "CFRSteamvault", "Submenu" },
},
[27] = {
{ BabbleZone["The Underbog"], "CFRUnderbog", "Submenu" },
},
},
},
[3] = {
@@ -17,6 +17,9 @@ if not lib then return end
local GAME_LOCALE = GetLocale()
lib:SetBaseTranslations {
["Raids:"] = "Raids:",
["Dungeons:"] = "Dungeons:",
["Abyssal Depths"] = "Abyssal Depths",
["Ahn'kahet: The Old Kingdom"] = "Ahn'kahet: The Old Kingdom",
["Ahn'Qiraj"] = "Ahn'Qiraj",