From 42fb26fb8a89e9b6db427197de1c2537da062c25 Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Thu, 12 Oct 2023 10:39:47 -0400 Subject: [PATCH] before the do mob (#22779) --- code/modules/mob/mob_misc_procs.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/mob_misc_procs.dm b/code/modules/mob/mob_misc_procs.dm index dae13da550a..aa721fe9a9d 100644 --- a/code/modules/mob/mob_misc_procs.dm +++ b/code/modules/mob/mob_misc_procs.dm @@ -474,14 +474,17 @@ GLOBAL_LIST_INIT(intents, list(INTENT_HELP,INTENT_DISARM,INTENT_GRAB,INTENT_HARM resting = !resting // this happens before the do_mob so that you can stay resting if you are stunned. + if(resting) + to_chat(src, "You are now trying to rest.") + else + to_chat(src, "You are now trying to get up.") + if(!do_mob(src, src, 1 SECONDS, extra_checks = list(CALLBACK(src, TYPE_PROC_REF(/mob/living, cannot_stand))), only_use_extra_checks = TRUE)) return if(resting) - to_chat(src, "You are now resting.") lay_down() else - to_chat(src, "You are now trying to get up.") stand_up() /proc/get_multitool(mob/user as mob)