From 07192b935cc7eefec4cfd94516330b14aea820f4 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 5 Jan 2020 17:08:55 -0600 Subject: [PATCH 1/2] Adjusts Emphasize Name Mention (#6597) Capitalizes all the words in the not_included section so that they actually get removed from the name check system. Names can't be lowercase so there is no point in keeping the previous version. --- code/modules/mob/hear_say.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index ad3689e8c53..e491095905c 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -97,7 +97,7 @@ // Checks if the mob's own name is included inside message. Handles both first and last names. /mob/proc/check_mentioned(var/message) - var/not_included = list("a", "the", "of", "in", "for", "through", "throughout", "therefore", "here", "there", "then", "now", "I", "you", "they", "he", "she", "by") + var/not_included = list("A", "The", "Of", "In", "For", "Through", "Throughout", "Therefore", "Here", "There", "Then", "Now", "I", "You", "They", "He", "She", "By") var/list/valid_names = splittext(real_name, " ") // Should output list("John", "Doe") as an example. valid_names -= not_included var/list/nicknames = splittext(nickname, " ")