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

G.guides.NORTHREND = G.guides.NORTHREND or {}

G.guides.NORTHREND.BLACKSMITHING = {
    profession  = "Blacksmithing",
    skillLineID = 2475, -- Northrend Blacksmithing
    name = "Кузнечное дело — Нордскол (1–75)",

    trainers = {
        alliance = {
            {
                npcID = 28694, -- Alard Schmied
                name  = "Alard Schmied",
                mapID = 125,   -- Dalaran (Northrend)
                x = 46.0,
                y = 27.4,
            },
        },
        horde = {
            {
                npcID = 28694, -- Alard Schmied
                name  = "Alard Schmied",
                mapID = 125,
                x = 46.0,
                y = 27.4,
            },
        },
    },

    steps = {

        -- 1-5: 4x Cobalt Gauntlets
        {
            min = 1,
            max = 5,
            recipes = {
                {
                    spellID = 55835, -- Cobalt Gauntlets
                    crafts  = 4,
                    reagents = {
                        { itemID = 36916, count = 5 }, -- Cobalt Bar
                    },
                },
            },
        },

        -- 5-10: 5x Spiked Cobalt Boots
        {
            min = 5,
            max = 10,
            recipes = {
                {
                    spellID = 54918, -- Spiked Cobalt Boots
                    crafts  = 5,
                    reagents = {
                        { itemID = 36916, count = 7 }, -- Cobalt Bar
                    },
                },
            },
        },

        -- 10-15: 5x Spiked Cobalt Shoulders
        {
            min = 10,
            max = 15,
            recipes = {
                {
                    spellID = 54941, -- Spiked Cobalt Shoulders
                    crafts  = 5,
                    reagents = {
                        { itemID = 36916, count = 7 }, -- Cobalt Bar
                    },
                },
            },
        },

        -- 15-20: 5x Notched Cobalt War Axe
        {
            min = 15,
            max = 20,
            recipes = {
                {
                    spellID = 55204, -- Notched Cobalt War Axe
                    crafts  = 5,
                    reagents = {
                        { itemID = 36916, count = 10 }, -- Cobalt Bar
                    },
                },
            },
            note =
                "Если Saronite Bar дешевле, чем Cobalt Bar —\n" ..
                "можно вместо этого крафтить Deadly Saronite Dirk.",
        },

        -- 20-25: 5x Deadly Saronite Dirk
        {
            min = 20,
            max = 25,
            recipes = {
                {
                    spellID = 55206, -- Deadly Saronite Dirk
                    crafts  = 5,
                    reagents = {
                        { itemID = 36913, count = 7 }, -- Saronite Bar
                        { itemID = 37700, count = 2 }, -- Crystallized Air
                    },
                },
            },
        },

        -- 25-30: 5x Horned Cobalt Helm
        {
            min = 25,
            max = 30,
            recipes = {
                {
                    spellID = 54949, -- Horned Cobalt Helm
                    crafts  = 5,
                    reagents = {
                        { itemID = 36916, count = 8 }, -- Cobalt Bar
                    },
                },
            },
        },

        -- 30-40: 10x Deadly Saronite Dirk
        {
            min = 30,
            max = 40,
            recipes = {
                {
                    spellID = 55206, -- Deadly Saronite Dirk
                    crafts  = 10,
                    reagents = {
                        { itemID = 36913, count = 7 }, -- Saronite Bar
                        { itemID = 37700, count = 2 }, -- Crystallized Air
                    },
                },
            },
        },

        -- 40-45: 5x Tempered Saronite Gauntlets
        {
            min = 40,
            max = 45,
            recipes = {
                {
                    spellID = 55015, -- Tempered Saronite Gauntlets
                    crafts  = 5,
                    reagents = {
                        { itemID = 36913, count = 14 }, -- Saronite Bar
                    },
                },
            },
        },



        -- 50-55: 5x Daunting Handguards
        {
            min = 45,
            max = 55,
            recipes = {
                {
                    spellID = 55301, -- Daunting Handguards
                    crafts  = 10,
                    reagents = {
                        { itemID = 36913, count = 12 }, -- Saronite Bar
                        { itemID = 35624, count = 1 },  -- Eternal Earth
                    },
                },
            },
        },

        -- 55-70: 17x Daunting Legplates
		{
			min = 55,
			max = 60,

			recipes = {
				{
					spellID = 55303, -- Daunting Legplates
					crafts  = 5,
					reagents = {
						{ itemID = 36913, count = 14 }, -- Saronite Bar
						{ itemID = 35624, count = 1 },  -- Eternal Earth
					},
				},
			},
		},
		{
			min = 60,
			max = 70,
			disablesCraftAll = true,
            disablesShopping = true,
			recipes = {
				{
					spellID = 55303, -- Daunting Legplates
					crafts  = 12,
					reagents = {
						{ itemID = 36913, count = 14 }, -- Saronite Bar
						{ itemID = 35624, count = 1 },  -- Eternal Earth
					},
				},
			},

			note =
				"|cff00ff00Декор доступен с 60 навыка!|r\n\n" ..
				"Рецепт жёлтый на 60–70.\n" ..
				"Если навык не повышается —\n" ..
				"сделайте несколько дополнительных крафтов.",
		},

        -- 70-75: 17x Daunting Legplates
        {
            min = 70,
            max = 75,
			disablesCraftAll = true,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 55303, -- Daunting Legplates
                    crafts  = 17,
                    reagents = {
                        { itemID = 36913, count = 14 }, -- Saronite Bar
                        { itemID = 35624, count = 1 },  -- Eternal Earth
                    },
                },
            },
            note =
                "Рецепт уже зелёный —\n" ..
                "количество крафтов может отличаться.\n" ..
                "Если не везёт со скиллапами — сделайте больше.",
        },
    },
}
