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

G.guides.CATACLYSM = G.guides.CATACLYSM or {}

G.guides.CATACLYSM.BLACKSMITHING = {
	profession  = "Blacksmithing",
	skillLineID = 2474, -- Cataclysm Blacksmithing
	name = "Кузнечное дело — Катаклизм (1–75)",

	trainers = {
		alliance = {
			{
				npcID = 55684, -- Jordan Smith
				name  = "Jordan Smith",
				mapID = 84, -- Stormwind City
				x = 64.8,
				y = 48.2,
			},
		},
		horde = {
			{
				npcID = 44781, -- Opuno Ironhorn
				name  = "Opuno Ironhorn",
				mapID = 85, -- Orgrimmar
				x = 40.6,
				y = 49.8,
			},
		},
	},

	steps = {

		-- 1 - 5
		-- 195x Folded Obsidium - 390 Obsidium Bar
		{
			min = 1,
			max = 5,
			useEffectiveSkill = true,
			recipes = {
				{
					spellID = 76178, -- Folded Obsidium
					crafts  = 195,
					reagents = {
						{ itemID = 54849, count = 2 }, -- Obsidium Bar
					},
				},
			},
			note = "|cff00ff00Это нужно для последующих крафтов, 195 штук|r.",
		},

		-- 5 - 10
		-- 5x Redsteel Bracers - 15 x Folded Obsidium
		{
			min = 5,
			max = 15,
			
			recipes = {
				{
					spellID = 76262, -- Redsteel Bracers
					crafts  = 10,
					reagents = {
						{ itemID = 65365, count = 3, crafted = true }, -- Folded Obsidium
					},
				},
			},
		},

		-- 10 - 20
		-- 10x Redsteel Belt - 40 x Folded Obsidium, 10 x Volatile Earth
		{
			min = 15,
			max = 20,
			recipes = {
				{
					spellID = 76264, -- Redsteel Belt
					crafts  = 5,
					reagents = {
						{ itemID = 65365, count = 4, crafted = true }, -- Folded Obsidium
						{ itemID = 52327, count = 1 }, -- Volatile Earth
					},
				},
			},
		},

		-- 20 - 25
		-- 5x Redsteel Boots - 25 x Folded Obsidium
		{
			min = 20,
			max = 25,
			recipes = {
				{
					spellID = 76265, -- Redsteel Boots
					crafts  = 5,
					reagents = {
						{ itemID = 65365, count = 5, crafted = true }, -- Folded Obsidium
					},
				},
			},
		},

		-- 25 - 35
		-- 10x Obsidium Skeleton Key - 20 x Folded Obsidium
		{
			min = 25,
			max = 35,
			recipes = {
				{
					spellID = 76438, -- Obsidium Skeleton Key
					crafts  = 10,
					reagents = {
						{ itemID = 65365, count = 2, crafted = true }, -- Folded Obsidium
					},
				},
			},
			note =
				"Рецепт будет жёлтым на последних ~5 очках,\n" ..
				"возможно, придётся сделать немного больше.",
		},

		-- 35 - 40
		-- 5x Redsteel Shoulders - 15 x Folded Obsidium, 30 x Elementium Bar
		{
			min = 35,
			max = 40,
			recipes = {
				{
					spellID = 76266, -- Redsteel Shoulders
					crafts  = 5,
					reagents = {
						{ itemID = 65365, count = 3, crafted = true }, -- Folded Obsidium
						{ itemID = 52186, count = 6 }, -- Elementium Bar
					},
				},
			},
		},

		-- 40 - 50
		-- 10x Redsteel Legguards - 40 x Folded Obsidium, 70 x Elementium Bar
		{
			min = 40,
			max = 50,
			recipes = {
				{
					spellID = 76267, -- Redsteel Legguards
					crafts  = 10,
					reagents = {
						{ itemID = 65365, count = 4, crafted = true }, -- Folded Obsidium
						{ itemID = 52186, count = 7 }, -- Elementium Bar
					},
				},
			},
		},

		-- 50 - 60
		-- 10x Hardened Obsidium Breastplate - 40 x Folded Obsidium, 60 x Elementium Bar
		{
			min = 50,
			max = 60,
			recipes = {
				{
					spellID = 76261, -- Hardened Obsidium Breastplate
					crafts  = 10,
					reagents = {
						{ itemID = 65365, count = 4, crafted = true }, -- Folded Obsidium
						{ itemID = 52186, count = 6 }, -- Elementium Bar
					},
				},
			},
		},

		-- 60 - 70
		-- 10x Vicious Pyrium Belt OR 10x Vicious Ornate Pyrium Belt
		{
			min = 60,
			max = 70,
			recipes = {
				{ spellID = 76458 }, -- Vicious Pyrium Belt
				{ spellID = 76467 }, -- Vicious Ornate Pyrium Belt
			},
			disablesCraftAll = true,
			disablesShopping = true,
			note =
				"|cff00ff00Декор доступен с 60 навыка|r!\n\n" ..
				"Сделайте ОДИН из вариантов:\n" ..
				"• 10x Vicious Pyrium Belt — 100 Elementium Bar, 100 Volatile Fire\n" ..
				"• 10x Vicious Ornate Pyrium Belt — 100 Elementium Bar, 100 Volatile Water\n\n" ..
				"Рецепты покупаются за 20 Elementium Bar у продавца\n" ..
				"рядом с тренером (\"Blacksmithing Supplies\").",
		},

		-- 70 - 75
		-- 5x Vicious Pyrium Boots OR 5x Vicious Ornate Pyrium Boots
		{
			min = 70,
			max = 75,
			recipes = {
				{ spellID = 76459 }, -- Vicious Pyrium Boots
				{ spellID = 76468 }, -- Vicious Ornate Pyrium Boots
			},
			disablesCraftAll = true,
			disablesShopping = true,
			note =
				"Сделайте ОДИН из вариантов:\n" ..
				"• 5x Vicious Pyrium Boots — 60 Elementium Bar, 50 Volatile Fire\n" ..
				"• 5x Vicious Ornate Pyrium Boots — 60 Elementium Bar, 50 Volatile Water\n\n" ..
				"Рецепты покупаются за 2 Hardened Elementium Bar у продавца\n" ..
				"рядом с тренером (\"Blacksmithing Supplies\").",
		},
	},
}
