Files
Bubberstation/code/datums/quirks/negative_quirks/insanity.dm
SkyratBot e3a197dbb0 [MIRROR] RDS-havers now get Gibbering (#28119)
* RDS-havers now get Gibbering (#83850)

## About The Pull Request

Player characters afflicted with the RDS brain trauma now get the
gibbering language in addition to the ones they already know. the PR
looks like a webedit (it is) because i cannot clone repos because my
connection SUCKS but rest assured i tested it by just downloading it all
normally

## Why It's Good For The Game

someone who is insane may not always be able to articulate their ideas
in a way we might consider "language," either by accident or on purpose
just to show those stupid sheep. the greatest minds of the station need
to be able to speak to one another without persecution for their ideas

## Changelog
🆑 PowerfulAtom111
add: after a quick galactic meeting, insane people around the universe
can now speak gibbering to express their ideas free from the prying ears
of the walls
add: as an insane person, taking your meds deafens your ears to the holy
tongue all the other insane people are speaking
spellcheck: added a bit of text to the RDS quirk and the RDS medical
record text to highlight the insane's new abilities
/🆑

* RDS-havers now get Gibbering

---------

Co-authored-by: PowerfulAtom111 <owensalls@outlook.com>
2024-06-12 09:55:34 +05:30

42 lines
1.9 KiB
Plaintext

/datum/quirk/insanity
name = "Reality Dissociation Syndrome"
desc = "You suffer from a severe disorder that causes very vivid hallucinations and trouble expressing your ideas. \
Mindbreaker toxin can suppress its effects, and you are immune to mindbreaker's hallucinogenic properties. \
THIS IS NOT A LICENSE TO GRIEF."
icon = FA_ICON_GRIN_TONGUE_WINK
value = -8
gain_text = span_userdanger("...")
lose_text = span_notice("You feel in tune with the world again.")
medical_record_text = "Patient suffers from acute Reality Dissociation Syndrome and experiences vivid hallucinations, and may have trouble speaking."
hardcore_value = 6
mail_goodies = list(/obj/item/storage/pill_bottle/lsdpsych)
/// Weakref to the trauma we give out
var/datum/weakref/added_trama_ref
/datum/quirk/insanity/add(client/client_source)
if(!iscarbon(quirk_holder))
return
var/mob/living/carbon/carbon_quirk_holder = quirk_holder
// Setup our special RDS mild hallucination.
// Not a unique subtype so not to plague subtypesof,
// also as we inherit the names and values from our quirk.
var/datum/brain_trauma/mild/hallucinations/added_trauma = new()
added_trauma.resilience = TRAUMA_RESILIENCE_ABSOLUTE
added_trauma.name = name
added_trauma.desc = medical_record_text
added_trauma.scan_desc = LOWER_TEXT(name)
added_trauma.gain_text = null
added_trauma.lose_text = null
carbon_quirk_holder.gain_trauma(added_trauma)
added_trama_ref = WEAKREF(added_trauma)
/datum/quirk/insanity/post_add()
var/rds_policy = get_policy("[type]") || "Please note that your [LOWER_TEXT(name)] does NOT give you any additional right to attack people or cause chaos."
// I don't /think/ we'll need this, but for newbies who think "roleplay as insane" = "license to kill", it's probably a good thing to have.
to_chat(quirk_holder, span_big(span_info(rds_policy)))
/datum/quirk/insanity/remove()
QDEL_NULL(added_trama_ref)