GetAllSlotMods
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Will return a stringmap of all possible mods that can be assigned to a specific slot. If the slot argument is omitted, then this will return all linked attachments to a form. Unlike GetWeaponRefModFlags, this can return mods from both the extended system and vanilla system.
Syntax
GetAllModsInSlot object:ref slot:string
Example
aItemMods = GetAllModsInSlot WeapNV9mmPistol
This will return all mods that can be attached to the 9mm pistol.