[MIRROR] Fixes a parrot posession runtime (#3516)
* Fixes a parrot posession runtime (#31879) * Fixes a parrot posession runtime
This commit is contained in:
committed by
Poojawa
parent
729d9d4ab8
commit
b044758315
@@ -18,10 +18,11 @@
|
||||
if(!parrot || parrot.loc != affected_mob)
|
||||
cure()
|
||||
else if(prob(parrot.speak_chance))
|
||||
affected_mob.say(pick(parrot.speech_buffer))
|
||||
if(parrot.speech_buffer.len)
|
||||
affected_mob.say(pick(parrot.speech_buffer))
|
||||
|
||||
/datum/disease/parrot_possession/cure()
|
||||
if(parrot && parrot.loc == affected_mob)
|
||||
parrot.forceMove(affected_mob.drop_location())
|
||||
affected_mob.visible_message("<span class='danger'>[parrot] is violently driven out of [affected_mob]!</span>", "<span class='userdanger'>[parrot] bursts out of your chest!</span>")
|
||||
..()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user