local PT = AhUI
if not PT then return end

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

G.guides.DRAGONFLIGHT.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2831, -- Dragon Isles Tailoring
    nameKey = "PG_GUIDE_DRAGONFLIGHT_TAILORING_NAME",


    -- =========================
    -- PROFESSION TRAINER
    -- =========================
    trainers = {
        alliance = {
            {
                npcID = 193649, -- Threadfinder Fulafong
                name  = "Threadfinder Fulafong",
                mapID = 2112, -- Valdrakken
                x = 31.8,
                y = 67.6,
            },
        },
        horde = {
            {
                npcID = 193649,
                name  = "Threadfinder Fulafong",
                mapID = 2112,
                x = 31.8,
                y = 67.6,
            },
        },
    },

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

        -- 1–15
        {
            min = 1,
            max = 15,
			noteKey = "PG_GUIDE_DRAGONFLIGHT_TAILORING_NOTE_1",
			disablesCraftAll = true,
			disablesCraft = true,
            recipes = {
                {
                    spellID = 376562,
                    crafts  = 30,
                    autoReagents = true,
                },
            },
        },

        -- 15–18
        {
            min = 15,
            max = 18,
            recipes = {
                {
                    spellID = 376507,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 18–21
        {
            min = 18,
            max = 21,
            recipes = {
                {
                    spellID = 376553,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 21–24
        {
            min = 21,
            max = 24,
            recipes = {
                {
                    spellID = 376547,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 24–27
        {
            min = 24,
            max = 27,
            recipes = {
                {
                    spellID = 376506,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 27–30
        {
            min = 27,
            max = 30,
            recipes = {
                {
                    spellID = 376551,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 30–32
        {
            min = 30,
            max = 32,
            recipes = {
                {
                    spellID = 395809,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 32–36
        {
            min = 32,
            max = 36,
            recipes = {
                {
                    spellID = 376543,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 36–38
        {
            min = 36,
            max = 38,
            recipes = {
                {
                    spellID = 395813,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 38–40
        {
            min = 38,
            max = 40,
            recipes = {
                {
                    spellID = 376549,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 40–46
        {
            min = 40,
            max = 46,
            recipes = {
                {
                    spellID = 395815,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 46–47
        {
            min = 46,
            max = 47,
            recipes = {
                {
                    spellID = 193950,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 47–51
        {
            min = 47,
            max = 51,
            recipes = {
                {
                    spellID = 395814,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 51–52
        {
            min = 51,
            max = 52,
            recipes = {
                {
                    spellID = 395807,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 52–53
        {
            min = 52,
            max = 53,
            recipes = {
                {
                    spellID = 376558,
                    crafts  = 2,
                    autoReagents = true,
                },
            },
        },

        -- 53–54
        {
            min = 53,
            max = 54,
            recipes = {
                {
                    spellID = 376538,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 54–65
        {
            min = 54,
            max = 65,
            recipes = {
                {
                    spellID = 395807,
                    crafts  = 25,
                    autoReagents = true,
                },
            },
        },

        -- 65–80
        {
            min = 65,
            max = 80,
			disablesCraft = true,
			disablesCraftAll = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_TAILORING_NOTE_2",
            recipes = {
                {
                    spellID = 376518,
                    crafts  = 5,
                    autoReagents = true,
                },
            },
        },

        -- 80–100 (декор)
        {
            min = 80,
            max = 100,
            disablesShopping = true,
			disablesCraft = true,
			disablesCraftAll = true,
            noteKey = "PG_GUIDE_DRAGONFLIGHT_TAILORING_NOTE_3",
            recipes = {
                {
                    spellID = 376518,
                    crafts  = 10,
                    autoReagents = true,
                },
            },
        },
    },
}
