Help with loadout menu

I’m needing help adding weapon attachments with Loadout Menu. I asked for help there, but the only response I got was vague and they haven’t gotten back to me for three weeks so far.

Basically, the menu allows you to get predefined loadouts, using WarMenu as its base. The following adds the weapons to the player’s inventory (which is what the menu came with), but I haven’t been able to figure out how to add attachments to those weapons for the life of me. Here’s an example of the code for PD, if you don’t feel like installing the resource:

LSPD = {
    {"WEAPON_COMBATPISTOL"},
    {"WEAPON_NIGHTSTICK"},
    {"WEAPON_STUNGUN"},
    {"WEAPON_Flashlight"},
    {"WEAPON_CarbineRifle"},
    {"WEAPON_PumpShotgun"},
    {"WEAPON_FIREEXTINGUISHER"},
}

So yeah, how would I add an attachment, such as a flashlight (really the only thing I want for these guns), to these weapons? Any help would be greatly appreciated. Thanks!