local PT = AhUI
if not PT then return end

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

G.guides.DRAENOR.TAILORING = {
    profession  = "Tailoring",
    skillLineID = 2535, -- Draenor Tailoring
    name = "Портняжное дело — Warlords of Draenor (1–100)",

	learnViaScroll = true,
	
    trainers = {
        alliance = {
            {
                npcID = 87049, -- Steven Cochrane
                name  = "Steven Cochrane",
                mapID = 622, -- Stormshield
                x = 51.0,
                y = 36.4,
            },
        },
        horde = {
            {
                npcID = 87543, -- Petir Starocean
                name  = "Petir Starocean",
                mapID = 624, -- Warspear
                x = 59.0,
                y = 42.8,
            },
        },
    },

    vendors = {
        alliance = {
            {
                npcID = 87049, -- Steven Cochrane
                name  = "Steven Cochrane",
                mapID = 622, -- Stormshield
                x = 51.0,
                y = 36.4,
                sells = {
                    { itemID = 115357 }, -- Draenor Tailoring
                },
            },
        },
        horde = {
            {
                npcID = 87543, -- Petir Starocean
                name  = "Petir Starocean",
                mapID = 624, -- Warspear
                x = 59.0,
                y = 42.8,
                sells = {
                    { itemID = 115357 }, -- Draenor Tailoring
                },
            },
        },
    },

    steps = {

		{
            min = 1,
            max = 2,
			useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 176058,
                    crafts  = 1,
                    reagents = {
                        { itemID = 111557, count = 5 },
                    },
                },
            },
        },
		
        {
            min = 2,
            max = 45,
            recipes = {
                {
                    spellID = 172539, -- Hexweave Cloth
                    crafts  = 100,
                    reagents = {
                        { itemID = 111557, count = 5 }, -- Sumptuous Fur
                    },
                },
            },
        },
        {
            min = 46,
            max = 80,
            recipes = {
                {
                    spellID = 168836, -- Hexweave Embroidery
                    crafts  = 40,
                    reagents = {
                        { itemID = 111557, count = 30 },
                    },
                },
            },
        },

        {
            min = 80,
            max = 100,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 80 уровня навыка!|r\n"..
					"Рецепты декора продаются за тайны дренорского портняжного дела",
            recipes = {
                {
                    spellID = 168836, -- Hexweave Embroidery
                    crafts  = 40,
                    reagents = {
                        { itemID = 111557, count = 30 },
                    },
                },
            },
        },
    },
}
