Files
SeepingVisage 91e177e636 re-adds the kitty purr tongue from oldcode
currently just has this as the default tongue for felinids. i have to figure out how to make it selectable from roundstart
2025-01-09 23:57:38 -05:00

10 lines
359 B
Plaintext

/datum/accent/kitty/modify_speech(list/speech_args)
var/message = speech_args[SPEECH_MESSAGE]
var/static/regex/taja_purr = new("r+", "g")
var/static/regex/taja_puRR = new("R+", "g")
if(message[1] != "*")
message = taja_purr.Replace(message, "rrr")
message = taja_puRR.Replace(message, "Rrr")
speech_args[SPEECH_MESSAGE] = message
return speech_args