Showing brain part deux

This commit is contained in:
ZomgPonies
2014-01-12 23:14:35 -05:00
parent 55e918cc6a
commit 33d1461293
4 changed files with 15 additions and 5 deletions
@@ -389,6 +389,10 @@
if(display_gloves)
msg += "<span class='warning'><b>[src] has blood running from under [t_his] gloves!</b></span>\n"
var/datum/organ/external/head/H = get_organ("head")
if(H && H.brained)
msg += "<span class='warning'><b>[src]'s skull is crushed and the brain is exposed to the air!</b></span>\n"
for(var/implant in get_visible_implants(1))
msg += "<span class='warning'><b>[src] has \a [implant] sticking out of their flesh!</span>\n"
if(digitalcamo)
@@ -1426,3 +1426,12 @@ mob/living/carbon/human/yank_out_object()
var/obj/effect/decal/cleanable/blood/writing/W = new(T)
W.message = message
W.add_fingerprint(src)
/mob/living/carbon/human/proc/expose_brain()
var/datum/organ/external/head/H = get_organ("head")
if(H)
H.brained=1
h_style = "Bald"
drop_from_inventory(head)
update_hair()
update_body()