local PT = AhUI
if not PT then return end

local G = PT.ProfessionGuides

G.guides.DRAGONFLIGHT = G.guides.DRAGONFLIGHT or {}

G.guides.DRAGONFLIGHT.INSCRIPTION = {
    profession  = "Inscription",
    skillLineID = 2828, -- Dragon Isles Inscription
    name = "Начертание — Dragonflight (1–100)",

    trainers = {
        alliance = {
            {
                npcID = 185540,
                name  = "Talendara",
                mapID = 2112, -- Valdrakken
                x = 39.4,
                y = 73.6,
            },
        },
        horde = {
            {
                npcID = 185540,
                name  = "Talendara",
                mapID = 2112, -- Valdrakken
                x = 39.4,
                y = 73.6,
            },
        },
    },

    steps = {

        -- 1–5
        {
            min = 1,
            max = 5,
            useEffectiveSkill = true,
            note =
                "Всего по гайду (1–80) понадобится:\n" ..
                "|cff00ff00• 49 Переливающаяся вода|r\n" ..
                "|cff00ff00• 25 Сверкающий пергамент|r\n"..
				"Купите у Пшизз(/way 35.96, 67.90).",
            recipes = {
                {
                    spellID = 383788,
                    crafts  = 4,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },-- Iridescent Water
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 191474 }, { itemID = 191475 }, { itemID = 191476 },
                            },
                        }, -- Draconic Vial
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 198412 }, { itemID = 198413 }, { itemID = 198414 },
                            },
                        }, -- Serene Pigment
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 198421 }, { itemID = 198422 }, { itemID = 198423 },
                            },
                        }, -- Shimmering Pigment
                    },
                },
            },
        },

        -- 5–10
        {
            min = 5,
            max = 10,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383786,
                    crafts  = 4,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },
 -- Iridescent Water
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 191474 }, { itemID = 191475 }, { itemID = 191476 },
                            },
                        }, -- Draconic Vial
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 198418 }, { itemID = 198419 }, { itemID = 198420 },
                            },
                        }, -- Blazing Pigment
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 198421 }, { itemID = 198422 }, { itemID = 198423 },
                            },
                        }, -- Shimmering Pigment
                    },
                },
            },
        },

        -- 10–15
        {
            min = 10,
            max = 15,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383787,
                    crafts  = 1,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },
 -- Iridescent Water
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 191474 }, { itemID = 191475 }, { itemID = 191476 },
                            },
                        }, -- Draconic Vial
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 198415 }, { itemID = 198416 }, { itemID = 198417 },
                            },
                        }, -- Flourishing Pigment
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 198421 }, { itemID = 198422 }, { itemID = 198423 },
                            },
                        }, -- Shimmering Pigment
                    },
                },
            },
        },

        -- 15–20
        {
            min = 15,
            max = 20,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 384949,
                    crafts  = 5,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        { itemID = 198487, count = 2, crafted = true }, -- Iridescent Water
                        {
                            count = 2,
                            --crafted = true,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
                    },
                },
            },
        },

        -- 20–23
        {
            min = 20,
            max = 23,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383563,
                    crafts  = 5,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        { itemID = 198487, count = 2, crafted = true }, -- Iridescent Water
                        {
                            count = 2,
                            --crafted = true,
                            anyOf = {
                                { itemID = 194751 }, { itemID = 194752 }, { itemID = 194846 },
                            },
                        }, -- Blazing Ink
                    },
                },
            },
        },

        -- 23–25
        {
            min = 23,
            max = 25,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 384948,
                    crafts  = 5,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        { itemID = 198487, count = 2, crafted = true }, -- Iridescent Water
                        {
                            count = 2,
                            --crafted = true,
                            anyOf = {
                                { itemID = 194850 }, { itemID = 194758 }, { itemID = 194852 },
                            },
                        }, -- Flourishing Ink
                    },
                },
            },
        },

        -- 25–30
        {
            min = 25,
            max = 30,
            useEffectiveSkill = true,
            recipes = {
                {
                    spellID = 383791,
                    crafts  = 3,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },
 -- Iridescent Water
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194751 }, { itemID = 194752 }, { itemID = 194846 },
                            },
                        }, -- Blazing Ink
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194850 }, { itemID = 194758 }, { itemID = 194852 },
                            },
                        }, -- Flourishing Ink
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
                    },
                },
            },
        },

        -- 30–31
        {
            min = 30,
            max = 31,
            recipes = {
                {
                    spellID = 383529,
                    crafts  = 1,
                    reagents = {
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 31–32
        {
            min = 31,
            max = 32,
            recipes = {
                {
                    spellID = 383527,
                    crafts  = 1,
                    reagents = {
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 32–33
        {
            min = 32,
            max = 33,
            recipes = {
                {
                    spellID = 383525,
                    crafts  = 1,
                    reagents = {
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 33–35
        {
            min = 33,
            max = 35,
            recipes = {
                {
                    spellID = 383791,
                    crafts  = 5,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },
 -- Iridescent Water
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194751 }, { itemID = 194752 }, { itemID = 194846 },
                            },
                        }, -- Blazing Ink
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194850 }, { itemID = 194758 }, { itemID = 194852 },
                            },
                        }, -- Flourishing Ink
                        {
                            count = 2,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
                    },
                },
            },
        },

        -- 35–42
        {
            min = 35,
            max = 42,
            recipes = {
                {
                    spellID = 383527,
                    crafts  = 15,
                    reagents = {
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 42–46
        {
            min = 42,
            max = 46,
            recipes = {
                {
                    spellID = 383790,
                    crafts  = 2,
                    reagents = {
                        { itemID = 198487, count = 1, crafted = true },
 -- Iridescent Water
                        { itemID = 190329, count = 1 }, -- Awakened Frost
                        {
							count = 2,
							anyOf = {
								{ itemID = 194760 },
								{ itemID = 194761 },
								{ itemID = 194855 },
							},
						},  -- Burnished Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
						{
							count = 1,
							anyOf = {
								{ itemID = 194862 },
								{ itemID = 194863 },
								{ itemID = 194864 },
							},
						}, -- Runed Writhebark (any quality)
                    },
                },
            },
        },

        -- 46–47
        {
            min = 46,
            max = 47,
            recipes = {
                {
                    spellID = 383561,
                    crafts  = 1,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194850 }, { itemID = 194758 }, { itemID = 194852 },
                            },
                        }, -- Flourishing Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 47–48
        {
            min = 47,
            max = 48,
            recipes = {
                {
                    spellID = 383562,
                    crafts  = 1,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194850 }, { itemID = 194758 }, { itemID = 194852 },
                            },
                        }, -- Flourishing Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 48–49
        {
            min = 48,
            max = 49,
            recipes = {
                {
                    spellID = 383555,
                    crafts  = 1,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194751 }, { itemID = 194752 }, { itemID = 194846 },
                            },
                        }, -- Blazing Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 49–50
        {
            min = 49,
            max = 50,
            recipes = {
                {
                    spellID = 383556,
                    crafts  = 1,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194751 }, { itemID = 194752 }, { itemID = 194846 },
                            },
                        }, -- Blazing Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 50–51
        {
            min = 50,
            max = 51,
            recipes = {
                {
                    spellID = 383554,
                    crafts  = 1,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 51–55
        {
            min = 51,
            max = 55,
            recipes = {
                {
                    spellID = 383560,
                    crafts  = 4,
                    reagents = {
                        { itemID = 194784, count = 1, crafted = true }, -- Glittering Parchment
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194856 }, { itemID = 194857 }, { itemID = 194858 },
                            },
                        }, -- Serene Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 55–80
        {
            min = 55,
            max = 80,
            recipes = {
                {
                    spellID = 383546,
                    crafts  = 55,
                    reagents = {
                        {
							count = 2,
							anyOf = {
								{ itemID = 194760 },
								{ itemID = 194761 },
								{ itemID = 194855 },
							},
						},  -- Burnished Ink
                        {
                            count = 1,
                            anyOf = {
                                { itemID = 194859 }, { itemID = 194767 }, { itemID = 194768 },
                            },
                        }, -- Chilled Rune
                    },
                },
            },
        },

        -- 80–100 (декор)
        {
            min = 80,
            max = 100,
            note = "|cff00ff00Доступен декор — докачивайте профессию декоративными рецептами.|r",
            disablesShopping = true,
        },
    },
}
