Fixes speaking dead parrots (#19193)

* fixes speaking dead birds

* Update code/modules/mob/living/simple_animal/parrot.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* hal

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
S34N
2022-10-01 16:10:18 +01:00
committed by GitHub
parent 33d844aba0
commit 2c6fc27434
@@ -163,10 +163,11 @@
switch(remove_from)
if("ears")
if(ears)
if(available_channels.len)
say("[pick(available_channels)]BAWWWWWK LEAVE THE HEADSET BAWKKKKK!")
else
say("BAWWWWWK LEAVE THE HEADSET BAWKKKKK!")
if(stat != CONSCIOUS) //DEAD PARROTS SHOULD NOT SPEAK (i hate that this is done in topic)
if(length(available_channels))
say("[pick(available_channels)]BAWWWWWK LEAVE THE HEADSET BAWKKKKK!")
else
say("BAWWWWWK LEAVE THE HEADSET BAWKKKKK!")
ears.forceMove(loc)
ears = null
update_speak()