diff --git a/code/modules/surgery/bodyparts/broken.dm b/code/modules/surgery/bodyparts/broken.dm new file mode 100644 index 00000000..a29bbf19 --- /dev/null +++ b/code/modules/surgery/bodyparts/broken.dm @@ -0,0 +1,11 @@ +/obj/item/bodypart/proc/break_bone(dam_type = BRUTE) + if(!owner) + return FALSE + var/mob/living/carbon/C = owner + if(!dismemberable) + return FALSE + if(broken == 0) //Its not broken. + C.visible_message("[C]'s [src.name] contorts in an unnatural way!") + C.emote("scream") + broken = 1 + disabled = 1