local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

G.guides.CATACLYSM = G.guides.CATACLYSM or {}

G.guides.CATACLYSM.JEWELCRAFTING = {
    profession  = "Jewelcrafting",
    skillLineID = 2521, -- Cataclysm Jewelcrafting
    nameKey = "PG_GUIDE_CATACLYSM_JEWELCRAFTING_NAME",


    trainers = {
        alliance = {
            {
                npcID = 44582,
                name  = "Theresa Denman",
                mapID = 84, -- Stormwind
                x = 63.6,
                y = 61.6,
            },
        },
        horde = {
            {
                npcID = 46675,
                name  = "Lugrah",
                mapID = 85, -- Orgrimmar
                x = 72.4,
                y = 34.6,
            },
        },
    },

    steps = {

        -- 1–18
        {
            min = 1,
            max = 18,
            noteKey = "PG_GUIDE_CATACLYSM_JEWELCRAFTING_NOTE_1",

            recipes = {
                {
                    spellID = 73494, -- Jasper Ring
                    crafts  = 18,
                    autoReagents = true,
                },
            },
        },

        -- 18–35
        {
            min = 18,
            max = 30,
            recipes = {
                {
                    spellID = 73620,
                    crafts  = 17,
                    autoReagents = true,
                },
            },
        },

        -- 35–50
        {
            min = 30,
            max = 50,
            recipes = {
                {
                    spellID = 73497,
                    crafts  = 20,
                    autoReagents = true,
                },
            },
        },

        -- 50–60
        {
            min = 50,
            max = 60,
            noteKey = "PG_GUIDE_CATACLYSM_JEWELCRAFTING_NOTE_2",
            recipes = {
                {
                    spellID = 73497,
                    crafts  = 20,
                    autoReagents = true,
                },
            },
        },

        -- 60–70 (декор, реги не покупаем)
        {
            min = 60,
            max = 70,
            disablesShopping = true,
            noteKey = "PG_GUIDE_CATACLYSM_JEWELCRAFTING_NOTE_3",
            recipes = {
                {
                    spellID = 99539,
                    crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 70–75 (декор, реги не покупаем)
        {
            min = 70,
            max = 75,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 99542,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },
	}
}
