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

local G = PT.ProfessionGuides
G.guides.CLASSIC = G.guides.CLASSIC or {}

G.guides.CLASSIC.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2540, -- Classic Tailoring
    nameKey = "PG_GUIDE_CLASSIC_TAILORING_NAME",


    -- =========================
    -- PROFESSION TRAINERS
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 1346, -- Georgio Bolero
                name  = "Georgio Bolero",
                mapID = 84, -- Stormwind
                x = 53.2,
                y = 81.4,
            },
        },
        horde = {
            {
                npcID = 133239, -- Leyweaver Aurielle
                name  = "Leyweaver Aurielle",
                mapID = 85, -- Orgrimmar
                x = 38.32,
                y = 87.27,
            },
        },
    },

    -- =========================
    -- BANDAGE TRAINERS
    -- =========================
    vendors = {
        alliance = {
            {
                npcID = 56796, -- Angela Leifeld
                name  = "Angela Leifeld",
                mapID = 84, -- Stormwind
                x = 52.6,
                y = 44.8,
                teaches = {
                    { spellID = 3275 },  -- Linen Bandage
                    { spellID = 3276 },  -- Heavy Linen Bandage
                    { spellID = 3277 },  -- Wool Bandage
                    { spellID = 3278 },  -- Heavy Wool Bandage
                    { spellID = 7928 },  -- Silk Bandage
                    { spellID = 7929 },  -- Heavy Silk Bandage
                    { spellID = 10840 }, -- Mageweave Bandage
                    { spellID = 10841 }, -- Heavy Mageweave Bandage
                    { spellID = 18629 }, -- Runecloth Bandage
                    { spellID = 18630 }, -- Heavy Runecloth Bandage
                },
            },
        },
        horde = {
            {
                npcID = 133109, -- Mender Jessara
                name  = "Mender Jessara",
                mapID = 85, -- Orgrimmar
                x = 38.53,
                y = 86.45,
                teaches = {
                    { spellID = 3275 },
                    { spellID = 3276 },
                    { spellID = 3277 },
                    { spellID = 3278 },
                    { spellID = 7928 },
                    { spellID = 7929 },
                    { spellID = 10840 },
                    { spellID = 10841 },
                    { spellID = 18629 },
                    { spellID = 18630 },
                },
            },
        },
    },

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

        -- 1–50
        {
            min = 1,
            max = 50,
            recipes = {
                {
                    spellID = 3275, -- Linen Bandage
                    crafts  = 55,
                    autoReagents = true,
                },
            },
        },

        -- 50–80
        {
            min = 50,
            max = 80,
            noteKey = "PG_GUIDE_CLASSIC_TAILORING_NOTE_1",
            recipes = {
                {
                    spellID = 3276, -- Heavy Linen Bandage
                    crafts  = 30,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 3276,
                        },
                    },
                },
            },
        },

        -- 80–130
        {
            min = 80,
            max = 130,
            recipes = {
                {
                    spellID = 3277, -- Wool Bandage
                    crafts  = 55,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 3277,
                        },
                    },
                },
            },
        },

        -- 130–150
        {
            min = 130,
            max = 150,
            recipes = {
                {
                    spellID = 3278, -- Heavy Wool Bandage
                    crafts  = 20,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 3278,
                        },
                    },
                },
            },
        },

        -- 150–190
        {
            min = 150,
            max = 190,
            recipes = {
                {
                    spellID = 7928, -- Silk Bandage
                    crafts  = 45,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 7928,
                        },
                    },
                },
            },
        },

        -- 190–210
        {
            min = 190,
            max = 210,
            recipes = {
                {
                    spellID = 7929, -- Heavy Silk Bandage
                    crafts  = 20,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 7929,
                        },
                    },
                },
            },
        },

        -- 210–240
        {
            min = 210,
            max = 240,
            recipes = {
                {
                    spellID = 10840, -- Mageweave Bandage
                    crafts  = 30,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 10840,
                        },
                    },
                },
            },
        },

        -- 240–260 (декор)
        {
            min = 240,
            max = 260,
            disablesShopping = true,
            noteKey = "PG_GUIDE_CLASSIC_TAILORING_NOTE_2",
            recipes = {
                {
                    spellID = 10841, -- Heavy Mageweave Bandage
                    crafts  = 20,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 10841,
                        },
                    },
                },
            },
        },

        -- 260–290 (декор)
        {
            min = 260,
            max = 290,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 18629, -- Runecloth Bandage
                    crafts  = 30,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 18629,
                        },
                    },
                },
            },
        },

        -- 290–300 (декор)
        {
            min = 290,
            max = 300,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 18630, -- Heavy Runecloth Bandage
                    crafts  = 10,
                    autoReagents = true,
                    requires = {
                        {
                            type    = "recipe_spell",
                            spellID = 18630,
                        },
                    },
                },
            },
        },
    },
}
