local addonName, ns = ...

if addonName ~= "NomTools" then
    ns = _G.NomTools
end

if not ns then
    return
end

ns.SHOPPING_LIST_CATEGORY_GROUPS = {
    { key = "flasks", name = "Flasks" },
    { key = "food", name = "Food" },
    { key = "weapon_enhancements", name = "Weapon Enhancements" },
    { key = "potions", name = "Potions" },
    { key = "utility", name = "Utility" },
    { key = "other", name = "Other" },
}

ns.SHOPPING_LIST_CATALOG = {
    -- Flasks
    { key = "flask_blood_knights2", label = "Flask of the Blood Knights (Rank 2)", category = "flasks", itemIDs = { 241324 }, defaultThreshold = 1 },
    { key = "flask_blood_knights1", label = "Flask of the Blood Knights (Rank 1)", category = "flasks", itemIDs = { 241325 }, defaultThreshold = 1 },
    { key = "flask_magisters2", label = "Flask of the Magisters (Rank 2)", category = "flasks", itemIDs = { 241322 }, defaultThreshold = 1 },
    { key = "flask_magisters1", label = "Flask of the Magisters (Rank 1)", category = "flasks", itemIDs = { 241323 }, defaultThreshold = 1 },
    { key = "flask_shattered_sun2", label = "Flask of the Shattered Sun (Rank 2)", category = "flasks", itemIDs = { 241326 }, defaultThreshold = 1 },
    { key = "flask_shattered_sun1", label = "Flask of the Shattered Sun (Rank 1)", category = "flasks", itemIDs = { 241327 }, defaultThreshold = 1 },
    { key = "flask_thalassian_resistance2", label = "Flask of Thalassian Resistance (Rank 2)", category = "flasks", itemIDs = { 241320}, defaultThreshold = 1 },
    { key = "flask_thalassian_resistance1", label = "Flask of Thalassian Resistance (Rank 1)", category = "flasks", itemIDs = { 241321}, defaultThreshold = 1 },
    { key = "flask_vicious_thalassian_honor", label = "Flask of Vicious Thalassian Honor", category = "flasks", itemIDs = { 241334}, defaultThreshold = 1 },

    -- Food (feasts and common individual foods)
    { key = "food_harandar_celebration", label = "Harandar Celebration", category = "food", itemIDs = { 255846 }, defaultThreshold = 1 },
    { key = "food_hearty_harandar", label = "Hearty Harandar Celebration", category = "food", itemIDs = { 266996 }, defaultThreshold = 1 },
    { key = "food_silvermoon_parade", label = "Silvermoon Parade", category = "food", itemIDs = { 255845 }, defaultThreshold = 1 },
    { key = "food_hearty_silvermoon", label = "Hearty Silvermoon Parade", category = "food", itemIDs = { 266985 }, defaultThreshold = 1 },
    { key = "food_impossibly_royal_roast", label = "Impossibly Royal Roast", category = "food", itemIDs = { 255847 }, defaultThreshold = 1 },
    { key = "food_hearty_impossibly", label = "Hearty Impossibly Royal Roast", category = "food", itemIDs = { 268679 }, defaultThreshold = 1 },
    { key = "food_royal_roast", label = "Royal Roast", category = "food", itemIDs = { 242275 }, defaultThreshold = 1 },
    { key = "food_hearty_royal_roast", label = "Hearty Royal Roast", category = "food", itemIDs = { 242747 }, defaultThreshold = 1 },

    -- Weapon Enhancements
    { key = "weapon_phoenix_oil2", label = "Thalassian Phoenix Oil (Rank 2)", category = "weapon_enhancements", itemIDs = { 243734 }, defaultThreshold = 1 },
    { key = "weapon_phoenix_oil1", label = "Thalassian Phoenix Oil (Rank 1)", category = "weapon_enhancements", itemIDs = { 243733 }, defaultThreshold = 1 },
    { key = "smugglers_enchanted_edge2", label = "Smuggler's Enchanted Edge (Rank 2)", category = "weapon_enhancements", itemIDs = { 243738 }, defaultThreshold = 1 },
    { key = "smugglers_enchanted_edge1", label = "Smuggler's Enchanted Edge (Rank 1)", category = "weapon_enhancements", itemIDs = { 243737 }, defaultThreshold = 1 },
    { key = "oil_of_dawn2", label = "Oil of Dawn (Rank 2)", category = "weapon_enhancements", itemIDs = { 243736 }, defaultThreshold = 1 },
    { key = "oil_of_dawn1", label = "Oil of Dawn (Rank 1)", category = "weapon_enhancements", itemIDs = { 243735 }, defaultThreshold = 1 },
    { key = "weapon_weightstone2", label = "Refulgent Weightstone (Rank 2)", category = "weapon_enhancements", itemIDs = { 237369 }, defaultThreshold = 1 },
    { key = "weapon_weightstone1", label = "Refulgent Weightstone (Rank 1)", category = "weapon_enhancements", itemIDs = { 237367 }, defaultThreshold = 1 },
    { key = "weapon_whetstone2", label = "Refulgent Whetstone (Rank 2)", category = "weapon_enhancements", itemIDs = { 237371 }, defaultThreshold = 1 },
    { key = "weapon_whetstone1", label = "Refulgent Whetstone (Rank 1)", category = "weapon_enhancements", itemIDs = { 237370 }, defaultThreshold = 1 },
    { key = "weapon_razorstone2", label = "Refulgent Razorstone (Rank 2)", category = "weapon_enhancements", itemIDs = { 237373 }, defaultThreshold = 1 },
    { key = "weapon_razorstone1", label = "Refulgent Razorstone (Rank 1)", category = "weapon_enhancements", itemIDs = { 237372 }, defaultThreshold = 1 },

    -- Potions
    { key = "potion_silvermoon_healing2", label = "Silvermoon Healing Potion (Rank 2)", category = "potions", itemIDs = { 241304 }, defaultThreshold = 1 },
    { key = "potion_silvermoon_healing1", label = "Silvermoon Healing Potion (Rank 1)", category = "potions", itemIDs = { 241305 }, defaultThreshold = 1 },
    { key = "potion_mana2", label = "Mana Potion (Rank 2)", category = "potions", itemIDs = { 241300 }, defaultThreshold = 1 },
    { key = "potion_mana1", label = "Mana Potion (Rank 1)", category = "potions", itemIDs = { 241301 }, defaultThreshold = 1 },
    { key = "lights_potential2", label = "Light's Potential (Rank 2)", category = "potions", itemIDs = { 241308 }, defaultThreshold = 1 },
    { key = "lights_potential1", label = "Light's Potential (Rank 1)", category = "potions", itemIDs = { 241309 }, defaultThreshold = 1 },

    -- Utility
    { key = "utility_drums2", label = "Utility Drums (Rank 2)", category = "utility", itemIDs = { 244641 }, defaultThreshold = 1 },
    { key = "utility_drums1", label = "Utility Drums (Rank 1)", category = "utility", itemIDs = { 244640 }, defaultThreshold = 1 },
    { key = "emergency_soul_link2", label = "Emergency Soul Link (Rank 2)", category = "utility", itemIDs = { 269586 }, defaultThreshold = 1 },
    { key = "emergency_soul_link1", label = "Emergency Soul Link (Rank 1)", category = "utility", itemIDs = { 248486 }, defaultThreshold = 1 },

    -- Other
    { key = "void_touched_augment_rune", label = "Void-Touched Augment Rune", category = "other", itemIDs = { 259085 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_finesse2", label = "Haranir's Phial of Finesse (Rank 2)", category = "other", itemIDs = { 241310 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_finesse1", label = "Haranir's Phial of Finesse (Rank 1)", category = "other", itemIDs = { 241311 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_ingenuity2", label = "Haranir's Phial of Ingenuity (Rank 2)", category = "other", itemIDs = { 241312 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_ingenuity1", label = "Haranir's Phial of Ingenuity (Rank 1)", category = "other", itemIDs = { 241313 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_perception2", label = "Haranir's Phial of Perception (Rank 2)", category = "other", itemIDs = { 241316 }, defaultThreshold = 1 },
    { key = "haranir_phial_of_perception1", label = "Haranir's Phial of Perception (Rank 1)", category = "other", itemIDs = { 241317 }, defaultThreshold = 1 },
}
