Skip to content

Commit

Permalink
Adds chemical property encephalophrasive (#6567)
Browse files Browse the repository at this point in the history
# About the pull request
Adds a chemical property which causes pain but allows the host to
communicate telepathically

Encephalophrasive is made by mixing Nervestimulating, and
Psychostimulating

OD causes severe brain damage
Critical OD causes paralysis

It's not a mystery that I'm a comics nerd, and it's touched upon
multiple times within the comics, and games that humans who have
exceptionally strong wills (or have enhanced willpower due to drugs) are
able to cause xenomorphs to 'falter' and pause for a moment before
acting. While telepathy doesn't necessarily do that, it has the
potential to do so.

Additionally, humans (in real life) already transmit brainwaves to
others and can percieve (at a very low level) other peoples brain waves,
so it's not entirely sci-fi nonsense.

# Explain why it's good for the game

Provides an extremely fluffy way for researchers to communicate with
xenomorphs and potentially eachother, as well as potentially making this
a "Wanted" chem in the same way as DNA Disintegrating is. (Though
probably to a significantly lesser degree)

# Testing Photographs and Procedure



<details>
<summary>Screenshots & Videos</summary>

https://youtu.be/qQ8JIavtHAA

</details>


# Changelog
:cl:
add: Adds the Encephalophrasive property for chemicals
del: Removed bit of description that falsely said that higher potency
affected clarity of messages
fix: Removes focusing from the combination to prevent conflict between
focusing and nerve-stimulating, thus preventing encephalophrasive from
forming
fix: Revises the second overdose to be for critical overdoses, as it was
intended to be
code: Swaps 'M' variables for 'chem_host'
code: rehauled how ability 'giving' is handled, and is now only
processed upon initial ingestion of the chemical instead of every tick
add: Adds a brief piece of flavor text upon initial ingestion.
/:cl:

---------

Co-authored-by: harryob <[email protected]>
  • Loading branch information
wshuwshuwshi and harryob committed Jul 7, 2024
1 parent d0f7ded commit 1aa42d0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/__DEFINES/chemistry.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion code/modules/reagents/Chemistry-Generator.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
28 changes: 28 additions & 0 deletions code/modules/reagents/chemistry_properties/prop_neutral.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1aa42d0

Please sign in to comment.