From 3431af0d809cfca810644facf527bae6d8844862 Mon Sep 17 00:00:00 2001 From: wshuwshuwshi <91352251+wshuwshuwshi@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:51:52 -0600 Subject: [PATCH] Update prop_neutral.dm Adds the property itself, and all of its effects --- .../chemistry_properties/prop_neutral.dm | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/code/modules/reagents/chemistry_properties/prop_neutral.dm b/code/modules/reagents/chemistry_properties/prop_neutral.dm index da0cc0c6054f..8d0dd3779923 100644 --- a/code/modules/reagents/chemistry_properties/prop_neutral.dm +++ b/code/modules/reagents/chemistry_properties/prop_neutral.dm @@ -519,6 +519,31 @@ /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. Higher potency increases the clarity of broadcasts" + rarity = PROPERTY_LEGENDARY + category = PROPERTY_TYPE_STIMULANT + value = 8 + +/datum/chem_property/neutral/encephalophrasive/on_delete(mob/living/M) + ..() + + M.pain.recalculate_pain() + remove_verb(M, /mob/living/carbon/human/proc/psychic_whisper) + to_chat(M, SPAN_NOTICE("The pain in your head subsides, and you are left feeling strangely alone.")) + +/datum/chem_property/neutral/encephalophrasive/process(mob/living/M, potency = 1, delta_time) + M.pain.apply_pain(1 * potency) + add_verb(M, /mob/living/carbon/human/proc/psychic_whisper) + +/datum/chem_property/neutral/encephalophrasive/process_overdose(mob/living/M, potency = 1, delta_time) + M.apply_damage(0.5 * potency * POTENCY_MULTIPLIER_VHIGH * delta_time, BRAIN) + +/datum/chem_property/neutral/encephalophrasive/process_overdose(mob/living/M, potency = 1, delta_time) + M.apply_effect(20, PARALYZE) + /datum/chem_property/neutral/viscous name = PROPERTY_VISCOUS code = "VIS"