Musing about creating a mod that would add loot to NPCs to pickpocket, since they usually only carry gold and keys. But I'd like to make the extra stuff depend on the NPC's social class, and the easiest way to check that is to see what gold leveled list they've been given (LL0NPCGoldLowerClass, et cetera).
I know how to cycle through the NPC's current inventory, but is there any way to see what items they have defined in the editor?
Also, does anyone know the formula for pickpocketing success? I want to see if I can change some values to make simply looking at an NPC's pockets not a crime.