-- ProfessionGuides/Blacksmithing/Shadowlands_Blacksmithing.lua
local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

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

G.guides.SHADOWLANDS.BLACKSMITHING = {
    profession  = "Blacksmithing",
    skillLineID = 2751, -- Shadowlands Blacksmithing
    nameKey = "PG_GUIDE_SHADOWLANDS_BLACKSMITHING_NAME",


    -- =========================
    -- TRAINER
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 156666, -- Smith Auberk
                name  = "Smith Auberk",
                mapID = 1670, -- Oribos
                x = 40.8,
                y = 31.6,
            },
        },
        horde = {
            {
                npcID = 156666, -- Smith Auberk
                name  = "Smith Auberk",
                mapID = 1670,
                x = 40.8,
                y = 31.6,
            },
        },
    },

    -- =========================
    -- STEPS (СТРОГО ПО ТВОЕМУ СПИСКУ)
    -- =========================
    steps = {

        -- 1–5 : 2x Shadowghast Ingot
        {
            min = 1,
            max = 5,
            recipes = {
                {
                    spellID = 307664,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 5–10 : 5x Shadowghast Ring
        {
            min = 5,
            max = 10,
            recipes = {
                {
                    spellID = 307669,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 10–16 : 3x Shadowghast Necklace
        {
            min = 10,
            max = 16,
            recipes = {
                {
                    spellID = 307675,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 16–18 : 2x Ceremonious Armguards
        {
            min = 16,
            max = 18,
            recipes = {
                {
                    spellID = 307721,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 18–20 : 1x Ceremonious Waistguard
        {
            min = 18,
            max = 20,
            recipes = {
                {
                    spellID = 307671,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 20–26 : 3x Ceremonious Greaves
        {
            min = 20,
            max = 26,
            recipes = {
                {
                    spellID = 307674,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 26–30 : 2x Ceremonious Breastplate
        {
            min = 26,
            max = 30,
            recipes = {
                {
                    spellID = 307672,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 30–36 : 3x Shadowsteel Armguards
        {
            min = 30,
            max = 36,
            recipes = {
                {
                    spellID = 307667,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 36–40 : 2x Shadowsteel Waistguard
        {
            min = 36,
            max = 40,
            recipes = {
                {
                    spellID = 307668,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 40–45 : 7x Shadowsteel Greaves
        {
            min = 40,
            max = 45,
            recipes = {
                {
                    spellID = 307679,
                    crafts  = 7,
                    autoReagents = true,
                },
            },
        },

        -- 45–50 : 5x Reinforced Shadowsteel Breastplate
        {
            min = 45,
            max = 50,
            recipes = {
                {
                    spellID = 343184,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 50–60 : 20x Shadowghast Ingot
        {
            min = 50,
            max = 60,
            recipes = {
                {
                    spellID = 307611,
                    crafts  = 20,
                    autoReagents = true,
                },
            },
        },

        -- 60–70 : 5x Shadowsteel Sabatons
        {
            min = 60,
            max = 70,
            recipes = {
                {
                    spellID = 322594,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 70–80 : 10x Shadowsteel Helm
        {
            min = 70,
            max = 80,
            recipes = {
                {
                    spellID = 322589,
                    crafts  = 10,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_SHADOWLANDS_BLACKSMITHING_NOTE_1",
        },

        -- 80–92
        {
            min = 80,
            max = 92,
            disablesShopping = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 322587,
                    crafts  = 4,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_SHADOWLANDS_BLACKSMITHING_NOTE_2",
        },

        -- 92–100
        {
            min = 92,
            max = 100,
            disablesShopping = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 322591,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_SHADOWLANDS_BLACKSMITHING_NOTE_3",
        },
    },
}
