Fixes IB surgery not checking for open ribs etc

Guess it wasn't updated after Zuh's encased changes
This commit is contained in:
Chinsky
2016-03-18 04:15:52 +03:00
committed by Yoshax
parent 463eb3a4b6
commit 2ad91fc60c
+2 -2
View File
@@ -27,7 +27,7 @@
internal_bleeding = 1
break
return affected.open >= 2 && internal_bleeding
return affected.open == (affected.encased ? 3 : 2) && internal_bleeding
begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
var/obj/item/organ/external/affected = target.get_organ(target_zone)
@@ -206,4 +206,4 @@
fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
user.visible_message("<span class='danger'>[user]'s [tool] can't quite seem to get through the metal...</span>", \
"<span class='danger'>Your [tool] can't quite seem to get through the metal. It's weakening, though - try again.</span>")
"<span class='danger'>Your [tool] can't quite seem to get through the metal. It's weakening, though - try again.</span>")