Tendon Health (#11826)

This commit is contained in:
Wildkins
2021-05-25 14:32:45 +02:00
committed by GitHub
parent 1166bb9579
commit 796c557856
15 changed files with 134 additions and 52 deletions
@@ -190,9 +190,9 @@
E.status &= ~ORGAN_ARTERY_CUT
return
if(istype(E.tendon) && !E.tendon.intact)
if((E.tendon_status() & TENDON_CUT) && E.tendon.can_recover())
to_chat(H, SPAN_NOTICE("Your autoredactive faculty repairs the severed tendon in your [E.name]."))
E.tendon.heal()
E.tendon.rejuvenate()
return TRUE
for(var/datum/wound/W in E.wounds)