Files
CHOMPStation2/code/modules/emotes/definitions/audible_belch.dm
Rykka b75c306318 Reformats preferences to take a list, adds belch pref to emote
Preferences can now take a list instead of a singular datum (but will still accept a singular datum for legacy compat), and any arguments that check is_preference_enabled must return true on all prefs from the list, not just one.
2021-09-24 15:14:13 -07:00

12 lines
351 B
Plaintext

/decl/emote/audible/belch
key = "belch"
emote_message_3p = "belches."
message_type = AUDIBLE_MESSAGE
sound_preferences = list(/datum/client_preference/emote_noises,/datum/client_preference/belch_noises)
/decl/emote/audible/belch/get_emote_sound(var/atom/user)
return list(
"sound" = sound(get_sfx("belches")),
"vol" = emote_volume / 2
)