Removes capital X KSS from forked tongues (#3096)

Removes the capital X going to KSS from the forked tongue hiss, this allows lizards and other people who have taken the forked tongue to say things like RDX instead of RDKSS, and overall improves readability. This does not affect lowercase x's.
This commit is contained in:
Swiftfeather
2021-02-05 15:19:03 -06:00
committed by GitHub
parent 389b366c84
commit 1a41dd9f4c
+4
View File
@@ -81,7 +81,9 @@
var/static/regex/lizard_hiss = new("s+", "g")
var/static/regex/lizard_hiSS = new("S+", "g")
var/static/regex/lizard_kss = new(@"(\w)x", "g")
/* // SKYRAT EDIT: REMOVAL
var/static/regex/lizard_kSS = new(@"(\w)X", "g")
*/
var/static/regex/lizard_ecks = new(@"\bx([\-|r|R]|\b)", "g")
var/static/regex/lizard_eckS = new(@"\bX([\-|r|R]|\b)", "g")
var/message = speech_args[SPEECH_MESSAGE]
@@ -89,7 +91,9 @@
message = lizard_hiss.Replace(message, "sss")
message = lizard_hiSS.Replace(message, "SSS")
message = lizard_kss.Replace(message, "$1kss")
/* // SKYRAT EDIT: REMOVAL
message = lizard_kSS.Replace(message, "$1KSS")
*/
message = lizard_ecks.Replace(message, "ecks$1")
message = lizard_eckS.Replace(message, "ECKS$1")
speech_args[SPEECH_MESSAGE] = message