local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

G.guides.DF = G.guides.DF or {}

G.guides.DF.COOKING = {
    profession  = "Cooking",
    skillLineID = 2824, -- Dragon Isles Cooking
    name = "Кулинария — Dragonflight (1–100)",

    trainers = {
        alliance = {
            {
                npcID = 185556,
                name  = "Erugosa",
                mapID = 2112,
                x = 46.29,
                y = 46.02,
            },
        },
        horde = {
            {
                npcID = 185556,
                name  = "Erugosa",
                mapID = 2112,
                x = 46.29,
                y = 46.02,
            },
        },
    },

    steps = {

        -- 1–20
        {
            min = 1,
            max = 20,

            recipes = {
                {
                    spellID = 381364,
                    crafts  = 19,

                    reagents = {
                        { itemID = 197755, count = 2 },
                        { itemID = 197752, count = 1 },
                    },
                },
            },
        },

        -- 20–25
        {
            min = 20,
            max = 25,

            note = "Вода продаётся у учителя.",

            recipes = {
                {
                    spellID = 381381,
                    crafts  = 5,

                    reagents = {
                        { itemID = 197742, count = 1 },
                        { itemID = 159, count = 1, crafted = true }, -- вода (покупная)
                    },
                },
            },
        },

        -- 25–45
        {
            min = 25,
            max = 45,

            recipes = {
                {
                    spellID = 381382,
                    crafts  = 20,

                    reagents = {
                        { itemID = 194691, count = 1 },
                        { itemID = 197742, count = 1 },
                    },
                },
            },
        },

        -- 45–50
        {
            min = 45,
            max = 50,

            recipes = {
                {
                    spellID = 381371,
                    crafts  = 5,

                    reagents = {
                        { itemID = 197743, count = 2 },
                        { itemID = 197744, count = 2 },
                        { itemID = 197746, count = 2 },
                        { itemID = 197745, count = 2 },
                        { itemID = 197747, count = 2 },
                        { itemID = 197748, count = 2 },
                    },
                },
            },
        },

		-- 50–80
		{
			min = 50,
			max = 80,
            note =
                "Купите рецепт на аукционе, но сначала посмотрите на каком сервере дешевле.",
            recipes = {
				{
					spellID = 381412,
					crafts  = 30,
					reagents = {
						{ itemID = 194829, count = 1 },
						{ itemID = 197753, count = 3 },
						{ itemID = 197751, count = 5 },
                        {
                            anyOf = {
                                { itemID = 193368 },
                                { itemID = 193369 },
                                { itemID = 193370 },
                            },		
						count = 2,		
						},
					},
				},
			},
		},
        -- 80–100
        {
            min = 80,
            max = 100,

            note =
                "|cff00ff00Декор доступен с 80 уровня навыка!|r\n" ..
                "Докачивайте декором, если не играли в Dragonflight.",

            disablesShopping = true,
        },
    },
}
