Hallucinations part 2: Chem Factor (#8657)

This commit is contained in:
Doxxmedearly
2020-04-16 18:13:49 -03:00
committed by GitHub
parent 686368f0db
commit 1b6d79bb07
9 changed files with 65 additions and 7 deletions
@@ -78,7 +78,7 @@
return
M.dizziness = max(150, M.dizziness)//Setting dizziness directly works as long as the make_dizzy proc is called after to spawn the process
M.make_dizzy(4)
M.add_chemical_effect(CE_HALLUCINATE, 1)
M.confused = max(M.confused, 20)
/datum/reagent/impedrezene
@@ -111,6 +111,7 @@
/datum/reagent/mindbreaker/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
M.hallucination = max(M.hallucination, 100)
M.add_chemical_effect(CE_HALLUCINATE, 2)
/datum/reagent/psilocybin
name = "Psilocybin"
@@ -127,6 +128,7 @@
if(istype(H) && (H.species.flags & NO_BLOOD))
return
M.druggy = max(M.druggy, 30)
M.add_chemical_effect(CE_HALLUCINATE, 1)
if(dose < 1)
M.apply_effect(3, STUTTER)
M.make_dizzy(5)
@@ -323,11 +325,16 @@
/datum/reagent/wulumunusha
name = "Wulumunusha Extract"
id = "wulumunusha"
description = "The extract of the wulumunusha fruit, it can cause hallucionations and muteness."
description = "The extract of the wulumunusha fruit, it can cause hallucinations and muteness."
color = "#61E2EC"
taste_description = "sourness"
fallback_specific_heat = 1
overdose = 10
/datum/reagent/wulumunusha/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
M.druggy = max(M.druggy, 100)
M.silent = max(M.silent, 5)
M.silent = max(M.silent, 5)
/datum/reagent/wulumunusha/overdose(var/mob/living/carbon/M, var/alien, var/removed = 0, var/scale = 1)
if(isskrell(M))
M.hallucination = max(M.hallucination, 10 * scale) //light hallucinations that afflict skrell
@@ -3237,6 +3237,8 @@
/datum/reagent/alcohol/ethanol/pwine/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
..()
M.add_chemical_effect(CE_HALLUCINATE, 1)
M.hallucination = max(M.hallucination, 25)
if(dose > 30)
M.adjustToxLoss(2 * removed)
@@ -323,6 +323,7 @@
M.hallucination = max(0, M.hallucination - 10)
M.adjustToxLoss(5 * removed) // It used to be incredibly deadly due to an oversight. Not anymore!
M.add_chemical_effect(CE_PAINKILLER, 40)
M.add_chemical_effect(CE_HALLUCINATE, -1)
if (!modifier)
modifier = M.add_modifier(/datum/modifier/adrenaline, MODIFIER_REAGENT, src, _strength = 1, override = MODIFIER_OVERRIDE_STRENGTHEN)
@@ -868,6 +869,10 @@
/datum/brain_trauma/mild/hallucinations = 2
)
/datum/reagent/mental/methylphenidate/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
M.add_chemical_effect(CE_HALLUCINATE, -1)
..()
/datum/reagent/mental/fluvoxamine
name = "Fluvoxamine"
id = "fluvoxamine"
@@ -1085,6 +1090,10 @@
/datum/reagent/mental/escitalopram = 20
)
/datum/reagent/mental/risperidone/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
M.add_chemical_effect(CE_HALLUCINATE, -2)
..()
/datum/reagent/mental/olanzapine
name = "Olanzapine"
id = "olanzapine"
@@ -1122,6 +1131,10 @@
/datum/reagent/mental/escitalopram = 20
)
/datum/reagent/mental/olanzapine/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
M.add_chemical_effect(CE_HALLUCINATE, -2)
..()
/datum/reagent/mental/truthserum
name = "Truth serum"
id = "truthserum"