-- ProfessionGuides/Blacksmithing/TWW_Blacksmithing.lua
local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.TWW = G.guides.TWW or {}

G.guides.TWW.BLACKSMITHING = {
    profession  = "Blacksmithing",
    skillLineID = 2872, -- Khaz Algar Blacksmithing
    nameKey = "PG_GUIDE_TWW_BLACKSMITHING_NAME",


    trainers = {
        alliance = {
            {
                npcID = 223644, -- Darean
                name  = "Darean",
                mapID = 2339, -- Khaz Algar
                x = 49.2,
                y = 63.6,
            },
        },
        horde = {
            {
                npcID = 223644, -- Darean
                name  = "Darean",
                mapID = 2339,
                x = 49.2,
                y = 63.6,
            },
        },
    },

    steps = {

        -- 1–15
        {
            min = 1,
            max = 15,
            recipes = {
                {
                    spellID = 450216,
                    crafts  = 48,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_1",
        },

        -- 15–16
        {
            min = 15,
            max = 16,
            recipes = {
                {
                    spellID = 450268, -- Proficient Pickaxe
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 16–17
        {
            min = 16,
            max = 17,
            recipes = {
                {
                    spellID = 450267,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 17–18
        {
            min = 17,
            max = 18,
            recipes = {
                {
                    spellID = 450269,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 18–19
        {
            min = 18,
            max = 19,
            recipes = {
                {
                    spellID = 450219,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 19–20
        {
            min = 19,
            max = 20,
            recipes = {
                {
                    spellID = 450217, -- Charged Alloy
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 20–21
        {
            min = 20,
            max = 21,
            recipes = {
                {
                    spellID = 450273,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_2",
        },

        -- 21–23
        {
            min = 21,
            max = 23,
            recipes = {
                {
                    spellID = 450260,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 23–25
        {
            min = 23,
            max = 25,
            recipes = {
                {
                    spellID = 450264,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 25–27
        {
            min = 25,
            max = 27,
            recipes = {
                {
                    spellID = 450261,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 27–29
        {
            min = 27,
            max = 29,
            recipes = {
                {
                    spellID = 450252,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 29–31
        {
            min = 29,
            max = 31,
            recipes = {
                {
                    spellID = 450251,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 31–32
        {
            min = 31,
            max = 32,
            recipes = {
                {
                    spellID = 450274,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_3",
        },

        -- 32–33
        {
            min = 32,
            max = 33,
            recipes = {
                {
                    spellID = 450256,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 33–34
        {
            min = 33,
            max = 34,
            recipes = {
                {
                    spellID = 450253,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 34–36
        {
            min = 34,
            max = 36,
            recipes = {
                {
                    spellID = 450266,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

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

        -- 38–39
        {
            min = 38,
            max = 39,
            recipes = {
                {
                    spellID = 450263,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 39–40
        {
            min = 39,
            max = 40,
            recipes = {
                {
                    spellID = 450265,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 40–41
        {
            min = 40,
            max = 41,
            recipes = {
                {
                    spellID = 450288,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 41–42
        {
            min = 41,
            max = 42,
            recipes = {
                {
                    spellID = 450289,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 42–44
        {
            min = 42,
            max = 44,
            recipes = {
                {
                    spellID = 450255,
                    crafts  = 1,
                    autoReagents = true,
                },
            },
        },

        -- 44–50
        {
            min = 44,
            max = 50,
            recipes = {
                {
                    spellID = 450254,
                    crafts  = 3,
                    autoReagents = true,
                },
            },
        },

        -- 50–65
        {
            min = 50,
            max = 65,
            recipes = {
                {
                    spellID = 450284,
                    crafts  = 17,
                    autoReagents = true,
                },
            },
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_4",
        },

        -- 65–75
        {
            min = 65,
            max = 75,
            recipes = {
                {
                    spellID = 450218,
                    crafts  = 20,
                    autoReagents = true,
                },
            },
        },

        -- 75–100
        {
            min = 75,
            max = 80,
            recipes = {
                {
                    spellID = 453727,
                    crafts  = 15,
                    autoReagents = true,
                },
            },
            -- disablesShopping = true,
            disablesCraftAll = true,
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_5",
        },        
		{
            min = 80,
            max = 100,
            recipes = {
                {
                    spellID = 453727,
                    crafts  = 20,
                    autoReagents = true,
                },
            },
            disablesShopping = true,
            disablesCraftAll = true,
            noteKey = "PG_GUIDE_TWW_BLACKSMITHING_NOTE_6",
        },
    },
}
