diff --git a/code/__DEFINES/chemistry.dm b/code/__DEFINES/chemistry.dm index 078ccbdc2d94..35e040654881 100644 --- a/code/__DEFINES/chemistry.dm +++ b/code/__DEFINES/chemistry.dm @@ -187,6 +187,7 @@ #define PROPERTY_NEUROSHIELDING "neuroshielding" #define PROPERTY_ANTIADDICTIVE "anti-addictive" #define PROPERTY_ADDICTIVE "addictive" +#define PROPERTY_ENCEPHALOPHRASIVE "encephalophrasive" //Legendary, only in gen_tier 3+ #define PROPERTY_HYPERGENETIC "hypergenetic" #define PROPERTY_BOOSTING "boosting" diff --git a/code/modules/reagents/Chemistry-Generator.dm b/code/modules/reagents/Chemistry-Generator.dm index f4cc32be3670..79efe2ef4453 100644 --- a/code/modules/reagents/Chemistry-Generator.dm +++ b/code/modules/reagents/Chemistry-Generator.dm @@ -344,7 +344,8 @@ PROPERTY_ADDICTIVE = list(PROPERTY_PSYCHOSTIMULATING, PROPERTY_NEUROTOXIC),\ PROPERTY_CIPHERING_PREDATOR = list(PROPERTY_CIPHERING, PROPERTY_CROSSMETABOLIZING),\ PROPERTY_FIRE_PENETRATING = list(PROPERTY_OXYGENATING, PROPERTY_VISCOUS),\ - PROPERTY_BONEMENDING = list(PROPERTY_HYPERDENSIFICATING, PROPERTY_NUTRITIOUS)) + PROPERTY_BONEMENDING = list(PROPERTY_HYPERDENSIFICATING, PROPERTY_NUTRITIOUS),\ + PROPERTY_ENCEPHALOPHRASIVE = list(PROPERTY_NERVESTIMULATING, PROPERTY_PSYCHOSTIMULATING)) var/datum/chem_property/match var/datum/chem_property/initial_property for(var/datum/chem_property/P in properties) diff --git a/code/modules/reagents/chemistry_properties/prop_neutral.dm b/code/modules/reagents/chemistry_properties/prop_neutral.dm index da0cc0c6054f..7bebb786aa34 100644 --- a/code/modules/reagents/chemistry_properties/prop_neutral.dm +++ b/code/modules/reagents/chemistry_properties/prop_neutral.dm @@ -519,6 +519,34 @@ /datum/chem_property/neutral/hyperthrottling/process_critical(mob/living/M, potency = 1, delta_time) M.apply_effect(potency * delta_time, PARALYZE) +/datum/chem_property/neutral/encephalophrasive + name = PROPERTY_ENCEPHALOPHRASIVE + code = "ESP" + description = "Drastically increases the amplitude of Gamma and Beta brain waves, allowing the host to broadcast their mind." + rarity = PROPERTY_LEGENDARY + category = PROPERTY_TYPE_STIMULANT + value = 8 + +/datum/chem_property/neutral/encephalophrasive/on_delete(mob/living/chem_host) + ..() + + chem_host.pain.recalculate_pain() + remove_verb(chem_host, /mob/living/carbon/human/proc/psychic_whisper) + to_chat(chem_host, SPAN_NOTICE("The pain in your head subsides, and you are left feeling strangely alone.")) + +/datum/chem_property/neutral/encephalophrasive/reaction_mob(mob/chem_host, method=INGEST, volume, potency) + add_verb(chem_host, /mob/living/carbon/human/proc/psychic_whisper) + to_chat(chem_host, SPAN_NOTICE("A terrible headache manifests, and suddenly it feels as though your mind is outside of your skull.")) + +/datum/chem_property/neutral/encephalophrasive/process(mob/living/chem_host, potency = 1, delta_time) + chem_host.pain.apply_pain(1 * potency) + +/datum/chem_property/neutral/encephalophrasive/process_overdose(mob/living/chem_host, potency = 1, delta_time) + chem_host.apply_damage(0.5 * potency * POTENCY_MULTIPLIER_VHIGH * delta_time, BRAIN) + +/datum/chem_property/neutral/encephalophrasive/process_critical(mob/living/chem_host, potency = 1, delta_time) + chem_host.apply_effect(20, PARALYZE) + /datum/chem_property/neutral/viscous name = PROPERTY_VISCOUS code = "VIS"