--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
    nameKey = "PG_GUIDE_NORTHREND_TAILORING_NAME",


    -- =========================
    -- 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,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45545,
                        },
                    },
                },
            },
        },

        -- 20–60
        {
            min = 20,
            max = 60,
            recipes = {
                {
                    spellID = 45546, -- Heavy Frostweave Bandage
                    crafts  = 43,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45546,
                        },
                    },
                },
            },
        },

        -- 60–75 (декор)
        {
            min = 60,
            max = 75,
            disablesShopping = true,
            noteKey = "PG_GUIDE_NORTHREND_TAILORING_NOTE_1",
            recipes = {
                {
                    spellID = 45546, -- Heavy Frostweave Bandage
                    crafts  = 30,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 45546,
                        },
                    },
                },
            },
        },
    },
}
