Voice Preferences

Added different voices and voice preferences to character customization. Already implemented voices are human, roach and lizard
This commit is contained in:
Alphas00
2024-06-19 10:48:56 +02:00
parent e51f547c87
commit 11182eeed4
15 changed files with 31 additions and 14 deletions
+3 -1
View File
@@ -497,7 +497,9 @@
. = ..()
message = null
emote_type = EMOTE_VISIBLE
playsound(usr.loc, 'GainStation13/sound/voice/voices/speak_1.ogg', 90, 10)
if(ishuman(usr))
var/mob/living/carbon/human/H = usr
playsound(usr.loc, "GainStation13/sound/voice/voices/[H.voice].ogg", 90, 10)
/datum/emote/living/custom/replace_pronoun(mob/user, message)
return message