Skip to content

Commit

Permalink
[Modular] Makes the Possessive and Kleptomaniac brain trumas into qui…
Browse files Browse the repository at this point in the history
…rks (#1637)

* Traumatic Qurks

* Fixes some typos

* grammar

---------

Co-authored-by: Bloop <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Mar 28, 2024
1 parent ce6dafa commit d36f5b8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions modular_nova/modules/trauma_quirks/trauma_quirks.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/datum/quirk/possessive
name = "Possessive"
desc = "You feel a strong attachment over any item you own; often times you feel like you can't drop them."
value = 0
gain_text = span_danger("You feel like everything you own is too precious to drop.")
lose_text = span_notice("Suddenly you feel like your stuff isn't that important anymore.")
medical_record_text = "Subject exhibits a possessive tendency with objects."
icon = FA_ICON_HANDS_HOLDING

/datum/quirk/possessive/post_add()
. = ..()
var/mob/living/carbon/human/affected_human = quirk_holder
affected_human.gain_trauma(/datum/brain_trauma/mild/possessive, TRAUMA_RESILIENCE_ABSOLUTE)

/datum/quirk/possessive/remove()
. = ..()
var/mob/living/carbon/human/affected_human = quirk_holder
affected_human?.cure_trauma_type(/datum/brain_trauma/mild/possessive, TRAUMA_RESILIENCE_ABSOLUTE)

/datum/quirk/kleptomaniac
name = "Kleptomaniac"
desc = "You feel a strong urge to pick up anything around, often without being aware of it."
value = 0
gain_text = span_danger("You feel a sudden urge to take things. Surely no one will notice.")
lose_text = span_notice("You no longer feel the urge to take things.")
medical_record_text = "Subject exhibits kleptomania."
icon = FA_ICON_HAND_HOLDING

/datum/quirk/kleptomaniac/post_add()
. = ..()
var/mob/living/carbon/human/affected_human = quirk_holder
affected_human.gain_trauma(/datum/brain_trauma/severe/kleptomaniac, TRAUMA_RESILIENCE_ABSOLUTE)

/datum/quirk/kleptomaniac/remove()
. = ..()
var/mob/living/carbon/human/affected_human = quirk_holder
affected_human?.cure_trauma_type(/datum/brain_trauma/severe/kleptomaniac, TRAUMA_RESILIENCE_ABSOLUTE)
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -8175,6 +8175,7 @@
#include "modular_nova\modules\traitor-uplinks\code\categories\stealthy_tools.dm"
#include "modular_nova\modules\traitor-uplinks\code\categories\stealthy_weapons.dm"
#include "modular_nova\modules\traitor-uplinks\code\categories\suits.dm"
#include "modular_nova\modules\trauma_quirks\trauma_quirks.dm"
#include "modular_nova\modules\tribal_extended\code\crafting.dm"
#include "modular_nova\modules\tribal_extended\code\recipes.dm"
#include "modular_nova\modules\tribal_extended\code\ammo\caseless\arrow.dm"
Expand Down

0 comments on commit d36f5b8

Please sign in to comment.