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

G.guides.OUTLAND = G.guides.OUTLAND or {}

G.guides.OUTLAND.BLACKSMITHING = {
    profession  = "Blacksmithing",
    skillLineID = 2476, -- Outland Blacksmithing
    name = "Кузнечное дело — Запределье (1–75)",

    trainers = {
        alliance = {
            {
                npcID = 20125, -- Zula Slagfury
                name  = "Zula Slagfury",
                mapID = 111,   -- Shattrath City
                x = 69.8,
                y = 43.0,
            },
        },
        horde = {
            {
                npcID = 20125, -- Zula Slagfury
                name  = "Zula Slagfury",
                mapID = 111,   -- Shattrath City
                x = 69.8,
                y = 43.0,
            },
        },
    },
	
	vendors = {
		alliance = {
			{
				npcID = 19662, -- Aaron Hollman
				name  = "Aaron Hollman",
				mapID = 111, -- Shattrath City
				x = 64.0,
				y = 71.8,

				sells = {
					{ itemID = 23591 }, -- Plans: Adamantite Cleaver
					{ itemID = 23593 }, -- Plans: Adamantite Rapier
				},
			},
			{
				npcID = 19004, -- Mari Stonehand
				name  = "Mari Stonehand",
				mapID = 104, -- Shadowmoon Valley
				x = 36.8,
				y = 54.8,

				sells = {
					{ itemID = 23638 }, -- Plans: Lesser Ward of Shielding
				},
			},
		},

		horde = {
			{
				npcID = 19662, -- Aaron Hollman
				name  = "Aaron Hollman",
				mapID = 111, -- Shattrath City
				x = 64.0,
				y = 71.8,

				sells = {
					{ itemID = 23591 }, -- Plans: Adamantite Cleaver
					{ itemID = 23593 }, -- Plans: Adamantite Rapier
				},
			},
			{
				npcID = 19004, -- Mari Stonehand 
				name  = "Mari Stonehand",
				mapID = 104, -- Shadowmoon Valley
				x = 36.8,
				y = 54.8,

				sells = {
					{ itemID = 23638 }, -- Plans: Lesser Ward of Shielding
				},
			},
		},
	},

    steps = {

        -- =====================================
        -- 1 - 5: 7x Fel Weightstone
        -- (НЕ учитывать расовый бонус)
        -- =====================================
        {
            min = 1,
            max = 5,
            
            recipes = {
                {
                    spellID = 34607, -- Fel Weightstone
                    crafts  = 7,
                    reagents = {
                        { itemID = 23445, count = 1 }, -- Fel Iron Bar
                        { itemID = 21877, count = 1 }, -- Netherweave Cloth
                    },
                },
            },
        },

        -- =====================================
        -- 5 - 15: 10x Fel Iron Plate Belt
        -- =====================================
        {
            min = 5,
            max = 15,

            recipes = {
                {
                    spellID = 29547, -- Fel Iron Plate Belt
                    crafts  = 10,
                    reagents = {
                        { itemID = 23445, count = 4 }, -- Fel Iron Bar
                    },
                },
            },
        },

        -- =====================================
        -- 15 - 20: 5x Fel Iron Chain Gloves
        -- =====================================
        {
            min = 15,
            max = 20,

            recipes = {
                {
                    spellID = 29552, -- Fel Iron Chain Gloves
                    crafts  = 5,
                    reagents = {
                        { itemID = 23445, count = 5 }, -- Fel Iron Bar
                    },
                },
            },
        },

        -- =====================================
        -- 20 - 25: 5x Fel Iron Plate Boots
        -- =====================================
        {
            min = 20,
            max = 25,

            recipes = {
                {
                    spellID = 29548, -- Fel Iron Plate Boots
                    crafts  = 5,
                    reagents = {
                        { itemID = 23445, count = 6 }, -- Fel Iron Bar
                    },
                },
            },
        },

        -- =====================================
        -- 25 - 35: 45x Lesser Rune of Warding
        -- =====================================
        {
            min = 25,
            max = 35,

            recipes = {
                {
                    spellID = 32284, -- Lesser Rune of Warding
                    crafts  = 15,
                    reagents = {
                        { itemID = 23446, count = 1 }, -- Adamantite Bar
                    },
                },
            },

            note =
                "Часть крафтов может быть жёлтой/зелёной —\n" ..
                "возможно, придётся сделать немного больше.",
        },

        -- =====================================
        -- 35 - 40: 5x Adamantite Cleaver
        -- (рецепт: лимитка у Aaron Hollman в Шаттрате)
        -- =====================================
		{
			min = 35,
			max = 45,

			recipes = {
				{
					spellID = 29568, -- Adamantite Cleaver
					crafts  = 5,
					reagents = {
						{ itemID = 23446, count = 8 },
					},

					requires = {          
						{
							type   = "recipe_item",
							itemID = 23591, -- Plans: Adamantite Cleaver
						},
					},
				},
			},

			note =
				"Рецепт продаётся у торговца в Шаттрате.\n" ..
				"Лимитированная продажа — возможен респавн.",
		},

        -- =====================================
        -- 40 - 50: 45x Lesser Ward of Shielding
        -- (рецепт: лимитка Rohok / Mari Stonehand)
        -- =====================================
		{
			min = 40,
			max = 50,

			recipes = {
				{
					spellID = 29728, -- Lesser Ward of Shielding
					crafts  = 20,
					reagents = {
						{ itemID = 23446, count = 1 }, -- Adamantite Bar
					},

					requires = {              
						{
							type   = "recipe_item",
							itemID = 23638, -- Plans: Lesser Ward of Shielding
						},
					},
				},
			},

			note =
				"Рецепт продаётся у ограниченного продавца.\n" ..
				"Если рецепт отсутствует — дождитесь респавна.",
		},
		{
			min = 50,
			max = 55,

			recipes = {
				{
					spellID = 29568, -- Adamantite Cleaver
					crafts  = 5,
					reagents = {
						{ itemID = 23446, count = 8 },
					},

					requires = {      
						{
							type   = "recipe_item",
							itemID = 23591, -- Plans: Adamantite Cleaver
						},
					},
				},
			},
		},
        -- =====================================
        -- 50 - 60: 45x Adamantite Weightstone
        -- (рецепт: Fedryen Swiftspear, Cenarion Expedition Honored)
        -- =====================================
		{
			min = 55,
			max = 60,

			recipes = {
				{
					spellID = 29571, -- Adamantite Rapier
					crafts  = 10,

					requires = {
						{
							type   = "recipe_item",
							itemID = 23593, -- Plans: Adamantite Rapier
						},
					},

					reagents = {
						{ itemID = 23446, count = 12 }, -- Adamantite Bar
					},
				},
			},

			note =
				"Рецепт продаётся у Aaron Hollman в Шаттрате.\n" ..
				"Лимитированная продажа — возможен респавн.",
		},

        -- =====================================
        -- 60 - 75
        -- =====================================
        {
            min = 60,
            max = 75,

            disablesCraftAll = true,
            disablesShopping = true,

            recipes = {
                -- The Scryers
                { spellID = 29608 }, -- Enchanted Adamantite Belt
                { spellID = 29610 }, -- Enchanted Adamantite Breastplate

                -- The Aldor
                { spellID = 29616 }, -- Flamebane Gloves

                -- Dungeons
                { spellID = 29619 }, -- Felsteel Gloves
                { spellID = 29649 }, -- Earthpeace Breastplate
            },

            note =
                "|cff00ff00Декор доступен с навыка 60!|r\n\n" ..
                "На 60–75 есть 3 пути (выберите один, как в гайде):\n\n" ..
                "1) The Scryers:\n" ..
                "• 60–67: 7x Enchanted Adamantite Belt\n" ..
                "• 67–75: 10x Enchanted Adamantite Breastplate\n\n" ..
                "2) The Aldor:\n" ..
                "• 60–75: 17x Flamebane Gloves\n\n" ..
                "3) Dungeons:\n" ..
                "• 60–70: 10x Felsteel Gloves\n" ..
                "• 70–75: продолжайте Felsteel Gloves ИЛИ Earthpeace Breastplate (если выбили рецепт)\n\n" ..
                "Все варианты зелёные на последних очках —\n" ..
                "возможно, потребуется больше крафтов.",
        },
    },
}
