Relaxed the enforced lowercasing of characters in names to allow stuff like MacTavish as per request.

Relaxed forced uppercasing following numbers for AIs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3963 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-07-01 23:28:49 +00:00
parent 56c3e364ce
commit 47bb6e7588
+2 -4
View File
@@ -156,14 +156,12 @@
var/ascii_char = text2ascii(t_in,i)
switch(ascii_char)
if(65 to 90) //Uppercase letters allowed
switch(last_char_group)
if(3,4,5,0) t_out += ascii2text(ascii_char)
else t_out += ascii2text(ascii_char+32) //lowercase if not preceeded by space or '
t_out += ascii2text(ascii_char)
last_char_group = 1
number_of_alphanumeric++
if(97 to 122) //Lowercase letters allowed
switch(last_char_group)
if(3,4,5,0) t_out += ascii2text(ascii_char-32) //uppercase if preceeded by space or '
if(3,4,0) t_out += ascii2text(ascii_char-32) //Force uppercase if preceeded by space or '
else t_out += ascii2text(ascii_char)
last_char_group = 2
number_of_alphanumeric++