diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index e664143be74d..6be3db40f4f5 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -55,17 +55,21 @@ SPAN_HELPFUL("You feel a breath of fresh air enter your lungs. It feels good."), SPAN_HELPFUL("You perform CPR on [src]. Repeat at least every 7 seconds."), SPAN_NOTICE("[attacking_mob] performs CPR on [src].")) - if(is_revivable() && stat == DEAD) + if(is_revivable() && !check_tod() && stat == DEAD) + attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] performs CPR on [src]."), + SPAN_HELPFUL("You perform CPR on [src]. You feel it may be a lost cause.")) + balloon_alert(attacking_mob, "you perform cpr, but feel it may be a lost cause") + else if(is_revivable() && stat == DEAD) if(cpr_cooldown < world.time) revive_grace_period += 7 SECONDS + cpr_cooldown = world.time + 7 SECONDS attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] performs CPR on [src]."), SPAN_HELPFUL("You perform CPR on [src].")) balloon_alert(attacking_mob, "you perform cpr") else attacking_mob.visible_message(SPAN_NOTICE("[attacking_mob] fails to perform CPR on [src]."), - SPAN_HELPFUL("You fail to perform CPR on [src]. Incorrect rhythm. Do it slower.")) - balloon_alert(attacking_mob, "incorrect rhythm. do it slower") - cpr_cooldown = world.time + 7 SECONDS + SPAN_HELPFUL("You fail to perform CPR on [src]. Incorrect rhythm. You (along with anyone else nearby) need to do it slower.")) + balloon_alert(attacking_mob, "incorrect rhythm. you (along with others) should do it slower") cpr_attempt_timer = 0 return 1