local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

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

G.guides.DRAGONFLIGHT.INSCRIPTION = {
    profession  = "Inscription",
    skillLineID = 2828, -- Dragon Isles Inscription
    nameKey = "PG_GUIDE_DRAGONFLIGHT_INSCRIPTION_NAME",


    trainers = {
        alliance = {
            {
                npcID = 185540,
                name  = "Talendara",
                mapID = 2112, -- Valdrakken
                x = 39.4,
                y = 73.6,
            },
        },
        horde = {
            {
                npcID = 185540,
                name  = "Talendara",
                mapID = 2112, -- Valdrakken
                x = 39.4,
                y = 73.6,
            },
        },
    },

    steps = {

        -- 1–5
        {
            min = 1,
            max = 5,
            useEffectiveSkill = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_INSCRIPTION_NOTE_1",
            recipes = {
                {
                    spellID = 383788,
                    crafts  = 4,
                    autoReagents = true,
                },
            },
        },

        -- 5–10
        {
            min = 5,
            max = 10,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383786,
                    crafts  = 4,
                    autoReagents = true,
                },
            },
        },

        -- 10–15
        {
            min = 10,
            max = 15,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383787,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 15–20
        {
            min = 15,
            max = 20,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 384949,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 20–23
        {
            min = 20,
            max = 23,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383563,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 23–25
        {
            min = 23,
            max = 25,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 384948,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 25–30
        {
            min = 25,
            max = 30,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383791,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 30–31
        {
            min = 30,
            max = 31,
            recipes = {
                {
                    spellID = 383529,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 31–32
        {
            min = 31,
            max = 32,
            recipes = {
                {
                    spellID = 383527,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 32–33
        {
            min = 32,
            max = 33,
            recipes = {
                {
                    spellID = 383525,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 33–35
        {
            min = 33,
            max = 35,
            recipes = {
                {
                    spellID = 383791,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 35–42
        {
            min = 35,
            max = 42,
            recipes = {
                {
                    spellID = 383527,
                    crafts  = 15,
                    autoReagents = true,
                },
            },
        },

        -- 42–46
        {
            min = 42,
            max = 46,
            recipes = {
                {
                    spellID = 383790,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 46–47
        {
            min = 46,
            max = 47,
            recipes = {
                {
                    spellID = 383561,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 47–48
        {
            min = 47,
            max = 48,
            recipes = {
                {
                    spellID = 383562,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 48–49
        {
            min = 48,
            max = 49,
            recipes = {
                {
                    spellID = 383555,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 49–50
        {
            min = 49,
            max = 50,
            recipes = {
                {
                    spellID = 383556,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 50–51
        {
            min = 50,
            max = 51,
            recipes = {
                {
                    spellID = 383554,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 51–55
        {
            min = 51,
            max = 55,
            recipes = {
                {
                    spellID = 383560,
                    crafts  = 4,
                    autoReagents = true,
                },
            },
        },

        -- 55–80
        {
            min = 55,
            max = 80,
            recipes = {
                {
                    spellID = 383546,
                    crafts  = 55,
                    autoReagents = true,
                },
            },
        },

        -- 80–100 (декор)
        {
            min = 80,
            max = 100,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_INSCRIPTION_NOTE_2",
            disablesShopping = true,
        },
    },
}
