[s] Tis just a flesh wound (#24861)

This commit is contained in:
Qwertytoforty
2024-03-28 22:36:05 +00:00
committed by GitHub
parent 618eb8a2d2
commit 56b49fa86e
3 changed files with 14 additions and 13 deletions
+1
View File
@@ -39,6 +39,7 @@
"<span class='notice'> You have made an incision on [target]'s [affected.name] with \the [tool].</span>"
)
affected.open = ORGAN_ORGANIC_OPEN
target.resume_bleeding()
return SURGERY_STEP_CONTINUE
/datum/surgery_step/generic/cut_open/fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
+2 -2
View File
@@ -12,9 +12,9 @@
addtimer(CALLBACK(src, PROC_REF(resume_bleeding)), amount)
/mob/living/carbon/human/proc/resume_bleeding()
bleedsuppress = FALSE
if(stat != DEAD && bleed_rate)
if(stat != DEAD && bleed_rate && bleedsuppress)
to_chat(src, "<span class='warning'>The blood soaks through your bandage.</span>")
bleedsuppress = FALSE
// Takes care blood loss and regeneration
/mob/living/carbon/human/handle_blood()