mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
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:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user