Tendon Health (#11826)

This commit is contained in:
Wildkins
2021-05-25 08:32:45 -04:00
committed by GitHub
parent 1166bb9579
commit 796c557856
15 changed files with 134 additions and 52 deletions

View File

@@ -67,9 +67,9 @@
E.stage = 0
return 1
if(istype(E.tendon) && !E.tendon.intact)
if((E.tendon_status() & TENDON_CUT) && E.tendon.can_recover())
to_chat(user, "<span class='notice'>You place your hands over [target]'s [E.name], joining the two ends of their [E.tendon_name] in the process.</span>")
E.tendon.heal()
E.tendon.rejuvenate()
return 1
for(var/obj/item/organ/I in E.internal_organs)