-- 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
    name = "Кожевничество — Shadowlands (1–100)",

    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,
                    reagents = {
                        { itemID = 172089, count = 9 },
                        { itemID = 177062, count = 2 },
                    },
                },
            },
        },

        -- 11–21
        {
            min = 11,
            max = 21,
            recipes = {
                {
                    spellID = 309176,
                    crafts  = 5,
                    reagents = {
                        { itemID = 172089, count = 9 },
                        { itemID = 177062, count = 1 },
                    },
                },
            },
        },

        -- 21–36
        {
            min = 21,
            max = 36,
            recipes = {
                {
                    spellID = 309177,
                    crafts  = 5,
                    reagents = {
                        { itemID = 172089, count = 10 },
                        { itemID = 177062, count = 2 },
                    },
                },
            },
        },

        -- 36–51
        {
            min = 36,
            max = 51,
            recipes = {
                {
                    spellID = 309179,
                    crafts  = 5,
                    reagents = {
                        { itemID = 172089, count = 10 },
                        { itemID = 177062, count = 3 },
                    },
                },
            },
        },

        -- 51–60
        {
            min = 51,
            max = 60,
            recipes = {
                {
                    spellID = 343195,
                    crafts  = 15,
                    reagents = {
                        { itemID = 172089, count = 9 },
                        { itemID = 177062, count = 1 },
                        { itemID = 183955, count = 3 },
                    },
                },
            },
        },

        -- 60–70
        {
            min = 60,
            max = 70,
            recipes = {
                {
                    spellID = 309236,
                    crafts  = 5,
                    reagents = {
                        { itemID = 172089, count = 30 },
                        { itemID = 172094, count = 1 },
                        { itemID = 177062, count = 1 },
                    },
                },
            },
        },

        -- 70–80
        {
            min = 70,
            max = 80,
            recipes = {
                {
                    spellID = 308899,
                    crafts  = 10,
                    reagents = {
                        { itemID = 172089, count = 10 },
                    },
                },
            },
        },

        -- 80–85
        {
            min = 80,
            max = 85,
            note = "|cff00ff00Декор доступен на 80 уровне навыка!|r",
            disablesShopping = true,
            recipes = {
                {
                    spellID = 308899,
                    crafts  = 10,
                    reagents = {
                        { itemID = 172089, count = 10 },
                    },
                },
            },
        },

        -- 85–89
        {
            min = 85,
            max = 89,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 308897,
                    crafts  = 4,
                    reagents = {
                        { itemID = 172094, count = 10 },
                    },
                },
            },
        },

        -- 89–92
        {
            min = 89,
            max = 92,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 309239,
                    crafts  = 1,
                    reagents = {
                        { itemID = 172097, count = 1 },
                        { itemID = 172092, count = 7 },
                        { itemID = 172096, count = 6 },
                        { itemID = 177062, count = 3 },
                    },
                },
            },
        },

        -- 92–100
        {
            min = 92,
            max = 100,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 309242,
                    crafts  = 3,
                    reagents = {
                        { itemID = 172097, count = 1 },
                        { itemID = 172092, count = 7 },
                        { itemID = 172096, count = 6 },
                        { itemID = 177062, count = 3 },
                    },
                },
            },
        },

    },
}
