mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-10 23:33:00 +01:00
12 lines
337 B
Plaintext
12 lines
337 B
Plaintext
/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("<span class ='danger'><B>[C]'s [src.name] contorts in an unnatural way!</B></span>")
|
|
C.emote("scream")
|
|
broken = 1
|
|
disabled = 1
|