Gibbing now creates actual limbs instead of decals.

Especially useful for the head, but also pretty nice in that you can now pick the limbs up and mail them to security.
This commit is contained in:
cib
2012-12-16 03:25:26 +01:00
parent 5927026509
commit 9c4a48ffe5
2 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,14 @@
animation.icon = 'icons/mob/mob.dmi'
animation.master = src
for(var/datum/organ/external/E in src.organs)
if(istype(E, /datum/organ/external/chest))
continue
// Only make the limb drop if it's not too damaged
if(prob(100 - E.damage))
// Override the current limb status and don't cause an explosion
E.droplimb(1,1)
flick("gibbed-h", animation)
hgibs(loc, viruses, dna)