mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
'Do Not Revive' verb for Ghosts (#15934)
* DNR * Review things Bound to be something I missed, but testing all seems to work fine. * Aliven't
This commit is contained in:
@@ -774,6 +774,11 @@
|
||||
if(M.getBruteLoss() + M.getFireLoss() + M.getCloneLoss() >= 150)
|
||||
M.delayed_gib()
|
||||
return
|
||||
var/mob/dead/observer/ghost = M.get_ghost(TRUE)
|
||||
if(ghost && !ghost.can_reenter_corpse) // DNR or AntagHUD
|
||||
M.visible_message("<span class='warning'>[M] twitches slightly, but is otherwise unresponsive!</span>")
|
||||
return
|
||||
|
||||
if(!M.suiciding && !HAS_TRAIT(M, TRAIT_HUSK) && !HAS_TRAIT(M, TRAIT_BADDNA))
|
||||
var/time_dead = world.time - M.timeofdeath
|
||||
M.visible_message("<span class='warning'>[M] seems to rise from the dead!</span>")
|
||||
|
||||
Reference in New Issue
Block a user