mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
26 lines
1.2 KiB
Plaintext
26 lines
1.2 KiB
Plaintext
#define CE_WITHDRAWL "withdrawl" // Withdrawl symptoms
|
|
|
|
#define ADDICT_NORMAL 1
|
|
#define ADDICT_SLOW 2
|
|
#define ADDICT_FAST 3
|
|
#define ADDICT_POISON 4
|
|
#define ADDICT_ALL 5
|
|
|
|
GLOBAL_LIST_INIT(reagent_addictive_standard,list(REAGENT_ID_AMBROSIAEXTRACT,REAGENT_ID_TALUMQUEM,REAGENT_ID_METHYLPHENIDATE))
|
|
GLOBAL_LIST_INIT(reagent_addictive_slow,list(REAGENT_ID_TRAMADOL,REAGENT_ID_OXYCODONE,REAGENT_ID_TRICORDRAZINE,REAGENT_ID_ASUSTENANCE,REAGENT_ID_ETHANOL,REAGENT_ID_NICOTINE,REAGENT_ID_COFFEE))
|
|
GLOBAL_LIST_INIT(reagent_addictive_fast,list(REAGENT_ID_HYPERZINE,REAGENT_ID_BLISS))
|
|
GLOBAL_LIST_INIT(reagent_addictive_poison,list())
|
|
|
|
/proc/get_addictive_reagents(var/addict_type)
|
|
RETURN_TYPE(/list)
|
|
switch(addict_type)
|
|
if(ADDICT_NORMAL)
|
|
return GLOB.reagent_addictive_standard // Most reagents go here
|
|
if(ADDICT_SLOW)
|
|
return GLOB.reagent_addictive_slow // Booze, Cigs
|
|
if(ADDICT_FAST)
|
|
return GLOB.reagent_addictive_fast // Bliss, hyperzine, hardcore drugs
|
|
if(ADDICT_POISON)
|
|
return GLOB.reagent_addictive_poison // Poisons that use handle_addiction() for unique longterm poisoning
|
|
return GLOB.reagent_addictive_standard + GLOB.reagent_addictive_fast + GLOB.reagent_addictive_slow + GLOB.reagent_addictive_poison
|