Merge pull request #5795 from Heroman3003/interceptiont

Restricts AI intercepting messages
This commit is contained in:
Novacat
2019-09-03 18:10:06 -04:00
committed by GitHub
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1096,7 +1096,7 @@ var/global/list/obj/item/device/pda/PDAs = list()
P.conversations.Add("\ref[src]")
if (prob(15)) //Give the AI a chance of intercepting the message
if (prob(5) && security_level >= SEC_LEVEL_BLUE) //Give the AI a chance of intercepting the message //VOREStation Edit: no spam interception on lower codes + lower interception chance
var/who = src.owner
if(prob(50))
who = P.owner