Skip to content

Commit

Permalink
[MIRROR] Reviving stasis now puts you in stasis (#869)
Browse files Browse the repository at this point in the history
* Reviving stasis now puts you in stasis (#81339)

## About The Pull Request

In the title, Changeling's "Revival Stasis" ability with the description
"We fall into a stasis", now puts you in stasis

## Why It's Good For The Game

I just found out that this doesn't actually put you in stasis and it's
kinda fucked up, it's in the name it's in the description, why is it not
the actual case?

It would be nice if Changelings can use this ability to actually fake
death from critical condition without risking a death gasp when they die
for real just because you got oxygen damage while in your "stasis", thus
going against the defibrillator explosion ability.

## Changelog

:cl:
add: Changeling's reviving stasis ability now puts you in stasis.
/:cl:

* Reviving stasis now puts you in stasis

---------

Co-authored-by: John Willard <[email protected]>
  • Loading branch information
2 people authored and FFMirrorBot committed Feb 9, 2024
1 parent bf6a755 commit 0c777c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/antagonists/changeling/powers/fakedeath.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
return

changeling.fakedeath(CHANGELING_TRAIT)
ADD_TRAIT(changeling, TRAIT_STASIS, CHANGELING_TRAIT)
addtimer(CALLBACK(src, PROC_REF(ready_to_regenerate), changeling), fakedeath_duration * duration_modifier, TIMER_UNIQUE)
// Basically, these let the ling exit stasis without giving away their ling-y-ness if revived through other means
RegisterSignal(changeling, SIGNAL_REMOVETRAIT(TRAIT_DEATHCOMA), PROC_REF(fakedeath_reset))
Expand All @@ -54,6 +55,7 @@
revive_ready = FALSE
build_all_button_icons(UPDATE_BUTTON_NAME|UPDATE_BUTTON_ICON)

REMOVE_TRAIT(changeling, TRAIT_STASIS, CHANGELING_TRAIT)
UnregisterSignal(changeling, SIGNAL_REMOVETRAIT(TRAIT_DEATHCOMA))
UnregisterSignal(changeling, COMSIG_MOB_STATCHANGE)

Expand Down

0 comments on commit 0c777c6

Please sign in to comment.