-- ProfessionGuides/Leatherworking/Shadowlands_Leatherworking.lua
local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.SHADOWLANDS = G.guides.SHADOWLANDS or {}

G.guides.SHADOWLANDS.LEATHERWORKING = {
    profession  = "Leatherworking",
    skillLineID = 2758, -- Shadowlands Leatherworking
    nameKey = "PG_GUIDE_SHADOWLANDS_LEATHERWORKING_NAME",


    trainers = {
        alliance = {
            {
                npcID = 156669, -- Tanner Au'qil
                name  = "Tanner Au'qil",
                mapID = 1670, -- Oribos
                x = 42.15,
                y = 26.23,
            },
        },
        horde = {
            {
                npcID = 156669,
                name  = "Tanner Au'qil",
                mapID = 1670,
                x = 42.15,
                y = 26.23,
            },
        },
    },

    steps = {

        -- 1–11
        {
            min = 1,
            max = 11,
            recipes = {
                {
                    spellID = 309174,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 11–21
        {
            min = 11,
            max = 21,
            recipes = {
                {
                    spellID = 309176,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 21–36
        {
            min = 21,
            max = 36,
            recipes = {
                {
                    spellID = 309177,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 36–51
        {
            min = 36,
            max = 51,
            recipes = {
                {
                    spellID = 309179,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 51–60
        {
            min = 51,
            max = 60,
            recipes = {
                {
                    spellID = 343195,
                    crafts  = 15,
                    autoReagents = true,
                },
            },
        },

        -- 60–70
        {
            min = 60,
            max = 70,
            recipes = {
                {
                    spellID = 309236,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 70–80
        {
            min = 70,
            max = 80,
            recipes = {
                {
                    spellID = 308899,
                    crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 80–85
        {
            min = 80,
            max = 85,
            noteKey = "PG_GUIDE_SHADOWLANDS_LEATHERWORKING_NOTE_1",
            disablesShopping = true,
            recipes = {
                {
                    spellID = 308899,
                    crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 85–89
        {
            min = 85,
            max = 89,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 308897,
                    crafts  = 4,
                    autoReagents = true,
                },
            },
        },

        -- 89–92
        {
            min = 89,
            max = 92,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 309239,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 92–100
        {
            min = 92,
            max = 100,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 309242,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

    },
}
