Shaking the dead now gives a message indicating the person is dead (#15512)

* Shaking the dead now gives a message indicating the person is dead

* Update carbon.dm

* Update carbon.dm

* Revert "Revert "Revert "Update carbon.dm"""

This reverts commit 5e5da7bb6ddba56872a05b0e5c6aaa2c835c1e94.

* Fixing, and adding a check for self waking

Overhaul based on Faries points
This commit is contained in:
Kepplerx
2021-03-14 11:38:34 +01:00
committed by GitHub
parent 6232f9e196
commit 630949ffac
+5
View File
@@ -212,6 +212,11 @@
swap_hand()
/mob/living/carbon/proc/help_shake_act(mob/living/carbon/M)
if(stat == DEAD)
if(M != src)
M.visible_message("<span class='notice'>[M] desperately shakes [src] trying to wake [p_them()] up, but sadly there is no reaction!</span>", \
"<span class='notice'>You shake [src] trying to wake [p_them()] sadly they appear to be too far gone!</span>")
return
if(health >= HEALTH_THRESHOLD_CRIT)
if(src == M && ishuman(src))
check_self_for_injuries()