local PT = AhUI
if not PT then return end

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

G.guides.BFA.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2533, -- Kul Tiran / Zandalari Tailoring
    name = "Портняжное дело — Battle for Azeroth (1–175)",

    -- =========================
    -- PROFESSION TRAINERS
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 136071, -- Daniel Brineweaver
                name  = "Daniel Brineweaver",
                mapID = 1161, -- Boralus
                x = 76.8,
                y = 11.6,
            },
        },
        horde = {
            {
                npcID = 122700, -- Pin'jin the Patient
                name  = "Pin'jin the Patient",
                mapID = 1165, -- Dazar'alor
                x = 44.4,
                y = 33.8,
            },
        },
    },

    -- =========================
    -- RECIPE VENDORS
    -- =========================
    vendors = {
        alliance = {
            {
                npcID = 153817, -- Instructor Alikana
                name  = "Instructor Alikana",
                mapID = 1355, -- Nazjatar
                x = 38.0,
                y = 53.6,
                teaches = {
                    { spellID = 294844 },
                },
            },
            {
                npcID = 154653, -- Tomas Riogain
                name  = "Tomas Riogain",
                mapID = 1355,
                x = 38.0,
                y = 55.4,
                teaches = {
                    { spellID = 294845 },
                    { spellID = 294846 },
                },
            },
        },
        horde = {
            {
                npcID = 154321, -- Jada
                name  = "Jada",
                mapID = 1355, -- Nazjatar
                x = 49.0,
                y = 61.6,
                teaches = {
                    { spellID = 294844 },
                },
            },
            {
                npcID = 154652, -- Dazzerian
                name  = "Dazzerian",
                mapID = 1355,
                x = 48.8,
                y = 60.8,
                teaches = {
                    { spellID = 294845 },
                    { spellID = 294846 },
                },
            },
        },
    },

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

        -- 1–60
        {
            min = 1,
            max = 60,
            recipes = {
                {
                    spellID = 267201, -- Tidespray Linen Bracers
                    crafts  = 100,
                    reagents = {
                        { itemID = 152576, count = 2 }, -- Tidespray Linen
                    },
                },
            },
        },

        -- 60–75
        {
            min = 60,
            max = 75,
			note = "|cff00ff00Проверьте, где дешевле нитки — у продавца или на аукционе.|r",
            recipes = {
                {
                    spellID = 257104, -- Tidespray Linen Pants
                    crafts  = 15,
                    reagents = {
                        { itemID = 152576, count = 16 },
                        { itemID = 159959, count = 20 }, -- Nylon Thread
                    },
                },
            },
        },

        -- 75–140
        {
            min = 75,
            max = 140,
            recipes = {
                {
                    spellID = 272440, -- Embroidered Deep Sea Bag
                    crafts  = 90,
                    reagents = {
                        { itemID = 152577, count = 1 }, -- Deep Sea Satin
                        { itemID = 152576, count = 1 }, -- Tidespray Linen
                        { itemID = 159959, count = 5 }, -- Nylon Thread
                    },
                },
            },
        },

        -- 140–150 (декор доступен)
        {
            min = 140,
            max = 150,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 140 уровня навыка!|r",
            recipes = {
                {
                    spellID = 272440, -- Embroidered Deep Sea Bag
                    crafts  = 60,
                    reagents = {
                        { itemID = 152577, count = 1 },
                        { itemID = 152576, count = 1 },
                        { itemID = 159959, count = 5 },
                    },
                },
            },
        },

        -- 150–160
        {
            min = 150,
            max = 160,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 294844,
                    crafts  = 10,
                    requires = {
                        { type = "recipe_spell", spellID = 294844 },
                    },
                    reagents = {
                        { itemID = 167738, count = 10 }, -- Gilded Seaweave
                        { itemID = 152577, count = 6 },
                        { itemID = 159959, count = 8 },
                        { itemID = 152668, count = 2 }, -- Expulsom
                    },
                },
            },
        },

        -- 160–170
        {
            min = 160,
            max = 170,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 294845,
                    crafts  = 10,
                    requires = {
                        { type = "recipe_spell", spellID = 294845 },
                    },
                    reagents = {
                        { itemID = 167738, count = 8 },
                        { itemID = 152577, count = 5 },
                        { itemID = 159959, count = 6 },
                        { itemID = 152668, count = 2 },
                    },
                },
            },
        },

        -- 170–175
        {
            min = 170,
            max = 175,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 294846,
                    crafts  = 5,
                    requires = {
                        { type = "recipe_spell", spellID = 294846 },
                    },
                    reagents = {
                        { itemID = 167738, count = 7 },
                        { itemID = 152577, count = 4 },
                        { itemID = 159959, count = 5 },
                        { itemID = 152668, count = 1 },
                    },
                },
            },
        },
    },
}
