Ghosts will be able to hear all Special Chats

Mostly so admins can supervise them.

- Ghosts will be able to hear Cultist Chat. Ghosts weren't able to pick up ones sent by cult_innate_comm()
- You won't need ghost ears on to listen to Binary Chat, like how it used to be
- put dead_mob_list to good use (Everything seemed fine when I tested it. Let me know if I'm missing overlooking something)
- Bumped lingchat sense chance up to 40%

Resolves #4860
This commit is contained in:
ikarrus
2014-09-28 20:35:09 -06:00
parent 0f5fd59c0c
commit fdecf7bb68
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
var/message_a = say_quote(message)
var/rendered = "<i><span class='game say'>Hivemind, <span class='name'>[name]</span> <span class='message'>[message_a]</span></span></i>"
for(var/mob/S in player_list)
if((!S.stat && (S.hivecheck())) || (S.stat == DEAD && !istype(S, /mob/new_player)))
if((!S.stat && (S.hivecheck())) || (S in dead_mob_list))
S << rendered
/mob/living/carbon/alien/handle_inherent_channels(message, message_mode)
+2 -2
View File
@@ -222,14 +222,14 @@ var/list/department_radio_keys = list(
var/msg = "<i><font color=#800080><b>[mind.changeling.changelingID]:</b> [message]</font></i>"
log_say("[mind.changeling.changelingID]/[src.key] : [message]")
for(var/mob/M in mob_list)
if(M.stat == DEAD && !istype(M, /mob/new_player))
if(M in dead_mob_list)
M << msg
else
switch(M.lingcheck())
if(2)
M << msg
if(1)
if(prob(30))
if(prob(40))
M << "<i><font color=#800080>We can faintly sense another of our kind trying to communicate through the hivemind...</font></i>"
return 1
if(1)
+2 -2
View File
@@ -10,7 +10,7 @@
var/message_a = say_quote(message)
var/rendered = "<i><span class='game say'>Robotic Talk, <span class='name'>[name]</span> <span class='message'>[message_a]</span></span></i>"
for(var/mob/M in player_list)
if(M.binarycheck() || (M.stat == DEAD && (M.client.prefs.toggles & CHAT_GHOSTEARS) && !istype(M, /mob/new_player)))
if(M.binarycheck() || (M in dead_mob_list))
if(istype(M, /mob/living/silicon/ai))
var/renderedAI = "<i><span class='game say'>Robotic Talk, <a href='byond://?src=\ref[M];track2=\ref[M];track=\ref[src]'><span class='name'>[name] ([desig])</span></a> <span class='message'>[message_a]</span></span></i>"
M << renderedAI
@@ -51,7 +51,7 @@
. = ..()
if(.)
return .
if(message_mode == MODE_BINARY)
if(binarycheck())
robot_talk(message)