-- ProfessionGuides/Epochs.lua
local PT = AhUI
if not PT then return end

PT.ProfessionGuides_Epochs = PT.ProfessionGuides_Epochs or {}
local E = PT.ProfessionGuides_Epochs

E.professionsOrder = {
    "Alchemy",
    "Blacksmithing",
    -- "Enchanting",
    -- "Engineering",
    "Inscription",
    "Jewelcrafting",
    -- "Leatherworking",
    "Tailoring",
}

E.Alchemy = {
    -- порядок эпох в UI
    order = {
        2485, -- Classic
        2484, -- Outland
        2483, -- Northrend
        2482, -- Cataclysm
        2481, -- Pandaria
        2480, -- Draenor
        2479, -- Legion
        2478, -- BFA
        2750, -- Shadowlands
        2823, -- Dragon Isles (DF)
        2871, -- Khaz Algar (TWW)
    },

    -- данные эпох
    data = {
        [2485] = { name = "Classic" },
        [2484] = { name = "The Burning Crusade" },
        [2483] = { name = "Wrath of the Lich King" },
        [2482] = { name = "Cataclysm" },
        [2481] = { name = "Mists of Pandaria" },
        [2480] = { name = "Warlords of Draenor" },
        [2479] = { name = "Legion" },
        [2478] = { name = "Battle For Azeroth" },
        [2750] = { name = "Shadowlands" },
        [2823] = { name = "Dragonflight" },
        [2871] = { name = "The War Within" },
    },
}

E.Blacksmithing = {
    -- порядок эпох в UI
    order = {
        2477, -- Classic
        2476, -- Outland
        2475, -- Northrend
        2474, -- Cataclysm
        2473, -- Pandaria
        2472, -- Draenor
        2454, -- Legion
        2437, -- Battle for Azeroth (Kul Tiran)
        2751, -- Shadowlands
        2822, -- Dragon Isles (DF)
        2872, -- Khaz Algar (TWW)
    },

    -- данные эпох
    data = {
        [2477] = { name = "Classic" },
        [2476] = { name = "The Burning Crusade" },
        [2475] = { name = "Wrath of the Lich King" },
        [2474] = { name = "Cataclysm" },
        [2473] = { name = "Mists of Pandaria" },
        [2472] = { name = "Warlords of Draenor" },
        [2454] = { name = "Legion" },
        [2437] = { name = "Battle For Azeroth" },
        [2751] = { name = "Shadowlands" },
        [2822] = { name = "Dragonflight" },
        [2872] = { name = "The War Within" },
    },
}

E.Tailoring = {
    order = {
        2540, -- Classic
        2539, -- Outland
        2538, -- Northrend
        2537, -- Cataclysm
        2536, -- Pandaria
        2535, -- Draenor
        2534, -- Legion
        2533, -- Battle for Azeroth (Kul Tiran, shared)
        2759, -- Shadowlands
        2831, -- Dragon Isles (DF)
        2883, -- Khaz Algar (TWW)
        --2918, -- Midnight
    },

    data = {
        [2540] = { name = "Classic" },
        [2539] = { name = "The Burning Crusade" },
        [2538] = { name = "Wrath of the Lich King" },
        [2537] = { name = "Cataclysm" },
        [2536] = { name = "Mists of Pandaria" },
        [2535] = { name = "Warlords of Draenor" },
        [2534] = { name = "Legion" },
        [2533] = { name = "Battle For Azeroth" },
        [2759] = { name = "Shadowlands" },
        [2831] = { name = "Dragonflight" },
        [2883] = { name = "The War Within" },
        --[2918] = { name = "Midnight" },
    },
}

E.Jewelcrafting = {
    order = {
        2524, -- Classic
        2523, -- Outland
        2522, -- Northrend
        2521, -- Cataclysm
        2520, -- Pandaria
        2519, -- Draenor
        2518, -- Legion
        2517, -- Battle for Azeroth (Kul Tiran, shared)
        2757, -- Shadowlands
        2829, -- Dragon Isles (DF)
        2879, -- Khaz Algar (TWW)
        --2914, -- Midnight ()
    },

    data = {
        [2524] = { name = "Classic" },
        [2523] = { name = "The Burning Crusade" },
        [2522] = { name = "Wrath of the Lich King" },
        [2521] = { name = "Cataclysm" },
        [2520] = { name = "Mists of Pandaria" },
        [2519] = { name = "Warlords of Draenor" },
        [2518] = { name = "Legion" },
        [2517] = { name = "Battle For Azeroth" },
        [2757] = { name = "Shadowlands" },
        [2829] = { name = "Dragonflight" },
        [2879] = { name = "The War Within" },
        --[2914] = { name = "Midnight" },
    },
}
E.Inscription = {
    order = {
        2514, -- Classic
        2513, -- Outland
        2512, -- Northrend
        2511, -- Cataclysm
        2510, -- Pandaria
        2509, -- Draenor
        2508, -- Legion
        2507, -- Battle for Azeroth (Kul Tiran)
        2756, -- Shadowlands
        2828, -- Dragon Isles (DF)
        2878, -- Khaz Algar (TWW)
        --2913, -- Midnight (future)
    },

    data = {
        [2514] = { name = "Classic" },
        [2513] = { name = "The Burning Crusade" },
        [2512] = { name = "Wrath of the Lich King" },
        [2511] = { name = "Cataclysm" },
        [2510] = { name = "Mists of Pandaria" },
        [2509] = { name = "Warlords of Draenor" },
        [2508] = { name = "Legion" },
        [2507] = { name = "Battle For Azeroth" },
        [2756] = { name = "Shadowlands" },
        [2828] = { name = "Dragonflight" },
        [2878] = { name = "The War Within" },
        --[2913] = { name = "Midnight" },
    },
}
