mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-22 20:46:55 +01:00
Voice Preferences
Added different voices and voice preferences to character customization. Already implemented voices are human, roach and lizard
This commit is contained in:
@@ -72,7 +72,9 @@ proc/get_top_level_mob(var/mob/S)
|
||||
if(M.stat == DEAD && M.client && (M.client?.prefs?.chat_toggles & CHAT_GHOSTSIGHT) && !(M in viewers(T, null)))
|
||||
M.show_message(message)
|
||||
|
||||
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)
|
||||
|
||||
if(emote_type == EMOTE_AUDIBLE)
|
||||
user.audible_message(message=message,hearing_distance=1)
|
||||
|
||||
Reference in New Issue
Block a user