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

G.guides.CLASSIC = G.guides.CLASSIC or {}

G.guides.CLASSIC.BLACKSMITHING = {
	profession  = "Blacksmithing",
	skillLineID = 2477, -- Classic Blacksmithing
	name = "Кузнечное дело — Классика (1–300)",

	trainers = {
		alliance = {
			{
				npcID = 55684, -- Jordan Smith
				name  = "Jordan Smith",
				mapID = 84, -- Stormwind
				x = 64.8,
				y = 48.2,
			},
		},
		horde = {
			{
				npcID = 44781, -- Opuno Ironhorn
				name  = "Opuno Ironhorn",
				mapID = 85, -- Orgrimmar
				x = 40.6,
				y = 49.8,
			},
		},
	},
	
	vendors = {
		horde = {
			{
				npcID = 8176, -- Gharash
				name  = "Gharash",
				mapID = 51, -- Badlands
				x = 47.0,
				y = 52.6,

				sells = {
					{ itemID = 7995 }, -- Plans: Mithril Scale Bracers
				},
			},
		},
		alliance = {
			{
				npcID = 8161, -- Harggan
				name  = "Harggan",
				mapID = 26, -- Loch Modan
				x = 13.6,
				y = 44.8,

				sells = {
					{ itemID = 7995 }, -- Plans: Mithril Scale Bracers
				},
			},
		},
	},

	steps = {
		-- =====================================================
		-- 1–90
		-- =====================================================

		-- 1 - 25: 25x Rough Sharpening Stone (25 Rough Stone)
		{
			min = 1,
			max = 25,
			recipes = {
				{
					spellID = 2660, -- Rough Sharpening Stone
					crafts  = 25,
					reagents = {
						{ itemID = 2835, count = 1 }, -- Rough Stone
					},
				},
			},
			note = "Рецепт на последних ~5 очков становится жёлтым — возможно, понадобится сделать чуть больше.",
		},

		-- 25 - 65: 50x Rough Grinding Stone (100 Rough Stone)
		{
			min = 25,
			max = 65,
			recipes = {
				{
					spellID = 3320, -- Rough Grinding Stone
					crafts  = 50,
					reagents = {
						{ itemID = 2835, count = 2 }, -- Rough Stone
					},
				},
			},
			note = "Если у вас остался дешёвый Rough Stone — можно крафтить это до 75.",
		},

		-- 65 - 75: 16x Coarse Sharpening Stone (16 Coarse Stone)
		{
			min = 65,
			max = 75,
			recipes = {
				{
					spellID = 2665, -- Coarse Sharpening Stone
					crafts  = 16,
					reagents = {
						{ itemID = 2836, count = 1 }, -- Coarse Stone
					},
				},
			},
			note = "Рецепт сначала жёлтый, затем зелёный на последних ~3 очках — возможно, понадобится сделать чуть больше.",
		},

		-- 75 - 90: 40x Coarse Grinding Stone (80 Coarse Stone)
		{
			min = 75,
			max = 90,
			recipes = {
				{
					spellID = 3326, -- Coarse Grinding Stone
					crafts  = 40,
					reagents = {
						{ itemID = 2836, count = 2 }, -- Coarse Stone
					},
				},
			},
			note = "Сохраните Coarse Grinding Stone — они понадобятся позже!",
		},

		-- =====================================================
		-- 90–155
		-- =====================================================

		-- 90 - 100: 10x Runed Copper Belt (100 Copper Bar)
		{
			min = 90,
			max = 100,
			recipes = {
				{
					spellID = 2666, -- Runed Copper Belt
					crafts  = 10,
					reagents = {
						{ itemID = 2840, count = 10 }, -- Copper Bar
					},
				},
			},
		},

		-- 100 - 105: 5-7x Silver Skeleton Key (7 Silver Bar, 14 Rough Grinding Stone)
		-- (В гайде: можно пропустить, если нет Silver Bar, и продолжать Runed Copper Belt)
		{
			min = 100,
			max = 105,
			recipes = {
				{
					spellID = 19666, -- Silver Skeleton Key
					crafts  = 7,
					reagents = {
						{ itemID = 2842, count = 1 }, -- Silver Bar
						{ itemID = 3470, count = 1, crafted = true }, -- Rough Grinding Stone
					},
				},
			},
			note = "Можно пропустить этот шаг, если нет Silver Bar, и делать Runed Copper Belt из предыдущего шага.",
		},

		-- 105 - 110: 5x Rough Bronze Leggings (30 Bronze Bar)
		{
			min = 105,
			max = 110,
			recipes = {
				{
					spellID = 2668, -- Rough Bronze Leggings
					crafts  = 5,
					reagents = {
						{ itemID = 2841, count = 6 }, -- Bronze Bar
					},
				},
			},
		},

		-- 110 - 125: 15x Rough Bronze Shoulders (75 Bronze Bar, 15 Coarse Grinding Stone)
		{
			min = 110,
			max = 125,
			recipes = {
				{
					spellID = 3328, -- Rough Bronze Shoulders
					crafts  = 15,
					reagents = {
						{ itemID = 2841, count = 5 }, -- Bronze Bar
						{ itemID = 3478, count = 1, crafted = true }, -- Coarse Grinding Stone
					},
				},
			},
		},

		-- 125 - 140: 35x Heavy Grinding Stone (105 Heavy Stone)
		{
			min = 125,
			max = 140,
			recipes = {
				{
					spellID = 3337, -- Heavy Grinding Stone
					crafts  = 35,
					reagents = {
						{ itemID = 2838, count = 3 }, -- Heavy Stone
					},
				},
			},
			note = "Сохраните Heavy Grinding Stone. Если Heavy Stone дешёвый — можно делать до 150.",
		},

		-- 140 - 145: 5x Rough Bronze Shoulders (25 Bronze Bar, 5 Coarse Grinding Stone)
		{
			min = 140,
			max = 145,
			recipes = {
				{
					spellID = 3328, -- Rough Bronze Shoulders
					crafts  = 5,
					reagents = {
						{ itemID = 2841, count = 5 }, -- Bronze Bar
						{ itemID = 3478, count = 1, crafted = true }, -- Coarse Grinding Stone
					},
				},
			},
			note = "Если повезло с Heavy Grinding Stone и уже 145 — этот шаг можно пропустить.",
		},

		-- 145 - 155: 10x Patterned Bronze Bracers (50 Bronze Bar, 20 Coarse Grinding Stone)
		{
			min = 145,
			max = 155,
			recipes = {
				{
					spellID = 2672, -- Patterned Bronze Bracers
					crafts  = 10,
					reagents = {
						{ itemID = 2841, count = 5 }, -- Bronze Bar
						{ itemID = 3478, count = 2, crafted = true }, -- Coarse Grinding Stone
					},
				},
			},
			note = "Между 150–160 можно делать Golden Skeleton Key, если дёшево достаются Gold Bars.",
		},

		-- =====================================================
		-- 155–200
		-- =====================================================

		-- 155 - 165: 10x Green Iron Leggings (80 Iron Bar, 10 Heavy Grinding Stone, 10 Green Dye)
		{
			min = 155,
			max = 165,
			recipes = {
				{
					spellID = 3506, -- Green Iron Leggings
					crafts  = 10,
					reagents = {
						{ itemID = 3575, count = 8 }, -- Iron Bar
						{ itemID = 3486, count = 1, crafted = true }, -- Heavy Grinding Stone
						{ itemID = 2605, count = 1 }, -- Green Dye
					},
				},
			},
		},

		-- 165 - 190: 25x Green Iron Bracers (150 Iron Bar, 25 Green Dye)
		{
			min = 165,
			max = 190,
			recipes = {
				{
					spellID = 3501, -- Green Iron Bracers
					crafts  = 25,
					reagents = {
						{ itemID = 3575, count = 6 }, -- Iron Bar
						{ itemID = 2605, count = 1 }, -- Green Dye
					},
				},
			},
		},

		-- 190 - 200: 10x Golden Scale Bracers (50 Steel Bar, 20 Heavy Grinding Stone)
		{
			min = 190,
			max = 200,
			recipes = {
				{
					spellID = 7223, -- Golden Scale Bracers
					crafts  = 10,
					reagents = {
						{ itemID = 3859, count = 5 }, -- Steel Bar
						{ itemID = 3486, count = 2, crafted = true }, -- Heavy Grinding Stone
					},
				},
			},
		},

		-- =====================================================
		-- 200–260
		-- =====================================================

		-- 200 - 210: 20x Solid Sharpening Stone (20 Solid Stone)
		{
			min = 200,
			max = 210,
			recipes = {
				{
					spellID = 9918, -- Solid Sharpening Stone
					crafts  = 20,
					reagents = {
						{ itemID = 7912, count = 1 }, -- Solid Stone
					},
				},
			},
			note = "На последних очках рецепт зелёный — может понадобиться чуть больше/меньше крафтов.",
		},

		-- 210 - 225: 15x Heavy Mithril Gauntlet (90 Mithril Bar, 60 Mageweave Cloth)
		{
			min = 210,
			max = 225,
			recipes = {
				{
					spellID = 9928, -- Heavy Mithril Gauntlet
					crafts  = 15,
					reagents = {
						{ itemID = 3860, count = 6 }, -- Mithril Bar
						{ itemID = 4338, count = 4 }, -- Mageweave Cloth
					},
				},
			},
		},

		-- 225 - 236: 11x Mithril Scale Bracers (88 Mithril Bar)
		{
			min = 225,
			max = 236,

			recipes = {
				{
					spellID = 9931, -- Mithril Scale Pants
					crafts  = 11,
					reagents = {
						{ itemID = 3860, count = 12 }, -- Mithril Bar
					},
				},
			},
		},

		-- 236 - 250: 14x Mithril Coif (140 Mithril Bar, 84 Mageweave Cloth)
		{
			min = 236,
			max = 240,

			recipes = {
				{
					spellID = 9961, -- Mithril Coif
					crafts  = 4,
					reagents = {
						{ itemID = 3860, count = 10 }, -- Mithril Bar
						{ itemID = 4338, count = 6 },  -- Mageweave Cloth
					},
				},
			},

			note =
				"Обычный крафт.\n" ..
				"Навык может повышаться не с каждого предмета.",
		},
		{
			min = 240,
			max = 250,
			disablesShopping = true,
			recipes = {
				{
					spellID = 9961, -- Mithril Coif
					crafts  = 10,
					reagents = {
						{ itemID = 3860, count = 10 }, -- Mithril Bar
						{ itemID = 4338, count = 6 },  -- Mageweave Cloth
					},
				},
			},

			note =
				"|cff00ff00Декор доступен с 240 уровня навыка!|r\n\n" ..
				"Продолжайте крафт Mithril Coif, если нужен уровень навыка выше.\n" ..
				"Последние очки навыка могут прокаться не с каждого предмета.",
		},

		-- 250 - 260: 20x Dense Sharpening Stone (20 Dense Stone)
		{
			min = 250,
			max = 260,
			disablesShopping = true,
			recipes = {
				{
					spellID = 16641, -- Dense Sharpening Stone
					crafts  = 20,
					reagents = {
						{ itemID = 12365, count = 1 }, -- Dense Stone
					},
				},
			},
			note = "В гайде: на последних очках рецепт зелёный — может понадобиться чуть больше/меньше крафтов.",
		},

		-- =====================================================
		-- 260–300
		-- =====================================================

		-- 260 - 276: 16x Thorium Bracers (128 Thorium Bar)
		{
			min = 260,
			max = 276,
			disablesShopping = true,
			recipes = {
				{
					spellID = 16644, -- Thorium Bracers
					crafts  = 16,
					reagents = {
						{ itemID = 12359, count = 8 }, -- Thorium Bar
					},
				},
			},
		},

		-- 276 - 291: 15x Imperial Plate Bracers (180 Thorium Bar)
		{
			min = 276,
			max = 291,
			disablesShopping = true,
			recipes = {
				{
					spellID = 16660, -- Imperial Plate Bracers
					crafts  = 15,
					reagents = {
						{ itemID = 12359, count = 12 }, -- Thorium Bar
					},
				},
			},
		},

		-- 291 - 300: выбрать одно:
		-- 9x Thorium Boots (108 Thorium Bar, 72 Rugged Leather)
		-- или
		-- 9x Thorium Helm (108 Thorium Bar, 9 Star Ruby)
		{
			min = 291,
			max = 300,
			disablesShopping = true,
			recipes = {
				{
					spellID = 16652, -- Thorium Boots
					crafts  = 9,
					reagents = {
						{ itemID = 12359, count = 12 }, -- Thorium Bar
						{ itemID = 8170,  count = 8 },  -- Rugged Leather
					},
				},
				{
					spellID = 16653, -- Thorium Helm
					crafts  = 9,
					reagents = {
						{ itemID = 12359, count = 12 }, -- Thorium Bar
						{ itemID = 7910,  count = 1 },  -- Star Ruby
					},
				},
			},
			note =
				"Выберите один из вариантов:\n" ..
				"• Thorium Boots (нужна Rugged Leather)\n" ..
				"• Thorium Helm (нужен Star Ruby)\n" ..
				"Оба варианта в гайде идут одинаково на 291–300.",
		},
	},
}