local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

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

G.guides.CATACLYSM.JEWELCRAFTING = {
    profession  = "Jewelcrafting",
    skillLineID = 2521, -- Cataclysm Jewelcrafting
    name = "Ювелирное дело — Cataclysm (1–75)",

    trainers = {
        alliance = {
            {
                npcID = 44582,
                name  = "Theresa Denman",
                mapID = 84, -- Stormwind
                x = 63.6,
                y = 61.6,
            },
        },
        horde = {
            {
                npcID = 46675,
                name  = "Lugrah",
                mapID = 85, -- Orgrimmar
                x = 72.4,
                y = 34.6,
            },
        },
    },

    steps = {

        -- 1–18
        {
            min = 1,
            max = 18,
            note =
                "Всего потребуется |cff00ff00119× Ювелирных оправ|r.\n" ..
                "Оправы продаются у продавца рядом с учителем.",

            recipes = {
                {
                    spellID = 73494, -- Jasper Ring
                    crafts  = 18,
                    reagents = {
                        { itemID = 52188, count = 1, crafted = true }, -- Jeweler's Setting
                        { itemID = 52182, count = 1 }, -- Jasper
                    },
                },
            },
        },

        -- 18–35
        {
            min = 18,
            max = 30,
            recipes = {
                {
                    spellID = 73620,
                    crafts  = 17,
                    reagents = {
                        { itemID = 52188, count = 3, crafted = true }, -- Jeweler's Setting
                        { itemID = 52177, count = 3 }, -- 
                    },
                },
            },
        },

        -- 35–50
        {
            min = 30,
            max = 50,
            recipes = {
                {
                    spellID = 73497,
                    crafts  = 20,
                    reagents = {
                        { itemID = 52188, count = 1, crafted = true }, -- Jeweler's Setting
                        { itemID = 52180, count = 2 }, -- Nightstone
                    },
                },
            },
        },

        -- 50–60
        {
            min = 50,
            max = 60,
            note = "|cff00ff00Либо крафтим этот рецепт до 60, либо делаем ювелирные дейлики 2 дня и покупаем рецепт глаза химеры|r.",
            recipes = {
                {
                    spellID = 73497,
                    crafts  = 20,
                    reagents = {
                        { itemID = 52188, count = 1, crafted = true }, -- Jeweler's Setting
                        { itemID = 52180, count = 2 }, -- Nightstone
                    },
                },
            },
        },

        -- 60–70 (декор, реги не покупаем)
        {
            min = 60,
            max = 70,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 60 уровня навыка!|r",
            recipes = {
                {
                    spellID = 99539,
                    crafts  = 10,
                    reagents = {
                        { itemID = 52188, count = 1, crafted = true }, -- Jeweler's Setting
                        { itemID = 52191, count = 4 }, -- Ocean Sapphire
                        { itemID = 52328, count = 8 }, -- Volatile Air
                    },
                },
            },
        },

        -- 70–75 (декор, реги не покупаем)
        {
            min = 70,
            max = 75,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 99542,
                    crafts  = 5,
                    reagents = {
                        { itemID = 52188, count = 1, crafted = true }, -- Jeweler's Setting
                        { itemID = 52191, count = 5 }, -- Ocean Sapphire
                        { itemID = 52328, count = 8 }, -- Volatile Air
                        { itemID = 52325, count = 4 }, -- Volatile Fire
                    },
                },
            },
        },
	}
}
