This commit is contained in:
kevinz000
2019-12-31 10:08:14 -08:00
parent 24e3b88a34
commit f920e7b73c
4 changed files with 96 additions and 88 deletions

View File

@@ -136,9 +136,10 @@
/datum/emote/sound
var/sound //Sound to play when emote is called
var/vary = FALSE //used for the honk borg emote
var/volume = 50
mob_type_allowed_typecache = list(/mob/living/brain, /mob/living/silicon)
/datum/emote/sound/run_emote(mob/user, params)
. = ..()
if(.)
playsound(user.loc, sound, 50, vary)
playsound(user.loc, sound, volume, vary)