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


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

		-- 5 - 10
		-- 5x Redsteel Bracers - 15 x Folded Obsidium
		{
			min = 5,
			max = 15,
			
			recipes = {
				{
					spellID = 76262, -- Redsteel Bracers
					crafts  = 10,
					autoReagents = true,
				},
			},
		},

		-- 10 - 20
		-- 10x Redsteel Belt - 40 x Folded Obsidium, 10 x Volatile Earth
		{
			min = 15,
			max = 20,
			recipes = {
				{
					spellID = 76264, -- Redsteel Belt
					crafts  = 5,
					autoReagents = true,
				},
			},
		},

		-- 20 - 25
		-- 5x Redsteel Boots - 25 x Folded Obsidium
		{
			min = 20,
			max = 25,
			recipes = {
				{
					spellID = 76265, -- Redsteel Boots
					crafts  = 5,
					autoReagents = true,
				},
			},
		},

		-- 25 - 35
		-- 10x Obsidium Skeleton Key - 20 x Folded Obsidium
		{
			min = 25,
			max = 35,
			recipes = {
				{
					spellID = 76438, -- Obsidium Skeleton Key
					crafts  = 10,
					autoReagents = true,
				},
			},
			noteKey = "PG_GUIDE_CATACLYSM_BLACKSMITHING_NOTE_2",
		},

		-- 35 - 40
		-- 5x Redsteel Shoulders - 15 x Folded Obsidium, 30 x Elementium Bar
		{
			min = 35,
			max = 40,
			recipes = {
				{
					spellID = 76266, -- Redsteel Shoulders
					crafts  = 5,
					autoReagents = true,
				},
			},
		},

		-- 40 - 50
		-- 10x Redsteel Legguards - 40 x Folded Obsidium, 70 x Elementium Bar
		{
			min = 40,
			max = 50,
			recipes = {
				{
					spellID = 76267, -- Redsteel Legguards
					crafts  = 10,
					autoReagents = true,
				},
			},
		},

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

		-- 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,
			noteKey = "PG_GUIDE_CATACLYSM_BLACKSMITHING_NOTE_3",
		},

		-- 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,
			noteKey = "PG_GUIDE_CATACLYSM_BLACKSMITHING_NOTE_4",
		},
	},
}
