mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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.
12 lines
351 B
Plaintext
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
|
|
)
|