Succumb Fix

This commit is contained in:
Geevies
2020-03-28 21:12:57 +02:00
parent b5a4db5f4e
commit 64a29831cc
2 changed files with 15 additions and 0 deletions

View File

@@ -1218,6 +1218,15 @@
remoteview_target = null
reset_view(0)
/mob/living/carbon/human/succumb()
set hidden = TRUE
if(shock_stage > 50)
adjustBrainLoss(health + maxHealth * 2) // Deal 2x health in BrainLoss damage, as before but variable.
to_chat(src, SPAN_NOTICE("You have given up life and succumbed to death."))
else
to_chat(src, SPAN_WARNING("You are not injured enough to succumb to death!"))
/mob/living/carbon/human/proc/get_visible_gender()
if(wear_suit && wear_suit.flags_inv & HIDEJUMPSUIT && ((head && head.flags_inv & HIDEMASK) || wear_mask))
return NEUTER