mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Fixes tendon repair surgery (#12897)
Co-authored-by: TGW <mc-casper@hotmail.dk>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: TheGreyWolf
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Tendon repair surgery now works again."
|
||||
Reference in New Issue
Block a user