Also restricts spam

This commit is contained in:
Heroman
2019-09-04 04:27:07 +10:00
parent b3e01dc515
commit ee36015a0f
2 changed files with 4 additions and 0 deletions

View File

@@ -101,11 +101,13 @@
last_spam_time = world.time
/* //VOREStation Removal: no need to spam the AI tenfold
if (prob(50)) //Give the AI an increased chance to intercept the message
for(var/mob/living/silicon/ai/ai in mob_list)
// Allows other AIs to intercept the message but the AI won't intercept their own message.
if(ai.aiPDA != P && ai.aiPDA != src)
ai.show_message("<i>Intercepted message from <b>[sender]</b></i> (Unknown / spam?) <i>to <b>[P:owner]</b>: [message]</i>")
*/
//Commented out because we don't send messages like this anymore. Instead it will just popup in their chat window.
//P.tnote += "<i><b>&larr; From [sender] (Unknown / spam?):</b></i><br>[message]<br>"