local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides
G.guides.TWW = G.guides.TWW or {}

G.guides.TWW.JEWELCRAFTING = {
    profession  = "Jewelcrafting",
    skillLineID = 2879, -- The War Within Jewelcrafting
    nameKey = "PG_GUIDE_TWW_JEWELCRAFTING_NAME",


    trainers = {
        alliance = {
            {
                npcID = 219087,
                name  = "Makir",
                mapID = 2339,
                x = 49.6,
                y = 71.0,
            },
        },
        horde = {
            {
                npcID = 219087,
                name  = "Makir",
                mapID = 2339,
                x = 49.6,
                y = 71.0,
            },
        },
    },

    steps = {

        -- 1–15
        {
            min = 1,
            max = 15,
            noteKey = "PG_GUIDE_TWW_JEWELCRAFTING_NOTE_1",
            disablesCraft = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 434018,
                    crafts  = 29,
                    autoReagents = true,
                },
            },
        },

        -- 15–17
        {
            min = 15,
            max = 17,
            recipes = {
                {
                    spellID = 435324,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 17–18
        {
            min = 17,
            max = 18,
            recipes = {
                {
                    spellID = 434537,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 18–19
        {
            min = 18,
            max = 19,
            recipes = {
                {
                    spellID = 434539,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 19–20
        {
            min = 19,
            max = 20,
            noteKey = "PG_GUIDE_TWW_JEWELCRAFTING_NOTE_2",
            recipes = {
                {
                    spellID = 434540,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 20–22
        {
            min = 20,
            max = 22,
            recipes = {
                {
                    spellID = 435371,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 22–26
        {
            min = 22,
            max = 26,
            recipes = {
                {
                    spellID = 435323,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 26–31
        {
            min = 26,
            max = 31,
            recipes = {
                {
                    spellID = 435325,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

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

        -- 33–35
        {
            min = 33,
            max = 35,
            recipes = {
                {
                    spellID = 435380,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 35–37
        {
            min = 35,
            max = 37,
            recipes = {
                {
                    spellID = 435377,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 37–39
        {
            min = 37,
            max = 39,
            recipes = {
                {
                    spellID = 435373,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 39–41
        {
            min = 39,
            max = 41,
            recipes = {
                {
                    spellID = 435373,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 41–55
        {
            min = 41,
            max = 55,
            recipes = {
                {
                    spellID = 435375,
                    crafts  = 17,
                    autoReagents = true,
                },
            },
        },

        -- 55–80
        {
            min = 55,
            max = 80,
            noteKey = "PG_GUIDE_TWW_JEWELCRAFTING_NOTE_3",
            recipes = {
                {
                    spellID = 435319,
                    crafts  = 8,
                    autoReagents = true,
                },
            },
        },

        -- 80–100 (декор)
        {
            min = 80,
            max = 100,
            disablesShopping = true,
            noteKey = "PG_GUIDE_TWW_JEWELCRAFTING_NOTE_4",
            recipes = {
                {
                    spellID = 435319,
                    crafts  = 7,
                    autoReagents = true,
                },
            },
        },
    },
}
