adds a playsoundtoken proc that allows one-shot sound tokens playing, and adds support for it to emotes. (#96519)

This commit is contained in:
CabinetOnFire
2026-06-16 12:06:13 +02:00
committed by GitHub
parent 60f9cf09ca
commit d5b366d47a
6 changed files with 79 additions and 18 deletions
@@ -63,7 +63,7 @@
message = "screeches!"
message_mime = "screeches silently."
emote_type = EMOTE_AUDIBLE | EMOTE_VISIBLE
specific_emote_audio_cooldown = 10 SECONDS
manual_specific_emote_audio_cooldown = 10 SECONDS
vary = FALSE
/datum/emote/living/carbon/human/screech/get_sound(mob/living/carbon/human/user)
+4 -2
View File
@@ -303,7 +303,7 @@
message = "laughs."
message_mime = "laughs silently!"
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
specific_emote_audio_cooldown = 8 SECONDS
manual_specific_emote_audio_cooldown = 8 SECONDS
vary = TRUE
/datum/emote/living/laugh/can_run_emote(mob/living/user, status_check = TRUE , intentional, params)
@@ -419,7 +419,9 @@
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
mob_type_blacklist_typecache = list(/mob/living/brain)
sound_wall_ignore = TRUE
specific_emote_audio_cooldown = 10 SECONDS
use_sound_tokens = TRUE
manual_specific_emote_audio_cooldown = 10 SECONDS
forced_specific_emote_audio_cooldown = 4 SECONDS
vary = TRUE
/datum/emote/living/scream/run_emote(mob/user, params, type_override, intentional = FALSE)