From 761d2b4279cda62fdced7a28c1f3d05e0c125c1b Mon Sep 17 00:00:00 2001 From: Julian56 <117036822+Huffie56@users.noreply.github.com> Date: Wed, 20 Mar 2024 22:03:21 +0100 Subject: [PATCH] add some balloons for CPR : one is for when it's a success and the other is when it's a failure. (#5918) # About the pull request adding balloons to show when you are successful with your CPR or if your not. I am not sure about the text. # Explain why it's good for the game Give feedback without needing to look at chat box # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: qol: add some balloons for CPR : one is for when it's a success and the other is when it's a failure. /:cl: --------- Co-authored-by: Julien Co-authored-by: SabreML <57483089+SabreML@users.noreply.github.com> --- code/modules/mob/living/carbon/human/human_attackhand.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index 1d56b7db2728..206fda0c9762 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -60,9 +60,11 @@ revive_grace_period += 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 cpr_attempt_timer = 0 return 1