local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.DRAGONFLIGHT = G.guides.DRAGONFLIGHT or {}

-- =====================================================
-- Engineering — Dragonflight
-- skillLineID: 2827
-- =====================================================

G.guides.DRAGONFLIGHT.ENGINEERING = {
    profession  = "Engineering",
    skillLineID = 2827, -- Dragon Isles Engineering
    nameKey = "PG_GUIDE_DRAGONFLIGHT_ENGINEERING_NAME",


    trainers = {
        alliance = {
            {
                npcID = 193824, -- Тикки Трексобум
                name  = "Тикки Трексобум",
                mapID = 2112,
                x = 42.25,
                y = 48.65,
            },
        },
        horde = {
            {
                npcID = 193824,
                name  = "Тикки Трексобум",
                mapID = 2112,
                x = 42.25,
                y = 48.65,
            },
        },
    },

    steps = {

        -- 1-15
        {
            min = 1,
            max = 15,
            recipes = {{
                spellID = 382375,
                crafts  = 25,
                autoReagents = true,
            }},
        },

        -- 15-21
        {
            min = 15,
            max = 21,
            recipes = {{
                spellID = 382376,
                crafts  = 6,
                autoReagents = true,
            }},
        },

        -- 21-23
        {
            min = 21,
            max = 23,
            recipes = {{
                spellID = 382393,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 23-25
        {
            min = 23,
            max = 25,
            recipes = {{
                spellID = 382392,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 25-27
        {
            min = 25,
            max = 27,
            recipes = {{
                spellID = 382397,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 27-29
        {
            min = 27,
            max = 29,
            recipes = {{
                spellID = 382395,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 29-31
        {
            min = 29,
            max = 31,
            recipes = {{
                spellID = 382398,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 31-33
        {
            min = 31,
            max = 33,
            recipes = {{
                spellID = 382396,
                crafts  = 1,
                autoReagents = true,
            }},
        },

        -- 33-41
        {
            min = 33,
            max = 41,
            recipes = {{
                spellID = 382393,
                crafts  = 4,
                autoReagents = true,
            }},
        },

        -- 41-45
        {
            min = 41,
            max = 45,
            recipes = {{
                spellID = 396777,
                crafts  = 4,
                autoReagents = true,
            }},
        },

        -- 45-50
        {
            min = 45,
            max = 50,
            disableCraft    = true,
            disableCraftAll = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_ENGINEERING_NOTE_1",
            recipes = {{
                spellID = 382387,
                crafts  = 5,
                autoReagents = true,
            }},
        },

        -- 50-65
        {
            min = 50,
            max = 65,
            recipes = {{
                spellID = 382348,
                crafts  = 50,
                autoReagents = true,
            }},
        },

        -- 65-80 (Искры / наручи)
        {
            min = 65,
            max = 80,
            disablesShopping = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_ENGINEERING_NOTE_2",
        },

        -- 80-100
        {
            min = 80,
            max = 100,
            disablesShopping = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_ENGINEERING_NOTE_3",
        },

    },
}