Xenomorph Deathrattle (#21023)

* With ghost message

* and without

* remove some leftovers
This commit is contained in:
Luc
2023-05-13 17:45:07 -04:00
committed by GitHub
parent 970b593e7d
commit 2db545600d
2 changed files with 18 additions and 0 deletions
@@ -193,6 +193,22 @@
return threatcount
/mob/living/carbon/alien/death(gibbed)
. = ..()
if(!.)
return
deathrattle()
/mob/living/carbon/alien/proc/deathrattle()
var/alien_message = deathrattle_message()
for(var/mob/living/carbon/alien/M in GLOB.player_list)
to_chat(M, alien_message)
/mob/living/carbon/alien/proc/deathrattle_message()
return "<i><span class='alien'>The hivemind echoes: [name] has been slain!</span></i>"
/*----------------------------------------
Proc: AddInfectionImages()
Des: Gives the client of the alien an image on each infected mob.
@@ -41,6 +41,8 @@
/obj/item/organ/internal/alien/neurotoxin,
)
/mob/living/carbon/alien/humanoid/queen/deathrattle_message()
return "<i><span class='alien reallybig'>A shock reverberates through the hive; [name] has been slain!</span></i>"
/mob/living/carbon/alien/humanoid/queen/can_inject(mob/user, error_msg, target_zone, penetrate_thick)
return FALSE