-- 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
	nameKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NAME",


	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,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_1",
		},

		-- 25 - 65: 50x Rough Grinding Stone (100 Rough Stone)
		{
			min = 25,
			max = 65,
			recipes = {
				{
					spellID = 3320, -- Rough Grinding Stone
					crafts  = 50,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_2",
		},

		-- 65 - 75: 16x Coarse Sharpening Stone (16 Coarse Stone)
		{
			min = 65,
			max = 75,
			recipes = {
				{
					spellID = 2665, -- Coarse Sharpening Stone
					crafts  = 16,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_3",
		},

		-- 75 - 90: 40x Coarse Grinding Stone (80 Coarse Stone)
		{
			min = 75,
			max = 90,
			recipes = {
				{
					spellID = 3326, -- Coarse Grinding Stone
					crafts  = 40,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_4",
		},

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

		-- 90 - 100: 10x Runed Copper Belt (100 Copper Bar)
		{
			min = 90,
			max = 100,
			recipes = {
				{
					spellID = 2666, -- Runed Copper Belt
					crafts  = 10,
					autoReagents = true,
				},
			},
		},

		-- 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,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_5",
		},

		-- 105 - 110: 5x Rough Bronze Leggings (30 Bronze Bar)
		{
			min = 105,
			max = 110,
			recipes = {
				{
					spellID = 2668, -- Rough Bronze Leggings
					crafts  = 5,
					autoReagents = true,
				},
			},
		},

		-- 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,
					autoReagents = true,
				},
			},
		},

		-- 125 - 140: 35x Heavy Grinding Stone (105 Heavy Stone)
		{
			min = 125,
			max = 140,
			recipes = {
				{
					spellID = 3337, -- Heavy Grinding Stone
					crafts  = 35,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_6",
		},

		-- 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,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_7",
		},

		-- 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,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_8",
		},

		-- =====================================================
		-- 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,
					autoReagents = true,
				},
			},
		},

		-- 165 - 190: 25x Green Iron Bracers (150 Iron Bar, 25 Green Dye)
		{
			min = 165,
			max = 190,
			recipes = {
				{
					spellID = 3501, -- Green Iron Bracers
					crafts  = 25,
					autoReagents = true,
				},
			},
		},

		-- 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,
					autoReagents = true,
				},
			},
		},

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

		-- 200 - 210: 20x Solid Sharpening Stone (20 Solid Stone)
		{
			min = 200,
			max = 210,
			recipes = {
				{
					spellID = 9918, -- Solid Sharpening Stone
					crafts  = 20,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_9",
		},

		-- 210 - 225: 15x Heavy Mithril Gauntlet (90 Mithril Bar, 60 Mageweave Cloth)
		{
			min = 210,
			max = 225,
			recipes = {
				{
					spellID = 9928, -- Heavy Mithril Gauntlet
					crafts  = 15,
					autoReagents = true,
				},
			},
		},

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

			recipes = {
				{
					spellID = 9931, -- Mithril Scale Pants
					crafts  = 11,
					autoReagents = true,
				},
			},
		},

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

			recipes = {
				{
					spellID = 9961, -- Mithril Coif
					crafts  = 4,
					autoReagents = true,
				},
			},

			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_10",
		},
		{
			min = 240,
			max = 250,
			disablesShopping = true,
			recipes = {
				{
					spellID = 9961, -- Mithril Coif
					crafts  = 10,
					autoReagents = true,
				},
			},

			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_11",
		},

		-- 250 - 260: 20x Dense Sharpening Stone (20 Dense Stone)
		{
			min = 250,
			max = 260,
			disablesShopping = true,
			recipes = {
				{
					spellID = 16641, -- Dense Sharpening Stone
					crafts  = 20,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_12",
		},

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

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

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

		-- 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,
					autoReagents = true,
				},
				{
					spellID = 16653, -- Thorium Helm
					crafts  = 9,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CLASSIC_BLACKSMITHING_NOTE_13",
		},
	},
}