Datumize tendon behavior, make tendon snapping more consistent (#11773)

This commit is contained in:
Wildkins
2021-05-01 00:00:29 -03:00
committed by GitHub
parent c2ca7e2655
commit c3861eba6a
15 changed files with 99 additions and 62 deletions
@@ -190,9 +190,9 @@
E.status &= ~ORGAN_ARTERY_CUT
return
if(E.status & ORGAN_TENDON_CUT)
if(istype(E.tendon) && !E.tendon.intact)
to_chat(H, SPAN_NOTICE("Your autoredactive faculty repairs the severed tendon in your [E.name]."))
E.status &= ~ORGAN_TENDON_CUT
E.tendon.heal()
return TRUE
for(var/datum/wound/W in E.wounds)