Whispering Refactor (#12755)

This commit is contained in:
Geeves
2021-12-27 22:44:57 +01:00
committed by GitHub
parent 4d3c06d78a
commit 1df88da53d
25 changed files with 160 additions and 217 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
if(body.stat == DEAD) // Body is dead, and won't get a life tick.
body.handle_shared_dreaming()
/mob/living/brain_ghost/say(var/message, var/datum/language/speaking = null, var/verb="says", var/alt_name="")
/mob/living/brain_ghost/say(var/message, var/datum/language/speaking = null, var/verb="says", var/alt_name="", var/ghost_hearing = GHOSTS_ALL_HEAR, var/whisper = FALSE)
if(!istype(body) || body.stat!=UNCONSCIOUS)
return
if(prob(20)) // 1/5 chance to mumble out anything you say in the dream.