--ProfessionGuides/Tailoring/Northrend_Tailoring.lua
local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides
G.guides.NORTHEEND = G.guides.NORTHEEND or {}
G.guides.NORTHEEND.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2538, -- Northrend Tailoring
    name = "Портняжное дело — Нордскол (1–75)",

    -- =========================
    -- PROFESSION TRAINER
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 28699, -- Charles Worth
                name  = "Charles Worth",
                mapID = 125, -- Dalaran (Northrend)
                x = 37.0,
                y = 33.2,
            },
        },
        horde = {
            {
                npcID = 28699, -- Charles Worth
                name  = "Charles Worth",
                mapID = 125, -- Dalaran (Northrend)
                x = 37.0,
                y = 33.2,
            },
        },
    },

    -- =========================
    -- BANDAGE TRAINER
    -- =========================
    vendors = {
        alliance = {
            {
                npcID = 28706, -- Olisarra the Kind
                name  = "Olisarra the Kind",
                mapID = 125, -- Dalaran (Northrend)
                x = 37.6,
                y = 36.4,
                teaches = {
                    { spellID = 45545 }, -- Frostweave Bandage
                    { spellID = 45546 }, -- Heavy Frostweave Bandage
                },
            },
        },
        horde = {
            {
                npcID = 28706, -- Olisarra the Kind
                name  = "Olisarra the Kind",
                mapID = 125, -- Dalaran (Northrend)
                x = 37.6,
                y = 36.4,
                teaches = {
                    { spellID = 45545 },
                    { spellID = 45546 },
                },
            },
        },
    },

    -- =========================
    -- STEPS
    -- =========================
    steps = {

        -- 1–20
        {
            min = 1,
            max = 20,
            recipes = {
                {
                    spellID = 45545, -- Frostweave Bandage
                    crafts  = 20,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45545,
                        },
                    },
                    reagents = {
                        { itemID = 33470, count = 1 }, -- Frostweave Cloth
                    },
                },
            },
        },

        -- 20–60
        {
            min = 20,
            max = 60,
            recipes = {
                {
                    spellID = 45546, -- Heavy Frostweave Bandage
                    crafts  = 43,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45546,
                        },
                    },
                    reagents = {
                        { itemID = 33470, count = 2 },
                    },
                },
            },
        },

        -- 60–75 (декор)
        {
            min = 60,
            max = 75,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 60 уровня навыка!|r",
            recipes = {
                {
                    spellID = 45546, -- Heavy Frostweave Bandage
                    crafts  = 30,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45546,
                        },
                    },
                    reagents = {
                        { itemID = 33470, count = 2 },
                    },
                },
            },
        },
    },
}
