local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.PANDARIA = G.guides.PANDARIA or {}

G.guides.PANDARIA.ALCHEMY = {
	profession  = "Alchemy",
    skillLineID = 2481, -- Pandaria Alchemy
    name = "Алхимия — Пандария (1–75)",

	trainers = {
		alliance = {
			{
				npcID = 56777, -- Ni Gentlepaw 
				name  = "Ni Gentlepaw",
				mapID = 371, -- Vale of Eternal Blossoms
				x = 46.6,
				y = 45.8,
			},
		},
		horde = {
			{
				npcID = 56777, -- Ni Gentlepaw
				name  = "Ni Gentlepaw",
				mapID = 371, -- Vale of Eternal Blossoms
				x = 46.6,
				y = 45.8,
			},
		},
	},

    steps = {

        -- 1 - 10
        -- "Pandaren trainers will only teach you 2 recipes. These two recipes are used to unlock additional recipes."
        -- "20 x Master Healing Potion - 20 x Green Tea Leaf"
        -- "Stop making the healing potions after you reached 10 and discovered 2 new recipes. (You can only discover 2 new recipes with Pandaria Alchemy 10)."
        -- :contentReference[oaicite:2]{index=2}
        {
            min = 1,
            max = 10,
			useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 114752, -- Master Healing Potion
                    itemID  = 76097,
                    crafts  = 20,
                    reagents = {
                        { itemID = 72234, count = 1 }, -- Green Tea Leaf (20 total)
						{ itemID = 3371, count = 1, crafted = true },
                    },
                },
            },
        },

        -- 10 - 55
        -- "Make the Potion/Flask/Elixir you discovered previously until you discover more recipes."
        -- "always make the cheapest potion"
        -- "prioritize ... Green Tea Leaf > Silkweed > Rain Poppy > Snow Lily > Fool's Cap"
        -- "Stop making recipes when they turn green ... Only make green recipes if ... still haven't discovered Master Mana Potion"
        -- "save around 20 each of these herbs: Green Tea Leaf, Snow Lily, and Fool's Cap"
        -- :contentReference[oaicite:3]{index=3}
        {
            min = 10,
            max = 55,
            recipes = {
				{
					crafts  = 20,
					reagents = {
					{ itemID = 72234, count = 1 }, -- Green Tea Leaf
					{ itemID = 79010, count = 1 }, -- Snow Lily
					{ itemID = 79011, count = 1 }, -- Fool's Cap
					}
				}-- В источнике нет фиксированного рецепта/спелла: шаг целиком про discovery-процесс.
            },
            note =
                "Крафти Potion/Flask/Elixir, который открылся ранее, пока не откроются новые рецепты.\n" ..
                "Всегда старайся делать самый дешёвый вариант.\n" ..
                "Приоритет трав: Green Tea Leaf > Silkweed > Rain Poppy > Snow Lily > Fool's Cap.\n" ..
                "Останавливайся на рецептах, когда они становятся зелёными, если ещё есть оранжевые/жёлтые.\n" ..
                "Зелёные делай только если больше ничего нет и ты всё ещё не открыл Master Mana Potion.\n" ..
                "Сохрани примерно по 20 шт: Green Tea Leaf, Snow Lily, Fool's Cap — они понадобятся до 75.",
        },

        -- 55 - 75
        -- "If you didn't discover the Master Mana Potion recipe yet, then you will have to make the previous recipes until you discover it."
        -- "If you reached 65 ... and ... haven't discovered anything new ... limited by your Alchemy skill. You have to make Flasks/Transmutes..."
        -- "20 x Master Mana Potion - 20 x Green Tea Leaf, 20 x Snow Lily, 20 x Fool's Cap"
        -- :contentReference[oaicite:4]{index=4}
        {
            min = 55,
            max = 75,
            recipes = {
                {
                    spellID = 114775, -- Master Mana Potion
                    itemID  = 76098,
                    crafts  = 20,
                    reagents = {
                        { itemID = 72234, count = 1 }, -- Green Tea Leaf (20 total)
                        { itemID = 79010, count = 1 }, -- Snow Lily (20 total)
                        { itemID = 79011, count = 1 }, -- Fool's Cap (20 total)
						{ itemID = 3371, count = 1, crafted = true },
                    },
                    note =
                        "Если Master Mana Potion ещё не открыт — продолжай крафтить предыдущие рецепты, пока не откроется.\n" ..
                        "Если ты 65+ и крафтил рецепт ~15 раз без новых открытий — упёрся в лимит по скиллу, нужно делать Flasks/Transmutes, чтобы поднять Alchemy skill.",
                },
            },
			note = "|cff00ff00Декор доступен с 60 уровня навыка!|r",
        },
    },
}

