Merge pull request #64 from SeepingVisage/kitty-accent

Kitty accent
This commit is contained in:
evilew
2025-01-12 14:26:27 +01:00
committed by GitHub
5 changed files with 21 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
/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
@@ -0,0 +1,8 @@
/obj/item/organ/tongue/kitty
name = "barbed tongue"
desc = "A thin and prickled on top tongue, common among cats"
icon_state = "tonguenormal"
say_mod = "mrowls"
taste_sensitivity = 15 //Tastes like normal
maxHealth = 60 //And so has health like normal
initial_accents = list(/datum/accent/kitty)