local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

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

G.guides.OUTLAND.JEWELCRAFTING = {
    profession  = "Jewelcrafting",
    skillLineID = 2523, -- Outland Jewelcrafting
    name = "Ювелирное дело — Запределье (1–75)",

    trainers = {
        alliance = {
            {
                npcID = 33680,
                name  = "Nemiha",
                mapID = 111, -- Terokkar Forest
                x = 36.0,
                y = 48.6,
            },
        },
        horde = {
            {
                npcID = 33614,
                name  = "Jewelcrafting",
                mapID = 111, -- Terokkar Forest
                x = 43.6,
                y = 90.8,
            },
        },
    },

    vendors = {
        alliance = {
            {
                npcID = 20124,
                name  = "Kradu Grimblade",
                mapID = 111,
                x = 69.8,
                y = 42.4,
                sells = {
                    { itemID = 23135 }, -- Mercurial Adamantite (recipe)
                },
            },
            {
                npcID = 21485,
                name  = "Aldraan",
                mapID = 107, -- Nagrand
                x = 42.8,
                y = 42.6,
                sells = {
                    { itemID = 23138 }, -- Mystic Dawnstone (recipe)
                },
            },
            {
                npcID = 21432,
                name  = "Almaador",
                mapID = 111,
                x = 51.2,
                y = 42.6,
                sells = {
                    { itemID = 33155 }, -- Design: Falling Star
                },
            },
        },
        horde = {
            {
                npcID = 20124,
                name  = "Kradu Grimblade",
                mapID = 111,
                x = 69.8,
                y = 42.4,
                sells = {
                    { itemID = 23135 },
                },
            },
            {
                npcID = 21474,
                name  = "Coreiel",
                mapID = 107,
                x = 42.8,
                y = 42.6,
                sells = {
                    { itemID = 23138 },
                },
            },
            {
                npcID = 21432,
                name  = "Almaador",
                mapID = 111,
                x = 51.2,
                y = 42.6,
                sells = {
                    { itemID = 33155 },
                },
            },
        },
    },

    steps = {

        -- 1–20
        {
            min = 1,
            max = 20,
            note =
                "Просейте 240 адамантитовой руды в окне профессии.",
            disablesCraft = true,
            disablesCraftAll = true,
            recipes = {
                {
                    spellID = 382980, -- Prospect Adamantite Ore
                    crafts  = 48,
                    reagents = {
                        { itemID = 23425, count = 5 }, -- Adamantite Ore
                    },
                },
            },
        },

        -- 20–25
        {
            min = 20,
            max = 25,
            recipes = {
                {
                    spellID = 28953, -- Sparkling Azure Moonstone
                    crafts  = 5,
                    reagents = {
                        { itemID = 23117, count = 1, crafted = true }, -- Azure Moonstone
                    },
                },
            },
        },

        -- 25–35
        {
            min = 25,
            max = 35,
            recipes = {
                {
                    spellID = 38068, -- Mercurial Adamantite
                    crafts  = 12,
                    reagents = {
                        { itemID = 24243, count = 4, crafted = true }, -- Adamantite Powder
                        { itemID = 22452, count = 1 }, -- Primal Earth
                    },
                    requires = {
                        { type = "recipe_item", itemID = 23135 },
                    },
                },
            },
        },

        -- 35–40
        {
            min = 35,
            max = 40,
            recipes = {
                {
                    spellID = 28948, -- Rigid Azure Moonstone
                    crafts  = 5,
                    reagents = {
                        { itemID = 23117, count = 1, crafted = true },
                    },
                },
            },
        },

        -- 40–50
        {
            min = 40,
            max = 50,
            recipes = {
                {
                    spellID = 31052, -- Heavy Adamantite Ring
                    crafts  = 12,
                    reagents = {
                        { itemID = 23446, count = 1 }, -- Adamantite Bar
                        { itemID = 31079, count = 1, crafted = true }, -- Mercurial Adamantite
                    },
                },
            },
        },

        -- 50–60
        {
            min = 50,
            max = 60,
            note =
                "Возможно, потребуется захватить Халаа.\n" ..
                "Можно купить рецепт любого камня на 50 навыка ювы и сделать его (будет дороже).",
            recipes = {
                {
                    spellID = 31101, -- Mystic Dawnstone
                    crafts  = 12,
                    reagents = {
                        { itemID = 23440, count = 1 }, -- Dawnstone
                    },
                    requires = {
                        { type = "recipe_item", itemID = 23138 },
                    },
                },
            },
        },

        -- 60–75 (декор)
        {
            min = 60,
            max = 75,
            disablesShopping = true,
            note =
                "|cff00ff00Декор доступен с 60 уровня навыка!|r\n" ..
                "Нужна репутация с Ша'тар.\n" ..
                "Полная зачистка Ботаники примерно 2100 репутации.\n" ..
                "5–6 пробежек по ~5 минут.",
            recipes = {
                {
                    spellID = 42588,
                    crafts  = 20,
                    reagents = {
                        { itemID = 23436, count = 1 }, -- Living Ruby
                    },
                    requires = {
                        { type = "recipe_item", itemID = 33155 },
                    },
                },
            },
        },
    },
}
