mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-15 20:52:41 +00:00
12 lines
466 B
Plaintext
12 lines
466 B
Plaintext
/mob/living/carbon/brain/death(gibbed)
|
|
if(!gibbed && istype(container, /obj/item/device/mmi)) //If not gibbed but in a container.
|
|
container.icon_state = "mmi_dead"
|
|
return ..(gibbed,"beeps shrilly as the MMI flatlines!")
|
|
|
|
/mob/living/carbon/brain/gib()
|
|
if(istype(container, /obj/item/device/mmi))
|
|
del(container)//Gets rid of the MMI if there is one
|
|
if(loc)
|
|
if(istype(loc,/obj/item/organ/brain))
|
|
del(loc)//Gets rid of the brain item
|
|
..(null,1) |