mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Add sound to brain scream, beep, boop. (#32324)
* Add sound to brain scream, beep, boop. * Add the coveted trailing newline. * Add brain scream keybind.
This commit is contained in:
@@ -58,9 +58,37 @@
|
||||
key_third_person = "beeps"
|
||||
message = "beeps."
|
||||
self_message = "You beep."
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
sound = "sound/machines/twobeep.ogg"
|
||||
|
||||
/datum/emote/living/brain/boop
|
||||
key = "boop"
|
||||
key_third_person = "boops"
|
||||
message = "boops."
|
||||
self_message = "You boop."
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
sound = "sound/machines/boop.ogg"
|
||||
|
||||
/datum/emote/living/brain/scream
|
||||
key = "scream"
|
||||
key_third_person = "screams"
|
||||
message = "screams!"
|
||||
self_message = "You scream!"
|
||||
emote_type = EMOTE_AUDIBLE
|
||||
|
||||
/datum/emote/living/brain/scream/select_message_type(mob/user, msg, intentional)
|
||||
. = ..()
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(H.dna.species?.scream_verb)
|
||||
if(H.mind?.miming)
|
||||
return "[H.dna.species?.scream_verb] silently!"
|
||||
else
|
||||
return "[H.dna.species?.scream_verb]!"
|
||||
|
||||
/datum/emote/living/brain/scream/get_sound(mob/living/brain/user)
|
||||
if(user.mind?.miming || !istype(user))
|
||||
return
|
||||
if(user.gender == FEMALE)
|
||||
return user.dna.species.female_scream_sound
|
||||
else
|
||||
return user.dna.species.male_scream_sound
|
||||
|
||||
@@ -173,7 +173,8 @@
|
||||
unintentional_audio_cooldown = 3.5 SECONDS
|
||||
mob_type_blacklist_typecache = list(
|
||||
/mob/living/carbon/human/monkey, // screech instead
|
||||
/mob/living/silicon // Robot sounds
|
||||
/mob/living/silicon, // Robot sounds
|
||||
/mob/living/brain
|
||||
)
|
||||
|
||||
/datum/emote/living/carbon/human/scream/select_message_type(mob/user, msg, intentional)
|
||||
|
||||
@@ -226,7 +226,8 @@
|
||||
mob_type_blacklist_typecache = list(
|
||||
// Humans and silicons get specialized scream.
|
||||
/mob/living/carbon/human,
|
||||
/mob/living/silicon
|
||||
/mob/living/silicon,
|
||||
/mob/living/brain
|
||||
)
|
||||
volume = 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user