its dirty hack but add to needs.txt actions responses to needs (not) getting fulfilled to interact with a scripted object. have it scan for prisoners attacking/using it.. its good to add something like cigarette machine or kitchen sink/heating/bin/lamp (where you store your stash in prison)
if they are addicts.. they will Use objects like lamps (to store stash)
http://devwiki.introversion.co.uk/pa/in ... uide#Needsyou detect the object in use slot by adding this to the item being used. Pa dont use it. and only some modders been adding that
Slot.u == prisoner.Id.u Slot.i == prisoner.Id.i sees which prisoner is stashing items.. see that link
BEGIN Provider
Slot 0
END
the mod will immediately no the prisoner has the addiction, but you'll prolly only want take action on urine tests/etc
if you're the one that does the addictions mod let me no.. the people will want some real thing.. not just immediately detect and change sec level.. add wired objects.. methods... drug screens.. CODE CODE CODE
if you cant code or something thats fine.. I'm adding this to mine now