-- 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
    name = "Кузнечное дело — Shadowlands (1–100)",

    -- =========================
    -- 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,
                    reagents = {
                        { itemID = 171828, count = 8 }, -- Laestrite Bar
                        { itemID = 180733, count = 2 }, -- Elethium Ore
                    },
                },
            },
        },

        -- 5–10 : 5x Shadowghast Ring
        {
            min = 5,
            max = 10,
            recipes = {
                {
                    spellID = 307669,
                    crafts  = 5,
                    reagents = {
                        { itemID = 171828, count = 7 }, -- Laestrite Bar
                        { itemID = 180733, count = 1 }, -- Elethium Ore
                    },
                },
            },
        },

        -- 10–16 : 3x Shadowghast Necklace
        {
            min = 10,
            max = 16,
            recipes = {
                {
                    spellID = 307675,
                    crafts  = 3,
                    reagents = {
                        { itemID = 171828, count = 8 },
                        { itemID = 180733, count = 6 },
                    },
                },
            },
        },

        -- 16–18 : 2x Ceremonious Armguards
        {
            min = 16,
            max = 18,
            recipes = {
                {
                    spellID = 307721,
                    crafts  = 2,
                    reagents = {
                        { itemID = 171828, count = 2 },
                    },
                },
            },
        },

        -- 18–20 : 1x Ceremonious Waistguard
        {
            min = 18,
            max = 20,
            recipes = {
                {
                    spellID = 307671,
                    crafts  = 1,
                    reagents = {
                        { itemID = 171828, count = 9 },
						{ itemID = 180733, count = 3 },
                    },
                },
            },
        },

        -- 20–26 : 3x Ceremonious Greaves
        {
            min = 20,
            max = 26,
            recipes = {
                {
                    spellID = 307674,
                    crafts  = 3,
                    reagents = {
                        { itemID = 171828, count = 8 },
						{ itemID = 180733, count = 6 },
                    },
                },
            },
        },

        -- 26–30 : 2x Ceremonious Breastplate
        {
            min = 26,
            max = 30,
            recipes = {
                {
                    spellID = 307672,
                    crafts  = 2,
                    reagents = {
                        { itemID = 171828, count = 8 },
						{ itemID = 180733, count = 6 },
                    },
                },
            },
        },

        -- 30–36 : 3x Shadowsteel Armguards
        {
            min = 30,
            max = 36,
            recipes = {
                {
                    spellID = 307667,
                    crafts  = 3,
                    reagents = {
                        { itemID = 171828, count = 12 },
						{ itemID = 180733, count = 2 },
                    },
                },
            },
        },

        -- 36–40 : 2x Shadowsteel Waistguard
        {
            min = 36,
            max = 40,
            recipes = {
                {
                    spellID = 307668,
                    crafts  = 2,
                    reagents = {
                        { itemID = 171828, count = 8 },
						{ itemID = 180733, count = 2 },
                    },
                },
            },
        },

        -- 40–45 : 7x Shadowsteel Greaves
        {
            min = 40,
            max = 45,
            recipes = {
                {
                    spellID = 307679,
                    crafts  = 7,
                    reagents = {
                        { itemID = 171828, count = 5 },
						{ itemID = 180733, count = 8 },
                    },
                },
            },
        },

        -- 45–50 : 5x Reinforced Shadowsteel Breastplate
        {
            min = 45,
            max = 50,
            recipes = {
                {
                    spellID = 343184,
                    crafts  = 5,
                    reagents = {
                        { itemID = 171828, count = 7 },
						{ itemID = 180733, count = 3 },
                    },
                },
            },
        },

        -- 50–60 : 20x Shadowghast Ingot
        {
            min = 50,
            max = 60,
            recipes = {
                {
                    spellID = 307611,
                    crafts  = 20,
                    reagents = {
                        { itemID = 171829, count = 1 },
                        { itemID = 171832, count = 1 },
						{ itemID = 171831, count = 1 },
						{ itemID = 171830, count = 1 },
						{ itemID = 180733, count = 4 },
                    },
                },
            },
        },

        -- 60–70 : 5x Shadowsteel Sabatons
        {
            min = 60,
            max = 70,
            recipes = {
                {
                    spellID = 322594,
                    crafts  = 5,
                    reagents = {
                        { itemID = 171828, count = 4 },
                        { itemID = 171428, count = 7 },
						{ itemID = 171833, count = 1 },
						{ itemID = 180733, count = 2 },
                    },
                },
            },
        },

        -- 70–80 : 10x Shadowsteel Helm
        {
            min = 70,
            max = 80,
            recipes = {
                {
                    spellID = 322589,
                    crafts  = 10,
                    reagents = {
                        { itemID = 171828, count = 5 },
                        { itemID = 171428, count = 7 },
						{ itemID = 171833, count = 1 },
						{ itemID = 180733, count = 2 },
                    },
                },
            },
            note = "|cff00ff00Декор доступен с навыка 80!|r",
        },

        -- 80–92
        {
            min = 80,
            max = 92,
            disablesShopping = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 322587,
                    crafts  = 4,
                    reagents = {
                        { itemID = 171828, count = 6 },
                        { itemID = 171428, count = 12 },
						{ itemID = 171833, count = 2 },
						{ itemID = 180733, count = 3 },
                    },
                },
            },
            note =
                "|cff00ff00Декор доступен!|r\n" ..
                "Этот шаг не добавляется в список покупок.",
        },

        -- 92–100
        {
            min = 92,
            max = 100,
            disablesShopping = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 322591,
                    crafts  = 3,
                    reagents = {
                        { itemID = 171828, count = 6 },
                        { itemID = 171428, count = 12 },
						{ itemID = 171833, count = 2 },
						{ itemID = 180733, count = 3 },
                    },
                },
            },
            note =
                "Финальный шаг до 100.\n" ..
                "Не добавляется в список покупок.",
        },
    },
}
