Changeling mimes can now speak through hivemind.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4270 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
johnsonmt88@gmail.com
2012-08-01 15:22:39 +00:00
parent a5c77650d3
commit 093c76128a
2 changed files with 13 additions and 5 deletions
+12 -4
View File
@@ -3,10 +3,18 @@
if (silent)
return
//Mimes dont speak!
if (length(message) >= 1)
if (miming && copytext(message, 1, 2) != "*")
return
//Mimes dont speak! Changeling hivemind and emotes are allowed.
if (miming)
if(length(message) >= 2)
if(src.changeling)
if(copytext(message, 1, 2) != "*" && copytext(message, 1, 3) != ":g" && copytext(message, 1, 3) != ":G" && copytext(message, 1, 3) != ":ï")
return
else
return ..(message)
if(length(message) >= 1) //In case people forget the '*help' command, this will slow them the message and prevent people from saying one letter at a time
if (copytext(message, 1, 2) != "*")
return
if(src.mutantrace == "lizard")
if(copytext(message, 1, 2) != "*")
+1 -1
View File
@@ -13,7 +13,7 @@
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
return say_dead(message)
// wtf?
//Must be concious to speak
if (stat)
return