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


	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,
                    autoReagents = true,
                },
            },
        },
		
        {
            min = 2,
            max = 45,
            recipes = {
                {
                    spellID = 172539, -- Hexweave Cloth
                    crafts  = 100,
                    autoReagents = true,
                },
            },
        },
        {
            min = 46,
            max = 80,
            recipes = {
                {
                    spellID = 168836, -- Hexweave Embroidery
                    crafts  = 40,
                    autoReagents = true,
                },
            },
        },

        {
            min = 80,
            max = 100,
            disablesShopping = true,
            noteKey = "PG_GUIDE_DRAENOR_TAILORING_NOTE_1",
            recipes = {
                {
                    spellID = 168836, -- Hexweave Embroidery
                    crafts  = 40,
                    autoReagents = true,
                },
            },
        },
    },
}
