Skip to content

Commit

Permalink
Felinids no longer get negative moodlets roundstart about their tail (t…
Browse files Browse the repository at this point in the history
…gstation#84163)

## About The Pull Request

Felinids receive their tail during creation of their character; the code
wasn't accounting for special cases like this and always giving them
negative mood events when they received a tail, even if they hadn't lost
it yet. This no longer happens.
## Why It's Good For The Game

Nanotrasen re-education programs guarantee memory loss for felinid
employees from the Tail Wars of 2277, and this bring the code in line
with that.
Fixes tgstation#84048 
## Changelog
:cl: Bisar
fix: Felinids no longer remember losing their tail and regaining it
roundstart; you need to do it during the round to get that mood event.
/:cl:
  • Loading branch information
Metekillot authored Jun 21, 2024
1 parent a320417 commit 1829833
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/surgery/organs/external/tails.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
/obj/item/organ/external/tail/Insert(mob/living/carbon/receiver, special, movement_flags)
. = ..()
if(.)
original_owner ||= WEAKREF(receiver)

receiver.clear_mood_event("tail_lost")
receiver.clear_mood_event("tail_balance_lost")

if(!special) // if some admin wants to give someone tail moodles for tail shenanigans, they can spawn it and do it by hand
original_owner ||= WEAKREF(receiver)

// If it's your tail, an infinite debuff is replaced with a timed one
// If it's not your tail but of same species, I guess it works, but we are more sad
// If it's not your tail AND of different species, we are horrified
Expand Down

0 comments on commit 1829833

Please sign in to comment.