local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

G.guides.LEGION = G.guides.LEGION or {}

G.guides.LEGION.INSCRIPTION = {
    profession  = "Inscription",
    skillLineID = 2508, -- Legion Inscription
    nameKey = "PG_GUIDE_LEGION_INSCRIPTION_NAME",


    trainers = {
        alliance = {
            {
                npcID = 92195,
                name  = "Professor Pallin",
                mapID = 627, -- Dalaran (Broken Isles)
                x = 42.2,
                y = 38.0,
            },
        },
        horde = {
            {
                npcID = 92195,
                name  = "Professor Pallin",
                mapID = 627, -- Dalaran (Broken Isles)
                x = 42.2,
                y = 38.0,
            },
        },
    },

    steps = {

        -- 1–25
        {
            min = 1,
            max = 20,
            noteKey = "PG_GUIDE_LEGION_INSCRIPTION_NOTE_1",
			disableCraft = true,
			disableCraftAll = true,
            recipes = {
                {
                    spellID = 382986, -- Legion Milling
                    crafts  = 30,
                    autoReagents = true,
                },
            },
        },

        -- 25–40
        {
            min = 20,
            max = 40,
            noteKey = "PG_GUIDE_LEGION_INSCRIPTION_NOTE_2",
            recipes = {
                {
                    spellID = 227043,
                    crafts  = 25,
                    autoReagents = true,
                },
            },
        },

        -- 40–80
        {
            min = 40,
            max = 80,
            noteKey = "PG_GUIDE_LEGION_INSCRIPTION_NOTE_3",
            recipes = {
                {
                    spellID = 192867, -- Vantus Rune Technique: Skorpyron
                    crafts  = 40,
                    autoReagents = true,
                },
            },
        },

        -- 80–100
        {
            min = 80,
            max = 100,
            noteKey = "PG_GUIDE_LEGION_INSCRIPTION_NOTE_4",
            disablesShopping = true,
            recipes = {
                {
                    itemID = 137754, -- Vantus Rune Technique: Skorpyron
                    crafts  = 20,
                    reagents = {
                        { itemID = 129034, count = 3 },  -- Sallow Pigment
                        { itemID = 129032, count = 20 }, -- Roseate Pigment
                    },
                },
            },
        },
    },
}
