Research:Security and Crime

Pickpocketing
Pickpocketing is a multi-stage process. Not all items in the NPC's inventory are available, depending on the initial rolls. There are checks on a steal attempt, and when the window is closed.

On closing the pickpocket window
Same calculation as taking an item, but with valueTerm = 0.

Comments
The stealing process is highly broken for most items; any item or stack of items worth over 100 septims has such a negative result that it is picked at minimum chance, and this is at maximum all stats. A player with stats around 50 is picking at minimum for anything valuable. The available items window is not reset after every successful steal, only when you close the window and retry the pickpocket.

Prison
Prison time is proportional to the bounty. Skills can be lost during time spent in prison, except Security which can improve.