bones breaking system

This commit is contained in:
quotefox
2019-11-25 07:11:44 +00:00
parent c8169d289f
commit 20d85b8d35
10 changed files with 33 additions and 2 deletions
@@ -83,6 +83,7 @@
/obj/item/bodypart/blob_act()
take_damage(max_damage)
/obj/item/bodypart/Destroy()
if(owner)
owner.bodyparts -= src
@@ -358,6 +358,7 @@
L.burn_dam = 0
L.brutestate = 0
L.burnstate = 0
L.broken = 0
L.attach_limb(src, 1)
return 1