local L = LibStub("AceLocale-3.0"):GetLocale("Carbonite")

Nx.BuggedSubZones = {
	[0] = "null",
	[1] = "Caverns of Time",
	[2] = "Cleft of Shadow",
	[3] = "Temple of Earth",
	[4] = "Terrace of Light"
}

Nx.BuggedAreas = {
	[0] = "null",
	[1] = 125,
	[2] = 126,
	[3] = 103,
	[4] = 87,
	[5] = 90,
}


	-- Can anyone expand/corect this (from dratr https://github.com/dratr/Carbonite/commits/map-zonesdocs)
	-- Fields: name, minLvl, maxLvl, faction, cont, entryId, ex, ey, ??
	-- entryId, ex, ey only for instances.
	-- entryId is map id of zone that has dungeon entrance; ex, ey is loc in zone
	-- Faction:
	-- 0 Alliance
	-- 1 Horde
	-- 2 Contested
	-- 3 Instance
	-- 4 Unknown
Nx.Zones = {
    [0] = L["Unknown Zone"] .. "|0|0|4|0||",
    [1] = L["Durotar"] .. "|1|12|1|1||",
    [7] = L["Mulgore"] .. "|1|12|1|1||",
    [10] = L["The Barrens"] .. "|10|25|1|1||",
    [12] = L["Kalimdor"] .. "|1|60|2|1||",
    [13] = L["Eastern Kingdoms"] .. "|1|60|2|2||",
    [14] = L["Arathi Highlands"] .. "|25|30|2|2||",
    [15] = L["Badlands"] .. "|35|45|2|2||",
    [17] = L["Blasted Lands"] .. "|47|55|2|2||",
    [18] = L["Tirisfal Glades"] .. "|1|12|1|2||",
    [21] = L["Silverpine Forest"] .. "|10|20|1|2||",
    [22] = L["Western Plaguelands"] .. "|35|40|2|2||",
    [23] = L["Eastern Plaguelands"] .. "|40|45|2|2||",
    [25] = L["Hillsbrad Foothills"] .. "|20|25|2|2||",
    [26] = L["The Hinterlands"] .. "|30|35|2|2||",
    [27] = L["Dun Morogh"] .. "|1|10|0|2||",
    [32] = L["Searing Gorge"] .. "|47|51|2|2||",
    [36] = L["Burning Steppes"] .. "|50|52|2|2||",
    [37] = L["Elwynn Forest"] .. "|1|10|0|2||",
    [42] = L["Deadwind Pass"] .. "|55|56|2|2||",
    [47] = L["Duskwood"] .. "|20|25|2|2||",
    [48] = L["Loch Modan"] .. "|10|20|0|2||",
    [49] = L["Redridge Mountains"] .. "|15|20|2|2||",
    [50] = L["Stranglethorn Vale"] .. "|25|30|2|2||",
    [51] = L["Swamp of Sorrows"] .. "|52|54|2|2||",
    [52] = L["Westfall"] .. "|10|15|0|2||",
    [56] = L["Wetlands"] .. "|20|25|2|2||",
    [57] = L["Teldrassil"] .. "|1|10|0|1||",
    [62] = L["Darkshore"] .. "|10|20|0|1||",
    [63] = L["Ashenvale"] .. "|20|25|2|1||",
    [64] = L["Thousand Needles"] .. "|40|45|2|1||",
    [65] = L["Stonetalon Mountains"] .. "|25|30|2|1||",
    [66] = L["Desolace"] .. "|30|35|2|1||",
    [69] = L["Feralas"] .. "|35|40|2|1||",
    [70] = L["Dustwallow Marsh"] .. "|35|40|2|1||",
    [71] = L["Tanaris"] .. "|45|50|2|1||",
    [76] = L["Azshara"] .. "|10|20|1|1||",
    [77] = L["Felwood"] .. "|45|50|2|1||",
    [78] = L["Un'Goro Crater"] .. "|50|55|2|1||",
    [80] = L["Moonglade"] .. "|15|15|2|1||",
    [81] = L["Silithus"] .. "|55|60|2|1||",
    [83] = L["Winterspring"] .. "|50|55|2|1||",
    [84] = L["Stormwind City"] .. "|0|0|0|2||",
    [85] = L["Orgrimmar"] .. "|0|0|1|1||",
	[86] = L["Orgrimmar"] .. "|0|0|1|1||",
    [87] = L["Ironforge"] .. "|0|0|0|2||",
    [88] = L["Thunder Bluff"] .. "|0|0|1|1||",
    [89] = L["Darnassus"] .. "|0|0|0|1||",
    [90] = L["Undercity"] .. "|0|0|1|2||",
    [91] = L["Alterac Valley"] .. "|0|0|3|4||",
    [92] = L["Warsong Gulch"] .. "|0|0|3|4||",
    [93] = L["Arathi Basin"] .. "|0|0|3|4||",
    [94] = L["Eversong Woods"] .. "|1|10|1|2||",
    [95] = L["Ghostlands"] .. "|10|20|1|2||",
    [97] = L["Azuremyst Isle"] .. "|1|10|0|1||",
    [1467] = L["Outland"] .. "|0|0|2|3||",
    [100] = L["Hellfire Peninsula"] .. "|58|63|2|3||",  
    [102] = L["Zangarmarsh"] .. "|60|64|2|3||",
    [103] = L["The Exodar"] .. "|0|0|0|1||",
    [104] = L["Shadowmoon Valley"] .. "|67|70|2|3||",
    [105] = L["Blade's Edge Mountains"] .. "|65|68|2|3||",
    [106] = L["Bloodmyst Isle"] .. "|10|20|0|1||",
    [107] = L["Nagrand"] .. "|64|67|2|3||",
    [108] = L["Terokkar Forest"] .. "|62|65|2|3||",
    [109] = L["Netherstorm"] .. "|67|70|2|3||",
    [110] = L["Silvermoon City"] .. "|0|0|1|2||",
    [111] = L["Shattrath City"] .. "|0|0|2|3||",
    [112] = L["Eye of the Storm"] .. "|0|0|3|4||",
    [113] = L["Northrend"] .. "|0|0|2|4||",
    [114] = L["Borean Tundra"] .. "|68|72|2|4||",
    [115] = L["Dragonblight"] .. "|71|75|2|4||",
    [116] = L["Grizzly Hills"] .. "|73|75|2|4||",
    [117] = L["Howling Fjord"] .. "|68|72|2|4||",
    [118] = L["Icecrown"] .. "|77|80|2|4||",
    [119] = L["Sholazar Basin"] .. "|76|78|2|4||",
    [120] = L["The Storm Peaks"] .. "|77|80|2|4||",
    [121] = L["Zul'Drak"] .. "|74|76|2|4||",
    [122] = L["Isle of Quel'Danas"] .. "|65|70|2|2||",
    [123] = L["Wintergrasp"] .. "|77|80|2|4||",
    [124] = L["Plaguelands: The Scarlet Enclave"] .. "|20|60|2|2||",
    [125] = L["Dalaran"] .. "|0|0|2|4||",
    [127] = L["Crystalsong Forest"] .. "|77|80|2|4||",
    [128] = L["Strand of the Ancients"] .. "|65|80|3|4||",
    [129] = L["The Nexus"] .. "|69|80|3|5|114|27.5|26.03|5",
    [130] = L["The Culling of Stratholme"] .. "|78|80|3|5|71|65.34|50|5",
    [132] = L["Ahn'kahet: The Old Kingdom"] .. "|73|80|3|5|115|28.46|51.71|5",
    [133] = L["Utgarde Keep"] .. "|68|80|3|5|117|57.28|46.72|5",
    [136] = L["Utgarde Pinnacle"] .. "|68|80|3|5|117|57.28|46.75|25",
    [138] = L["Halls of Lightning"] .. "|78|80|3|5|120|45.4|21.4|5",
    [140] = L["Halls of Stone"] .. "|77|80|3|5|120|39.5|26.9|5",
    [141] = L["The Eye of Eternity"] .. "|80|80|3|5|114|27.5|26.03|25",
    [142] = L["The Oculus"] .. "|79|80|3|5|114|27.52|26.75|5",
    [147] = L["Ulduar"] .. "|80|80|3|5|120|41.6|18.2|1025",
    [153] = L["Gundrak"] .. "|76|80|3|5|121|83.6|18|5",
    [155] = L["The Obsidian Sanctum"] .. "|80|80|3|5|115|59.8|54.1|25",
    [156] = L["Vault of Archavon"] .. "|80|80|3|5|123|50|18|1025",
    [157] = L["Azjol-Nerub"] .. "|72|80|3|5|115|26.01|50.83|5",
    [160] = L["Drak'Tharon Keep"] .. "|74|80|3|5|116|17.43|21.21|5",
    [162] = L["Naxxramas"] .. "|80|80|3|5|115|87.3|50.98|1025",
    [168] = L["The Violet Hold"] .. "|75|80|3|5|125|67|68.4|5",
    [169] = L["Isle of Conquest"] .. "|60|80|3|4||",
    [170] = L["Hrothgar's Landing"] .. "|77|80|2|4||",
    [171] = L["Trial of the Champion"] .. "|80|80|3|5|118|74.2|20.4|5",
    [172] = L["Trial of the Crusader"] .. "|80|80|3|5|118|75.1|21.8|1025",
    [174] = L["The Lost Isles"] .. "|1|20|1|5||",
    [179] = L["Gilneas"] .. "|1|20|0|2||",
    [183] = L["The Forge of Souls"] .. "|80|80|3|5|118|54.5|90.2|5",
    [184] = L["Pit of Saron"] .. "|80|80|3|5|118|54.5|91.3|5",
    [185] = L["Halls of Reflection"] .. "|80|80|3|5|118|54.8|90.8|5",
    [186] = L["Icecrown Citadel"] .. "|80|80|3|5|118|53.3|85.6|1025",
    [194] = L["Kezan"] .. "|1|20|1|5||",
    [198] = L["Mount Hyjal"] .. "|80|82|2|1||",
    [199] = L["Southern Barrens"] .. "|30|35|2|1||",
    [200] = L["The Ruby Sanctum"] .. "|80|80|3|5|115|0|0|1025",
    [201] = L["Kelp'thar Forest"] .. "|80|82|2|2||",
    [202] = L["Gilneas City"] .. "|1|20|0|2||",
    [203] = L["Vashj'ir"] .. "|80|82|2|2||",
    [204] = L["Abyssal Depths"] .. "|80|82|2|2||",
    [205] = L["Shimmering Expanse"] .. "|80|82|2|2||",
    [206] = L["Twin Peaks"] .. "|0|0|3|4||",
    [207] = L["Deepholm"] .. "|82|83|2|5||",
    [210] = L["The Cape of Stranglethorn"] .. "|30|35|2|2||",
    [213] = L["Ragefire Chasm"] .. "|15|20|3|5|85|51.9|58.4|5",
    [217] = L["Ruins of Gilneas"] .. "|14|20|2|2||",
    [218] = L["Ruins of Gilneas City"] .. "|0|0|2|2||",
    [219] = L["Zul'Farrak"] .. "|46|49|3|5|71|39.2|21.4|5",
    [220] = L["The Temple of Atal'Hakkar"] .. "|52|55|3|5|51|69.83|54.14|5",
    [221] = L["Blackfathom Deeps"] .. "|22|25|3|5|63|14.15|13.9|5",
    [224] = L["Stranglethorn Vale"] .. "|25|35|2|2||",
    [225] = L["The Stockade"] .. "|22|30|3|5|84|51.4|68.3|5",
    [226] = L["Gnomeregan"] .. "|19|24|3|5|27|24.38|39.8|5",
    [230] = L["Uldaman"] .. "|37|45|3|5|15|44.44|12.19|5",
    [232] = L["Molten Core"] .. "|60|60|3|5|36|20.70|33.33|40",
    [234] = L["Dire Maul"] .. "|44|47|3|5|69|59.1|45.4|5",
    [241] = L["Twilight Highlands"] .. "|84|85|2|2||",
    [242] = L["Blackrock Depths"] .. "|53|61|3|5|36|15.70|28.33|5",
    [244] = L["Tol Barad"] .. "|85|90|2|2||",
    [245] = L["Tol Barad Peninsula"] .. "|0|0|2|2||",
    [246] = L["The Shattered Halls"] .. "|65|70|3|5|100|48.02|51.88|5",
    [247] = L["Ruins of Ahn'Qiraj"] .. "|60|60|3|5|81|29|93.8|20",
    [248] = L["Onyxia's Lair"] .. "|60|80|3|5|70|52.41|76.39|1025",
    [249] = L["Uldum"] .. "|83|84|2|1||",
    [250] = L["Blackrock Spire"] .. "|58|65|3|5|36|15.70|33.33|10",
    [256] = L["Auchenai Crypts"] .. "|62|70|3|5|108|37.3|65.61|5",
    [258] = L["Sethekk Halls"] .. "|63|70|3|5|108|41.98|65.62|5",
    [260] = L["Shadow Labyrinth"] .. "|65|70|3|5|108|39.63|69.13|5",
    [261] = L["The Blood Furnace"] .. "|58|70|3|5|100|46.03|51.78|5",
    [262] = L["The Underbog"] .. "|60|70|3|5|102|50.41|40.9|5",
    [263] = L["The Steamvault"] .. "|65|70|3|5|102|50.41|40.9|5",
    [265] = L["The Slave Pens"] .. "|59|70|3|5|102|50.41|40.9|5",
    [266] = L["The Botanica"] .. "|65|70|3|5|109|71.7|55.07|5",
    [267] = L["The Mechanar"] .. "|65|70|3|5|109|70.54|69.64|5",
    [269] = L["The Arcatraz"] .. "|65|70|3|5|109|74.37|57.75|5",
    [272] = L["Mana-Tombs"] .. "|61|70|3|5|108|39.63|62.06|5",
    [273] = L["The Black Morass"] .. "|65|70|3|5|71|65.34|50|5",
    [274] = L["Old Hillsbrad Foothills"] .. "|63|70|3|5|71|65.34|50|5",
    [275] = L["The Battle for Gilneas"] .. "|0|0|3|4||",
    [276] = L["The Maelstrom"] .. "|80|85|2|5||",
    [277] = L["Lost City of the Tol'vir"] .. "|83|85|3|5|249|60.5|64.1|5",
    [279] = L["Wailing Caverns"] .. "|17|25|3|5|10|46|36|5",
    [280] = L["Maraudon"] .. "|36|39|3|5|66|29.48|62.53|5",
    [282] = L["Baradin Hold"] .. "|85|85|3|5|244|51|50|1025",
    [283] = L["Blackrock Caverns"] .. "|77|85|3|5|36|25.70|33.33|5",
    [285] = L["Blackwing Descent"] .. "|85|85|3|5|36|20.70|28.33|1025",
    [287] = L["Blackwing Lair"] .. "|60|60|3|5|36|20.70|35.33|40",
    [291] = L["The Deadmines"] .. "|15|85|3|5|52|42.56|71.72|5",
    [293] = L["Grim Batol"] .. "|83|85|3|5|241|19.2|54.1|5",
    [294] = L["The Bastion of Twilight"] .. "|85|85|3|5|241|33.9|78|1025",
    [297] = L["Halls of Origination"] .. "|83|85|3|5|249|71.8|52.2|5",
    [300] = L["Razorfen Downs"] .. "|33|47|3|5|10|45.43|89.48|5",
    [301] = L["Razorfen Kraul"] .. "|24|40|3|5|10|43.59|90.16|5",
    [302] = L["Scarlet Monastery"] .. "|23|30|3|5|18|85.57|36.04|5",
    [306] = L["Scholomance"] .. "|33|38|3|5|22|69.77|73.51|5",
    [310] = L["Shadowfang Keep"] .. "|15|85|3|5|21|44.86|67.86|5",
    [317] = L["Stratholme"] .. "|48|51|3|5|23|27.09|12.6|5",
    [319] = L["Temple of Ahn'Qiraj"] .. "|60|60|3|5|81|29|93.8|40",
    [322] = L["Throne of the Tides"] .. "|80|85|3|5|204|70.7|29|5",
    [324] = L["The Stonecore"] .. "|80|85|3|5|207|47|52.2|5",
    [325] = L["The Vortex Pinnacle"] .. "|80|85|3|5|249|76.7|84.4|5",
    [327] = L["Ahn'Qiraj: The Fallen Kingdom"] .. "|0|0|2|1||",
    [328] = L["Throne of the Four Winds"] .. "|85|85|3|5|249|38.4|80.6|1025",
    [329] = L["Hyjal Summit"] .. "|70|70|3|5|71|65.34|50|25",
    [330] = L["Gruul's Lair"] .. "|70|70|3|5|105|68.21|24.37|25",
    [331] = L["Magtheridon's Lair"] .. "|70|70|3|5|100|46.63|52.78|25",
    [332] = L["Serpentshrine Cavern"] .. "|70|70|3|5|102|50.41|40.9|25",
    [333] = L["Zul'Aman"] .. "|85|87|3|5|95|81.51|64.34|5",
    [334] = L["The Eye"] .. "|70|70|3|5|109|73.62|63.73|25",
    [335] = L["Sunwell Plateau"] .. "|70|70|3|5|122|44.27|45.65|25",
    [337] = L["Zul'Gurub"] .. "|85|87|3|5|50|67.2|32.8|5",
    [338] = L["Molten Front"] .. "|85|85|2|5||",
    [339] = L["Black Temple"] .. "|70|70|3|5|104|71.03|46.33|25",
    [347] = L["Hellfire Ramparts"] .. "|59|70|3|5|100|47.64|53.57|5",
    [348] = L["Magisters' Terrace"] .. "|70|70|3|5|122|61.18|30.83|5",
    [350] = L["Karazhan"] .. "|65|70|3|5|42|47|74.94|10",
    [367] = L["Firelands"] .. "|85|85|3|5|198|46.2|78.8|1025",
    [371] = L["The Jade Forest"] .. "|85|86|2|6||",
    [376] = L["Valley of the Four Winds"] .. "|86|87|2|6||",
    [378] = L["The Wandering Isle"] .. "|1|20|2|6||",
    [379] = L["Kun-Lai Summit"] .. "|87|90|2|6||",
    [388] = L["Townlong Steppes"] .. "|87|90|2|6||",
    [390] = L["Vale of Eternal Blossoms"] .. "|90|90|2|6||",
    [391] = L["Shrine of Two Moons"] .. "|85|90|3|5|390|0|0|0", 
    [392] = L["Shrine of Two Moons"] .. "|85|90|3|5|390|0|0|0", 
    [393] = L["Shrine of Seven Stars"] .. "|85|90|3|5|390|0|0|0", 
    [394] = L["Shrine of Seven Stars"] .. "|85|90|3|5|390|0|0|0", 
    [395] = L["Guo-Lai Hal"] .. "|85|90|3|5|390|0|0|0", 
    [396] = L["Guo-Lai Hal"] .. "|85|90|3|5|390|0|0|0", 
    [397] = L["Eye of the Storm"] .. "|0|0|3|4||",
    [398] = L["Well of Eternity"] .. "|85|85|3|5|71|65.34|50|5",
    [399] = L["Hour of Twilight"] .. "|85|85|3|5|71|65.34|50|5",
    [401] = L["End Time"] .. "|85|85|3|5|71|65.34|50|5",
    [407] = L["Darkmoon Island"] .. "|0|0|2|5||",
    [409] = L["Dragon Soul"] .. "|85|85|3|5|71|65.34|50|1025",
    [416] = L["Theramore's Fall (H)"] .. "|80|90|3|5|70|55.9|49.5|3",
    [417] = L["Temple of Kotmogu"] .. "|0|0|3|4||",
    [418] = L["Krasarang Wilds"] .. "|87|90|2|6||",
    [422] = L["Dread Wastes"] .. "|87|90|2|6||",
    [423] = L["Silvershard Mines"] .. "|0|0|3|4||",
    [424] = L["Pandaria"] .. "|0|0|2|6||",
    [425] = L["Northshire"] .. "|1|20|2|2||",
    [427] = L["Coldridge Valley"] .. "|1|20|2|2||",
    [429] = L["Temple of the Jade Serpent"] .. "|85|90|3|5|371|56|57.8|5",
    [431] = L["Scarlet Halls"] .. "|30|32|3|5|18|86.7|31.6|5",
    [433] = L["The Veiled Stair"] .. "|86|90|2|6||",
    [435] = L["Scarlet Monastery"] .. "|85|90|3|5|18|85.57|36.04|5",
    [437] = L["Gate of the Setting Sun"] .. "|88|90|3|5|390|15.8|74.4|5",
    [439] = L["Stormstout Brewery"] .. "|85|90|3|5|376|36.07|69.14|5",
    [443] = L["Shado-Pan Monastery"] .. "|88|90|3|5|379|36.8|47.7|5",
    [447] = L["A Brewing Storm"] .. "|85|90|3|5|371|37.79|30.33|3",
    [448] = L["Greenstone Village"] .. "|85|90|3|5|371|48|35|3",
    [450] = L["Unga Ingoo"] .. "|85|90|3|5|418|52.51|267.75|3",
    [451] = L["Assault on Zan'vess"] .. "|85|90|3|5|418|55.9|49.5|3",
    [452] = L["Brewmoon Festival"] .. "|85|90|3|5|379|72.32|272.25|3",
    [453] = L["Mogu'shan Palace"] .. "|87|90|3|5|390|80|33|5",
    [456] = L["Terrace of Endless Spring"] .. "|90|90|3|5|433|49.3|61.26|1025",
    [457] = L["Siege of Niuzao Temple"] .. "|88|90|3|5|388|35|82|5",
    [460] = L["Shadowglen"] .. "|1|20|2|1||",
    [461] = L["Valley of Trials"] .. "|1|20|2|1||",
    [462] = L["Camp Narache"] .. "|1|20|2|1||",
    [463] = L["Echo Isles"] .. "|1|20|2|1||",
    [465] = L["Deathknell"] .. "|1|20|2|2||",
    [467] = L["Sunstrider Isle"] .. "|1|20|2|2||",
    [468] = L["Ammen Vale"] .. "|1|20|2|1||",
    [469] = L["New Tinkertown"] .. "|1|20|2|2||",
    [471] = L["Mogu'shan Vaults"] .. "|80|90|3|5|379|60|38|1025",
    [474] = L["Heart of Fear"] .. "|90|90|3|5|422|40|34|1025",
    [476] = L["Scholomance"] .. "|85|90|3|5|22|69.77|73.51|5",
    [480] = L["Arena of Annihilation"] .. "|85|90|3|5|379|68.59|48.01|3",
    [481] = L["Crypt of Forgotten Kings"] .. "|85|90|3|5|390|25.1|25.91|3",
    [483] = L["Theramore's Fall (A)"] .. "|85|90|3|5|70|55.9|49.5|3",
    [486] = L["Lion's Landing"] .. "|85|90|3|5|418|55.93|153.37|3",
    [487] = L["A Little Patience"] .. "|85|90|3|5|418|55.9|49.5|3",
    [488] = L["Dagger in the Dark"] .. "|85|90|3|5|418|55.91|148.95|3",
    [490] = L["Black Temple Scenario"] .. "|85|90|3|5|104|55.97|162.21|1",
    [498] = L["Domination Point"] .. "|85|90|3|5|418|155.39|49.5|3",
    [499] = L["Deeprun Tram"] .. "|0|0|3|5|84|55.97|162.21|1",
    [503] = L["Brawl'gar Arena"] .. "|0|0|3|5|85|75.6|34.6|1",
    [504] = L["Isle of Thunder"] .. "|85|90|2|6||",
    [507] = L["Isle of Giants"] .. "|85|90|2|6||",
    [508] = L["Throne of Thunder"] .. "|90|90|3|5|504|55.97|162.21|1025",
    [516] = L["Isle of Thunder Scenario"] .. "|90|90|3|5|504|55.97|162.21|1",
    [518] = L["Thunder King's Citadel"] .. "|90|90|3|5|504|55.97|162.21|1",
    [519] = L["Deepwind Gorge"] .. "|0|0|3|4||",
    [520] = L["Dark Heart of Pandaria"] .. "|90|90|3|5|390|50|50|3",
    [522] = L["The Secrets of Ragefire"] .. "|90|90|3|5|1|50|50|3",
    [523] = L["Blood in the Snow"] .. "|90|90|3|5|27|55|55|3",
    [524] = L["Battle on the High Seas"] .. "|90|90|3|5|418|14.5|75|3",
    [554] = L["Timeless Isle"] .. "|90|90|2|6||",
    [556] = L["Siege of Orgrimmar"] .. "|90|90|3|5|390|73.9|42.2|1025",
    [571] = L["Celestial Tournament"] .. "|90|90|3|5|554|25|25|3",
}


Nx.SubNames = {
		[L["Dalaran"]] = {
			[L["Cantrips & Crows"]] = 2,
			[L["Circle of Wills"]] = 2,
			[L["The Black Market"]] = 2,
			[L["The Underbelly"]] = 2,
		}
	}
