-- AhUI/Core/ProfessionGuides/Outland_Alchemy.lua
local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

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

G.guides.OUTLAND.ALCHEMY = {
	profession  = "Alchemy",
    skillLineID = 2484, -- Outland Alchemy
    nameKey = "PG_GUIDE_OUTLAND_ALCHEMY_NAME",


    trainers = {
        alliance = {
            {
                npcID = 19052, -- Lorokeem
                name  = "Lorokeem",
                mapID = 111, -- Shattrath City
                x = 45.4,
                y = 21.8,
            },
        },
        horde = {
            {
                npcID = 19052, -- Lorokeem
                name  = "Lorokeem",
                mapID = 111, -- Shattrath City
                x = 45.4,
                y = 21.8,
            },
        },
    },


    vendors = {

        alliance = {
            {
                npcID = 18005, -- Haalrun
                name  = "Haalrun",
                mapID = 102, -- Zangarmarsh
                x = 67.8,
                y = 48.0,
                sells = {
                    { itemID = 22907, note = "Recipe: Super Mana Potion (limited supply)" },
                },
            },

            {
                npcID = 18775, -- Leeli Longhaggle
                name  = "Leeli Longhaggle",
                mapID = 109, -- Terokkar Forest
                x = 57.6,
                y = 53.4,
                sells = {
                    { itemID = 22911, note = "Recipe: Major Dreamless Sleep Potion (limited supply)" },
                },
            },
        },
        horde = {

            {
                npcID = 19837, -- Daga Ramba
                name  = "Daga Ramba",
                mapID = 105, -- Blade's Edge Mountains
                x = 51.0,
                y = 57.8,
                sells = {
                    { itemID = 22907, note = "Recipe: Super Mana Potion (limited supply)" },
                    { itemID = 22911, note = "Recipe: Major Dreamless Sleep Potion (limited supply)" },
                },
            },
        },
    },

    steps = {

        -- 1 - 15

        {
            min = 1,
            max = 15,
            recipes = {
                {
                    spellID = 33740, -- Adept's Elixir
                    itemID  = 28103,
					crafts  = 14,
                    autoReagents = true,
                },
            },
        },

        -- 15 - 25
        {
            min = 15,
            max = 25,

            recipes = {
                {
                    spellID = 28545, -- Elixir of Healing Power
                    itemID  = 22825,
					crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 25 - 35
        {
            min = 25,
            max = 35,
            --craftCount = 10,
            recipes = {
                {
                    spellID = 45061, -- Mad Alchemist's Potion
                    itemID  = 34440,
					crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 35 - 40
        {
            min = 35,
            max = 45,
            --craftCount = 5,
            recipes = {
                {
                    spellID = 28551, -- Super Healing Potion
                    itemID  = 22829,
					crafts  = 10,
                    autoReagents = true,
                },
            },
        },

        -- 40 - 55

        {
            min = 45,
            max = 55,
			noteKey = "PG_GUIDE_OUTLAND_ALCHEMY_NOTE_1",
            --craftCount = 15,
            recipes = {
                {
                    spellID = 28555, -- Super Mana Potion
                    itemID  = 22832,
					crafts  = 10,
                    autoReagents = true,
                    requires = {
                        { type = "recipe_item", itemID = 22907, note = "Recipe: Super Mana Potion (limited supply)" },
                    },
                    noteKey = "PG_GUIDE_OUTLAND_ALCHEMY_NOTE_2",
                },
            },
        },

-- 55 - 60
		{
			min = 55,
			max = 60,
            noteKey = "PG_GUIDE_OUTLAND_ALCHEMY_NOTE_3",
			recipes = {
				{
					spellID = 28562,
					itemID  = 22836,
					crafts  = 5,
					autoReagents = true,
					requires = {
						{ type = "recipe_item", itemID = 22911 },
					},
				},
			},
		},

		-- 60 - 75
		{
			min = 60,
			max = 75,
			noteKey = "PG_GUIDE_OUTLAND_ALCHEMY_NOTE_4",
			disablesShopping = true,
			recipes = {
				{
					spellID = 28562,
					itemID  = 22836,
					crafts  = 30,
					autoReagents = true,
					requires = {
						{ type = "recipe_item", itemID = 22911 },
					},
				},
			},
		},
    },
}
