diff --git a/code/modules/mob/living/carbon/human/emote.dm b/code/modules/mob/living/carbon/human/emote.dm index 56d51ee6488..ff2b7c7c17f 100644 --- a/code/modules/mob/living/carbon/human/emote.dm +++ b/code/modules/mob/living/carbon/human/emote.dm @@ -57,37 +57,17 @@ message_mime = "mumbles silently!" emote_type = EMOTE_AUDIBLE | EMOTE_VISIBLE -/datum/emote/living/carbon/human/scream - key = "scream" - key_third_person = "screams" - message = "screams!" - message_mime = "acts out a scream!" - emote_type = EMOTE_AUDIBLE | EMOTE_VISIBLE - specific_emote_audio_cooldown = 10 SECONDS - vary = TRUE - -/datum/emote/living/carbon/human/scream/can_run_emote(mob/user, status_check = TRUE , intentional, params) - if(!intentional && HAS_TRAIT(user, TRAIT_ANALGESIA)) - return FALSE - return ..() - -/datum/emote/living/carbon/human/scream/get_sound(mob/living/carbon/human/user) - if(!istype(user)) - return - return user.dna.species.get_scream_sound(user) - -/datum/emote/living/carbon/human/scream/screech //If a human tries to screech it'll just scream. +/datum/emote/living/carbon/human/screech // basically scream 2.0 key = "screech" key_third_person = "screeches" message = "screeches!" message_mime = "screeches silently." emote_type = EMOTE_AUDIBLE | EMOTE_VISIBLE + specific_emote_audio_cooldown = 10 SECONDS vary = FALSE -/datum/emote/living/carbon/human/scream/screech/should_play_sound(mob/user, intentional) - if(ismonkey(user)) - return TRUE - return ..() +/datum/emote/living/carbon/human/screech/get_sound(mob/living/carbon/human/user) + return user.dna.species.get_scream_sound(user) /datum/emote/living/carbon/human/pale key = "pale" diff --git a/code/modules/mob/living/emote.dm b/code/modules/mob/living/emote.dm index 8f1fd0b431d..0e5031e2bdc 100644 --- a/code/modules/mob/living/emote.dm +++ b/code/modules/mob/living/emote.dm @@ -416,8 +416,10 @@ message = "screams!" message_mime = "acts out a scream!" emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE - mob_type_blacklist_typecache = list(/mob/living/brain, /mob/living/carbon/human) + mob_type_blacklist_typecache = list(/mob/living/brain) sound_wall_ignore = TRUE + specific_emote_audio_cooldown = 10 SECONDS + vary = TRUE /datum/emote/living/scream/run_emote(mob/user, params, type_override, intentional = FALSE) if(!intentional && HAS_TRAIT(user, TRAIT_ANALGESIA)) @@ -429,6 +431,12 @@ if(!intentional && isanimal_or_basicmob(user)) return "makes a loud and pained whimper." +/datum/emote/living/scream/get_sound(mob/living/user) + if(!ishuman(user)) + return + var/mob/living/carbon/human/humie = user + return humie.dna.species.get_scream_sound(user) + /datum/emote/living/scowl key = "scowl" key_third_person = "scowls"