mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
[s] Tis just a flesh wound (#24861)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user