Now it is possible to disfigure faces again, if head has more thn 40 damage. Burns work better for that.

This commit is contained in:
Chinsky
2013-01-04 20:43:21 +04:00
parent 859ae76d8d
commit 5805cf5ba1
+20 -1
View File
@@ -441,7 +441,7 @@
if(H)
var/lol = pick(cardinal)
step(H,lol)
destspawn = 1
if(status & ORGAN_ROBOT)
owner.visible_message("\red \The [owner]'s [display_name] explodes violently!",\
@@ -607,6 +607,25 @@
body_part = HEAD
var/disfigured = 0
take_damage(brute, burn, sharp, used_weapon = null, list/forbidden_limbs = list())
..(brute, burn, sharp, used_weapon, forbidden_limbs)
if (brute_dam > 40)
if (prob(50))
disfigure("brute")
if (burn_dam > 40)
disfigure("burn")
proc/disfigure(var/type = "brute")
if(type == "brute")
owner.visible_message("\red You hear a sickening cracking sound coming from \the [owner]'s face.", \
"\red <b>Your face becomes unrecognizible mangled mess!</b>", \
"You hear a sickening crack.")
else
owner.visible_message("\red [owner]'s face melts away, turning into mangled mess!", \
"\red <b>Your face melts off!</b>", \
"You hear a sickening sizzle.")
disfigured = 1
/datum/organ/external/l_arm
name = "l_arm"
display_name = "left arm"