addiction
base class for addiction, handles when you become addicted and what the effects of that are. By default you become addicted when you hit a certain threshold, and stop being addicted once you go below another one.
Vars | |
addiction_gain_threshold | Higher threshold, when you start being addicted |
---|---|
addiction_loss_per_stage | Rates at which you lose addiction (in units/second) if you are not on the drug at that time per stage |
addiction_loss_threshold | Lower threshold, when you stop being addicted |
addiction_relief_treshold | Amount of drugs you need in your system to be satisfied |
high_sanity_addiction_loss | Rate at which high sanity helps addiction loss |
light_withdrawal_moodlet | moodlet for light withdrawal |
medium_withdrawal_moodlet | moodlet for medium withdrawal |
name | Name of this addiction |
severe_withdrawal_moodlet | moodlet for severe withdrawal |
withdrawal_stage_messages | Messages for each stage of addictions. |
Procs | |
become_addicted | Called when you become addicted |
on_gain_addiction_points | Called when you gain addiction points somehow. Takes a mind as argument and sees if you gained the addiction |
on_lose_addiction_points | Called when you lose addiction poitns somehow. Takes a mind as argument and sees if you lost the addiction |
withdrawal_enters_stage_1 | Called when addiction enters stage 1 |
withdrawal_enters_stage_2 | Called when addiction enters stage 2 |
withdrawal_enters_stage_3 | Called when addiction enters stage 3 |
withdrawal_stage_1_process | Called when addiction is in stage 1 every process |
withdrawal_stage_2_process | Called when addiction is in stage 2 every process |
withdrawal_stage_3_process | Called when addiction is in stage 3 every process |
Var Details
addiction_gain_threshold
Higher threshold, when you start being addicted
addiction_loss_per_stage
Rates at which you lose addiction (in units/second) if you are not on the drug at that time per stage
addiction_loss_threshold
Lower threshold, when you stop being addicted
addiction_relief_treshold
Amount of drugs you need in your system to be satisfied
high_sanity_addiction_loss
Rate at which high sanity helps addiction loss
light_withdrawal_moodlet
moodlet for light withdrawal
medium_withdrawal_moodlet
moodlet for medium withdrawal
name
Name of this addiction
severe_withdrawal_moodlet
moodlet for severe withdrawal
withdrawal_stage_messages
Messages for each stage of addictions.
Proc Details
become_addicted
Called when you become addicted
on_gain_addiction_points
Called when you gain addiction points somehow. Takes a mind as argument and sees if you gained the addiction
on_lose_addiction_points
Called when you lose addiction poitns somehow. Takes a mind as argument and sees if you lost the addiction
withdrawal_enters_stage_1
Called when addiction enters stage 1
withdrawal_enters_stage_2
Called when addiction enters stage 2
withdrawal_enters_stage_3
Called when addiction enters stage 3
withdrawal_stage_1_process
Called when addiction is in stage 1 every process
withdrawal_stage_2_process
Called when addiction is in stage 2 every process
withdrawal_stage_3_process
Called when addiction is in stage 3 every process