From b927ee3fe8f9491ca8b076f95d052ced63fdd3d8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 23 Sep 2020 14:55:41 +0200 Subject: [PATCH] [MIRROR] Show a message when you are unable to succumb (#939) * Show a message when you are unable to succumb (#53753) Show a message when you are unable to succumb. This way you know why the command failed. * Show a message when you are unable to succumb Co-authored-by: NightRed --- code/modules/mob/living/living.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index b2f45d70f73..f4843cd8f30 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -391,6 +391,7 @@ /mob/living/verb/succumb(whispered as null) set hidden = TRUE if (!CAN_SUCCUMB(src)) + to_chat(src, text="You are unable to succumb to death! This life continues.", type=MESSAGE_TYPE_INFO) return log_message("Has [whispered ? "whispered his final words" : "succumbed to death"] with [round(health, 0.1)] points of health!", LOG_ATTACK) adjustOxyLoss(health - HEALTH_THRESHOLD_DEAD)