Fixes tendon repair surgery (#12897)

Co-authored-by: TGW <mc-casper@hotmail.dk>
This commit is contained in:
Casper3667
2022-01-09 01:31:54 +01:00
committed by GitHub
co-authored by TGW
parent 77ae7e8bc9
commit 180818f2f8
3 changed files with 8 additions and 2 deletions
@@ -48,7 +48,7 @@
affected.status &= ~ORGAN_BROKEN
if(affected.tendon_status() & TENDON_CUT)
affected.tendon.heal()
affected.tendon.rejuvenate()
if(E.status & ORGAN_ARTERY_CUT)
E.status &= ~ORGAN_ARTERY_CUT
+1 -1
View File
@@ -214,7 +214,7 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
user.visible_message(SPAN_NOTICE("[user] has reattached the [affected.tendon_name] in [target]'s [affected.name] with \the [tool]."), \
SPAN_NOTICE("You have reattached the [affected.tendon_name] in [target]'s [affected.name] with \the [tool]."))
affected.tendon.heal()
affected.tendon.rejuvenate()
affected.update_damages()
/decl/surgery_step/fix_tendon/fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
+6
View File
@@ -0,0 +1,6 @@
author: TheGreyWolf
delete-after: True
changes:
- bugfix: "Tendon repair surgery now works again."