Tweaks for spam

Added non-randomized example tokens at start. Added filter limitation.
Ion storm will replace tokens with garbage. Spam disaster lasts longer
and is more severe.
This commit is contained in:
UristMcKerman
2014-05-29 00:31:02 +04:00
parent 0a0ce28f68
commit c78605b1a4
4 changed files with 26 additions and 13 deletions

View File

@@ -61,7 +61,11 @@ var/global/list/obj/machinery/message_server/message_servers = list()
var/active = 1
var/decryptkey = "password"
var/list/spamfilter = list()
//Spam filtering stuff
var/list/spamfilter = list("You have won", "your prize", "male enhancement", "shitcurity", \
"are happy to inform you", "account number", "enter your PIN")
//Messages having theese tokens will be rejected by server. Case sensitive
var/spamfilter_limit = 10 //Maximal amount of tokens
var/const/errorcode_spam_rejected = MESSAGE_SERVER_SPAM_REJECT
/obj/machinery/message_server/New()