local addonName, BPC = ...

BPC.Containers = {
    {
        id = "twilight",
        name = "Bulging Twilight Field Pouch",
        icon = 133590,
        vendor = "Triam Dawnsetter (Silvermoon City)",
        coords = "/way 48.19, 49.20",
        cost = "150 Dark Particles",
        items = {
            { itemID = 271000, sourceID = 306305, name = "Twilight Gut Ripper", slot = "One-Handed Axe", quality = 3, icon = 1060561 },
            { itemID = 271002, sourceID = 306307, name = "Twilight Berserker's Cleaver", slot = "Two-Handed Axe", quality = 3, icon = 371395 },
            { itemID = 271007, sourceID = 306312, name = "Twilight Ritualist's Stiletto", slot = "Dagger", quality = 3, icon = 460715 },
            { itemID = 271008, sourceID = 306313, name = "Cultist's Sacrificial Kris", slot = "Dagger", quality = 3, icon = 460715 },
            { itemID = 271013, sourceID = 306318, name = "Adherent's Wriggling Backstabber", slot = "Dagger", quality = 3, icon = 530806 },
            { itemID = 271014, sourceID = 306319, name = "Twilight Scout's Sticher", slot = "Dagger", quality = 3, icon = 371788 },
            { itemID = 271017, sourceID = 306322, name = "Twilight Slug Belcher", slot = "Gun", quality = 3, icon = 536310 },
            { itemID = 271022, sourceID = 306327, name = "Ritual Overseer's Mace", slot = "One-Handed Mace", quality = 3, icon = 376716 },
            { itemID = 271025, sourceID = 306330, name = "Twilight Guardian's Maul", slot = "Two-Handed Mace", quality = 3, icon = 367600 },
            { itemID = 271034, sourceID = 306339, name = "Ritual Overseer's Polestaff", slot = "Polearm", quality = 3, icon = 370252 },
            { itemID = 271040, sourceID = 306345, name = "Twilight Captain's Short Sword", slot = "One-Handed Sword", quality = 3, icon = 372849 },
            { itemID = 271043, sourceID = 306348, name = "Twilight Assassin's Glaive", slot = "Warglaive", quality = 3, icon = 1273724 },
            { itemID = 271047, sourceID = 306352, name = "Spell-Infused Wriggling Tentacles", slot = "Wand", quality = 3, icon = 533269 },
            { itemID = 271048, sourceID = 306353, name = "Wriggling Tentacle Fetish", slot = "Held In Off-Hand", quality = 3, icon = 533269 },
            { itemID = 271049, sourceID = 306354, name = "Ritual Weaver's Spellstick", slot = "Wand", quality = 3, icon = 511122 },
        }
    },
    {
        id = "naga",
        name = "Bulging Naga Field Pouch",
        icon = 133589,
        vendor = "Triam Dawnsetter (Silvermoon City)",
        coords = "/way 48.19, 49.20",
        cost = "150 Dark Particles",
        items = {
            { itemID = 271004, sourceID = 306309, name = "Deepcrawler Recurve Bow", slot = "Bow", quality = 3, icon = 135545 },
            { itemID = 271009, sourceID = 306314, name = "Daggerspine Trident Tine", slot = "Dagger", quality = 3, icon = 460715 },
            { itemID = 271015, sourceID = 306320, name = "Deep Fathom Claw", slot = "Fist Weapon", quality = 3, icon = 135598 },
            { itemID = 271018, sourceID = 306323, name = "Deepcrawler Pincher", slot = "One-Handed Mace", quality = 3, icon = 135678 },
            { itemID = 271023, sourceID = 306328, name = "Swingable Piranha", slot = "Held In Off-Hand", quality = 3, icon = 350650 },
            { itemID = 271024, sourceID = 306329, name = "Diseased Piranha Fetish", slot = "Held In Off-Hand", quality = 3, icon = 350650 },
            { itemID = 271026, sourceID = 306331, name = "Deeplurk Myrmidon's Trident", slot = "Polearm", quality = 3, icon = 366767 },
            { itemID = 271027, sourceID = 306332, name = "Deeplurk Battle Trident", slot = "Polearm", quality = 3, icon = 135131 },
            { itemID = 271029, sourceID = 306334, name = "Fathom-Coral Lightstaff", slot = "Staff", quality = 3, icon = 135184 },
            { itemID = 271030, sourceID = 306335, name = "Living Stave of the Deepdweller", slot = "Staff", quality = 3, icon = 135191 },
            { itemID = 271035, sourceID = 306340, name = "Deeplurk Sorceress' Stave", slot = "Staff", quality = 3, icon = 2921481 },
            { itemID = 271041, sourceID = 306346, name = "Blade of the Deeplurk Honorguard", slot = "One-Handed Sword", quality = 3, icon = 2429720 },
            { itemID = 271042, sourceID = 306347, name = "Myrmidon's Cutlass", slot = "One-Handed Sword", quality = 3, icon = 2735989 },
            { itemID = 271044, sourceID = 306349, name = "Deeplurk Shock Wand", slot = "Wand", quality = 3, icon = 135479 },
        }
    },
    {
        id = "amani",
        name = "Bulging Amani Field Pouch",
        icon = 133588,
        vendor = "Triam Dawnsetter (Silvermoon City)",
        coords = "/way 48.19, 49.20",
        cost = "150 Dark Particles",
        items = {
            { itemID = 271001, sourceID = 306306, name = "Greataxe of the Forest Tribe", slot = "Two-Handed Axe", quality = 3, icon = 132471 },
            { itemID = 271006, sourceID = 306311, name = "Forest Stalker's Bow", slot = "Bow", quality = 3, icon = 6989930 },
            { itemID = 271012, sourceID = 306317, name = "Forest Tiki Twinblade", slot = "Dagger", quality = 3, icon = 135701 },
            { itemID = 271021, sourceID = 306326, name = "Loa Battle Font", slot = "One-Handed Mace", quality = 3, icon = 133512 },
            { itemID = 271028, sourceID = 306333, name = "Amani War Spear", slot = "Polearm", quality = 3, icon = 7389536 },
            { itemID = 271032, sourceID = 306337, name = "Tiki-Bearer's Ritual Staff", slot = "Staff", quality = 3, icon = 135145 },
            { itemID = 271033, sourceID = 306338, name = "Skull-Bearer's Ritual Stave", slot = "Staff", quality = 3, icon = 370252 },
            { itemID = 271036, sourceID = 306341, name = "Forest Shaman's Voodoo Staff", slot = "Staff", quality = 3, icon = 7389592 },
            { itemID = 271037, sourceID = 306342, name = "Battle Shaman's Ritual Staff", slot = "Staff", quality = 3, icon = 6989931 },
            { itemID = 271039, sourceID = 306344, name = "Curved Blade of the Drained Loa", slot = "One-Handed Sword", quality = 3, icon = 135403 },
            { itemID = 271046, sourceID = 306351, name = "Voodoo Hex Stick", slot = "Wand", quality = 3, icon = 135485 },
            { itemID = 271050, sourceID = 306355, name = "Forest Hunter's Quiver", slot = "Held In Off-Hand", quality = 3, icon = 7389582 },
        }
    },
    {
        id = "elven",
        name = "Bulging Elven Field Pouch",
        icon = 133587,
        vendor = "Triam Dawnsetter (Silvermoon City)",
        coords = "/way 48.19, 49.20",
        cost = "150 Dark Particles",
        items = {
            { itemID = 271003, sourceID = 306308, name = "Sunfury Phoenix Bow", slot = "Bow", quality = 3, icon = 135505 },
            { itemID = 271005, sourceID = 306310, name = "Violet Thalassian Greatbow", slot = "Bow", quality = 3, icon = 135518 },
            { itemID = 271010, sourceID = 306315, name = "Glistening Sin'dorei Twinblade", slot = "Dagger", quality = 3, icon = 135706 },
            { itemID = 271011, sourceID = 306316, name = "Frostdeep Spider's Fang", slot = "Dagger", quality = 3, icon = 135689 },
            { itemID = 271016, sourceID = 306321, name = "Golden Phoenix's Beak", slot = "Fist Weapon", quality = 3, icon = 135607 },
            { itemID = 271019, sourceID = 306324, name = "Sin'dorei Magister's Gavel", slot = "One-Handed Mace", quality = 3, icon = 133551 },
            { itemID = 271020, sourceID = 306325, name = "Phoenix Wing Basher", slot = "One-Handed Mace", quality = 3, icon = 133510 },
            { itemID = 271031, sourceID = 306336, name = "Onyx Bloodknight Stave", slot = "Staff", quality = 3, icon = 135208 },
            { itemID = 271038, sourceID = 306343, name = "Ornate Blade of the Royal Guard", slot = "One-Handed Sword", quality = 3, icon = 135296 },
            { itemID = 271045, sourceID = 306350, name = "Crystal Focus Spellslinger", slot = "Wand", quality = 3, icon = 135487 },
            { itemID = 271054, sourceID = 306359, name = "Sunlit Petalweave Crown", slot = "Head", quality = 3, icon = 7739694 },
            { itemID = 271055, sourceID = 306360, name = "Sunlit Petalweave Mantle", slot = "Shoulder", quality = 3, icon = 7739698 },
            { itemID = 271056, sourceID = 306361, name = "Sunlit Petalweave Halter", slot = "Chest", quality = 3, icon = 7739692 },
            { itemID = 271057, sourceID = 306362, name = "Sunlit Petalweave Belt", slot = "Waist", quality = 3, icon = 7739686 },
            { itemID = 271058, sourceID = 306363, name = "Sunlit Petalweave Skirt", slot = "Legs", quality = 3, icon = 7739697 },
            { itemID = 271059, sourceID = 306364, name = "Sunlit Petalweave Boots", slot = "Feet", quality = 3, icon = 7739688 },
            { itemID = 271060, sourceID = 306365, name = "Sunlit Petalweave Gloves", slot = "Hands", quality = 3, icon = 7739693 },
            { itemID = 271061, sourceID = 306366, name = "Sunlit Petalweave Cloak", slot = "Back", quality = 3, icon = 7739690 },
        }
    },
    {
        id = "winter",
        name = "Bulging Winter Pack",
        icon = 133591,
        vendor = "Kifaan (Umbral Base Camp, Val)",
        coords = "Naigtal / Val",
        cost = "250 Field Accolades",
        items = {
            { itemID = 249755, sourceID = 296315, name = "Void-Touched Winter Hood", slot = "Head", quality = 4, icon = 7210328 },
            { itemID = 249756, sourceID = 296316, name = "Void-Touched Winter Pauldrons", slot = "Shoulder", quality = 4, icon = 7210330 },
            { itemID = 249757, sourceID = 296317, name = "Void-Touched Winter Tunic", slot = "Chest", quality = 4, icon = 7210326 },
            { itemID = 249758, sourceID = 296318, name = "Void-Touched Winter Belt", slot = "Waist", quality = 4, icon = 7210323 },
            { itemID = 249759, sourceID = 296319, name = "Void-Touched Winter Leggings", slot = "Legs", quality = 4, icon = 7210329 },
            { itemID = 249760, sourceID = 296320, name = "Void-Touched Winter Boots", slot = "Feet", quality = 4, icon = 7210324 },
            { itemID = 249761, sourceID = 296321, name = "Void-Touched Winter Gloves", slot = "Hands", quality = 4, icon = 7210327 },
            { itemID = 249762, sourceID = 296322, name = "Void-Touched Winter Cloak", slot = "Back", quality = 4, icon = 7210325 },
            { itemID = 249864, sourceID = 296332, name = "Void-Touched Winter Spaulders", slot = "Shoulder", quality = 4, icon = 7215496 },
            { itemID = 249861, sourceID = 296329, name = "Noble's Winter Spaulders", slot = "Shoulder", quality = 4, icon = 7215496 },
        }
    },
    {
        id = "ethereal",
        name = "Bulging Ethereal Pack",
        icon = 133592,
        vendor = "Kifaan (Umbral Base Camp, Naigtal)",
        coords = "Naigtal / Val",
        cost = "250 Field Accolades",
        items = {
            { itemID = 274870, sourceID = 309048, name = "Assassin's Void-String Bow", slot = "Bow", quality = 4, icon = 7242246 },
            { itemID = 274871, sourceID = 309049, name = "Giant Worm Piercer", slot = "Crossbow", quality = 4, icon = 7136376 },
            { itemID = 274872, sourceID = 309050, name = "Darkness' Horrific Barb", slot = "Dagger", quality = 4, icon = 7284845 },
            { itemID = 274873, sourceID = 309051, name = "Funeral Attendant's Spire", slot = "Staff", quality = 4, icon = 7284845 },
            { itemID = 274874, sourceID = 309052, name = "Flickering Wing Separator", slot = "One-Handed Axe", quality = 4, icon = 6981445 },
            { itemID = 274875, sourceID = 309053, name = "Riftwalker's Lantern", slot = "Held In Off-Hand", quality = 4, icon = 7228712 },
            { itemID = 274876, sourceID = 309054, name = "Reinforced Fungalhide Bulwark", slot = "Shield", quality = 4, icon = 7194684 },
            { itemID = 274877, sourceID = 309055, name = "Phaseblade Headsplitter", slot = "Two-Handed Axe", quality = 4, icon = 6218582 },
            { itemID = 274878, sourceID = 309056, name = "Hal'hadar Shadowripper's Blade", slot = "One-Handed Sword", quality = 4, icon = 6220145 },
            { itemID = 274879, sourceID = 309057, name = "Mana-Amplified Crusher", slot = "Two-Handed Mace", quality = 4, icon = 6310136 },
            { itemID = 274880, sourceID = 309058, name = "Hal'hadar Adjutant's Gavel", slot = "One-Handed Mace", quality = 4, icon = 6359755 },
            { itemID = 274881, sourceID = 309059, name = "Phase Igniter", slot = "Wand", quality = 4, icon = 6225466 },
            { itemID = 274882, sourceID = 309060, name = "Hal'hadar Pulse Rifle", slot = "Gun", quality = 4, icon = 6255682 },
            { itemID = 274883, sourceID = 309061, name = "Hal'hadar Warpguard's Poleaxe", slot = "Polearm", quality = 4, icon = 6215895 },
            { itemID = 274884, sourceID = 309062, name = "Arcanografter's Beacon", slot = "Held In Off-Hand", quality = 4, icon = 6654410 },
            { itemID = 274885, sourceID = 309063, name = "Phase-Edged Falchion", slot = "One-Handed Sword", quality = 4, icon = 6193629 },
            { itemID = 274886, sourceID = 309064, name = "Eradicator's Censer", slot = "One-Handed Mace", quality = 4, icon = 6225614 },
            { itemID = 274887, sourceID = 309065, name = "Mana-Overloaded Bulwark", slot = "Shield", quality = 4, icon = 6242038 },
            { itemID = 274888, sourceID = 309066, name = "Hal'hadar Legion Glaives", slot = "Warglaive", quality = 4, icon = 6389589 },
            { itemID = 274889, sourceID = 309067, name = "Hal'hadar Darkblade's Edge", slot = "Two-Handed Sword", quality = 4, icon = 6243363 },
        }
    }
}

BPC.ContainerMap = {}
BPC.ContainerNameMap = {}

for _, container in ipairs(BPC.Containers) do
    BPC.ContainerMap[container.id] = container
    local cleanName = string.lower(container.name)
    BPC.ContainerNameMap[cleanName] = container
end
