[QUESTION] Making the prisoners consume their booze or drugs

Discussion about Mods for Prison Architect

Moderator: NBJeff

nightphonix
level0
Posts: 9
Joined: Sun Jun 22, 2014 12:52 am

[QUESTION] Making the prisoners consume their booze or drugs

Postby nightphonix » Sat Aug 30, 2014 6:17 pm

I read a comment on steam
" Proteus :

Well, AFAIK the Rehab Programs themselves are working ... they just never ever get any participants because the (only) prerequisite for getting sent to the program is, getting caught intoxicated ... and something about the willingness of prisoners to actually consume the drugs/booze they smuggle in seems to be broken.
The prisoners seem to think about the drugs/booze as Pokemons .. collect them all ... and not as something that is to be consumed :D "

So I thought maybe is a way to make them consume them:

Code: Select all

BEGIN Need       
    Name                 Drugs 
    Priority             8 
    FailureAction        Withdrawal 
    MisbehaviorType      Spoiling 
    TimeToAction         720.000 
    TimeToFailure        1440.00 
    StartingActionPoints 33 
    RandomActionPoints   33 
    Chance               0.300000 
    GenerationRules      Narcotics 
    Visibility           AutoHide
    Properties           AutoCharge
    Properties           Involuntary
END

BEGIN Need       
    Name                 Alcohol 
    Priority             8 
    Hidden               false 
    AutoCharge           true 
    FailureAction        Withdrawal 
    MisbehaviorType      Spoiling 
    TimeToAction         720.000 
    TimeToFailure        1440.00 
    StartingActionPoints 33 
    RandomActionPoints   33 
    Chance               0.300000 
    GenerationRules      Narcotics 
    Visibility           AutoHide
    Properties           AutoCharge
    Properties           Involuntary
END

BEGIN Provider
   Action          TakeDrugs
   ProviderType   Object
   Object           Drugs
   Slot           0
   PrimaryNeed       Drugs
   PrimaryRate       -5.00000
   ActionType       Consume
END

BEGIN Provider
   Action           TakeAlcohol
   ProviderType   Object
   Object           Booze
   PrimaryNeed       Alcohol 
   PrimaryRate       -10.0000
   ActionType       Consume
   
END


Is it okay if not has anybody have any idea about how to make them consume this?
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Making the prisoners consume their booze or drugs

Postby knoest26 » Sat Aug 30, 2014 6:59 pm

Nice try. There are two issues though:
-One, booze is an equipment, not an object so that might be an issue
-Two, because you listed it as a provider it actually reduces the need for alcohol
nightphonix
level0
Posts: 9
Joined: Sun Jun 22, 2014 12:52 am

Re: Making the prisoners consume their booze or drugs

Postby nightphonix » Sat Aug 30, 2014 7:20 pm

knoest26 wrote:Nice try. There are two issues though:
-One, booze is an equipment, not an object so that might be an issue
-Two, because you listed it as a provider it actually reduces the need for alcohol

Okay so what should I list them if not provider, because I want to see if the problem is caused by the fact that they don't get intoxicated. So this is the ultimate purpose of this mod to make them get intoxicated and then to see if they get in the programs.
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Making the prisoners consume their booze or drugs

Postby knoest26 » Sat Aug 30, 2014 7:24 pm

Ahh, they don't need to use Booze to get intoxicated.

There is just a 30 (see the needs file) percent chance someone will be an alcoholic and his alcohol need will then just autocharge again
nightphonix
level0
Posts: 9
Joined: Sun Jun 22, 2014 12:52 am

Re: Making the prisoners consume their booze or drugs

Postby nightphonix » Sat Aug 30, 2014 7:34 pm

knoest26 wrote:Ahh, they don't need to use Booze to get intoxicated.

There is just a 30 (see the needs file) percent chance someone will be an alcoholic and his alcohol need will then just autocharge again

So then how do I catch them intoxicated?
I tried everything
-search him when the needs are high
-search them when they vomit on the floor
-search them when they scream drugs
Also I never get any prisoners that took to many drugs and the doctor should save them(maybe that is intoxication)
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Making the prisoners consume their booze or drugs

Postby knoest26 » Sat Aug 30, 2014 7:39 pm

This mod allows you to see whether or not a prisoner has the need for drugs or alcohol (doesn't have a sprite file so it's compatible).
nightphonix
level0
Posts: 9
Joined: Sun Jun 22, 2014 12:52 am

Re: Making the prisoners consume their booze or drugs

Postby nightphonix » Sat Aug 30, 2014 8:17 pm

knoest26 wrote:This mod allows you to see whether or not a prisoner has the need for drugs or alcohol (doesn't have a sprite file so it's compatible).

This mod is nice and all but it doesn't help me. As I said I need to catch them intoxicated because in alpha 23 change-log says that only intoxicated(high, drunk) will get sent to the programs.
I never get a high or drunk prisoner so nobody is sent to the program. I tried to find a way to make them high or drunk and see if they go to the program.
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Making the prisoners consume their booze or drugs

Postby knoest26 » Sat Aug 30, 2014 8:51 pm

hahahaha. Thats a bug, since Alpha 23 those programs won't be attended anymore
nightphonix
level0
Posts: 9
Joined: Sun Jun 22, 2014 12:52 am

Re: Making the prisoners consume their booze or drugs

Postby nightphonix » Sat Aug 30, 2014 10:05 pm

knoest26 wrote:hahahaha. Thats a bug, since Alpha 23 those programs won't be attended anymore

I know about the bug, but I also know that if you make it voluntary prisoners will go(but some or even all will be without addictions)
So I presume that if you have a way to make them high or drunk(to have this status) you will have referrals(maybe with scripting). There should be a to put a status on a prisoner.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 6 guests