Files
fulpstation/code/modules/mob/living/carbon/alien/humanoid/death.dm
Bjorn Neergaard 063dd9fb84 Get the code running on 510
* Travis for 510
* Remove json, list2text, text2list, bygex
* Change blind and click catcher to a low plane
2016-02-04 17:19:40 -06:00

22 lines
576 B
Plaintext

/mob/living/carbon/alien/humanoid/death(gibbed)
if(stat == DEAD)
return
if(healths)
healths.icon_state = "health6"
stat = DEAD
if(!gibbed)
playsound(loc, 'sound/voice/hiss6.ogg', 80, 1, 1)
visible_message("<span class='name'>[src]</span> lets out a waning guttural screech, green blood bubbling from its maw...")
update_canmove()
if(client)
blind.plane = -80
update_icons()
status_flags |=CANPUSH
tod = worldtime2text() //weasellos time of death patch
if(mind)
mind.store_memory("Time of death: [tod]", 0)
return ..(gibbed)