/mob/dead/observer/say_understands(var/other)
return 1
/mob/dead/observer/say(var/message)
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
if (!message)
return
log_say("Ghost/[src.key] : [message]")
if (src.muted)
return
. = src.say_dead(message)
for (var/mob/M in hearers(null, null))
if (!M.stat)
if(M.job == "Chaplain")
if (prob (49))
M.show_message("You hear muffled speech... but nothing is there...", 2)
if(prob(20))
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
else
M.show_message("You hear muffled speech... you can almost make out some words...", 2)
// M.show_message("[stutter(message)]", 2)
if(prob(30))
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
else
if (prob(50))
return
else if (prob (95))
M.show_message("You hear muffled speech... but nothing is there...", 2)
if(prob(20))
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)
else
M.show_message("You hear muffled speech... you can almost make out some words...", 2)
// M.show_message("[stutter(message)]", 2)
playsound(src.loc, pick('ghost.ogg','ghost2.ogg'), 10, 1)