Files
Bubberstation/modular_skyrat/modules/emotes/code/emotes.dm
Roxy 0e7f328f2d Clean up the rest of the duplicate sound files (#4027)
## About The Pull Request

Used a script to find all duplicate sound files, consolidate them all
down to a single file and move it into the `modular_zubbers` structure,
update code as needed

## Why It's Good For The Game

Smaller repo

## Proof Of Testing

If it compiles it works

## Changelog
🆑
sound: cleaned up duplicate sound files in the repo
/🆑
2025-06-12 10:05:22 -07:00

561 lines
16 KiB
Plaintext

/datum/emote
var/muzzle_ignore = FALSE
//Disables the custom emote blacklist from TG that normally applies to slimes.
/datum/emote/living/custom
mob_type_blacklist_typecache = list(/mob/living/brain)
cooldown = 0
stat_allowed = SOFT_CRIT
//me-verb emotes should not have a cooldown check
/datum/emote/living/custom/check_cooldown(mob/user, intentional)
return TRUE
/datum/emote/imaginary_friend/custom/check_cooldown(mob/user, intentional)
return TRUE
/datum/emote/living/blush
sound = 'modular_skyrat/modules/emotes/sound/emotes/blush.ogg'
/datum/emote/living/quill
key = "quill"
key_third_person = "quills"
message = "rustles their quills."
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/emotes/voxrustle.ogg'
/datum/emote/living/cough/get_sound(mob/living/user)
if(isvox(user))
return 'modular_skyrat/modules/emotes/sound/emotes/voxcough.ogg'
if(iscarbon(user))
if(user.gender == MALE)
return pick('modular_skyrat/modules/emotes/sound/emotes/male/male_cough_1.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/male_cough_2.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/male_cough_3.ogg')
return pick('modular_skyrat/modules/emotes/sound/emotes/female/female_cough_1.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/female_cough_2.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/female_cough_3.ogg')
return
/datum/emote/living/sneeze
vary = TRUE
/datum/emote/living/sneeze/get_sound(mob/living/user)
if(isvox(user))
return 'modular_skyrat/modules/emotes/sound/emotes/voxsneeze.ogg'
if(iscarbon(user))
if(user.gender == MALE)
return 'modular_skyrat/modules/emotes/sound/emotes/male/male_sneeze.ogg'
return 'modular_skyrat/modules/emotes/sound/emotes/female/female_sneeze.ogg'
return
/datum/emote/living/yawn
message_robot = "synthesizes a yawn."
message_AI = "synthesizes a yawns."
/datum/emote/living/peep
key = "peep"
key_third_person = "peeps"
message = "peeps like a bird!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/peep_once.ogg'
/datum/emote/living/peep2
key = "peep2"
key_third_person = "peeps twice"
message = "peeps twice like a bird!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/peep.ogg'
/datum/emote/living/snap2
key = "snap2"
key_third_person = "snaps twice"
message = "snaps twice."
message_param = "snaps twice at %t."
emote_type = EMOTE_AUDIBLE
hands_use_check = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/snap2.ogg'
/datum/emote/living/snap3
key = "snap3"
key_third_person = "snaps thrice"
message = "snaps thrice."
message_param = "snaps thrice at %t."
emote_type = EMOTE_AUDIBLE
hands_use_check = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/snap3.ogg'
/datum/emote/living/awoo
key = "awoo"
key_third_person = "awoos"
message = "lets out an awoo!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/awoo.ogg'
/datum/emote/living/nya
key = "nya"
key_third_person = "nyas"
message = "lets out a nya!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/nya.ogg'
/datum/emote/living/weh
key = "weh"
key_third_person = "wehs"
message = "lets out a weh!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/weh.ogg'
/datum/emote/living/mothsqueak
key = "msqueak"
key_third_person = "lets out a tiny squeak"
message = "lets out a tiny squeak!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_zubbers/sound/emotes/mothsqueak.ogg'
/datum/emote/living/mousesqueak
key = "squeak"
key_third_person = "squeaks"
message = "squeaks!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'sound/mobs/non-humanoids/mouse/mousesqueek.ogg'
/datum/emote/living/merp
key = "merp"
key_third_person = "merps"
message = "merps!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/merp.ogg'
/datum/emote/living/bark
key = "bark"
key_third_person = "barks"
message = "barks!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/bark2.ogg'
/datum/emote/living/squish
key = "squish"
key_third_person = "squishes"
message = "squishes!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/slime_squish.ogg'
/datum/emote/living/meow
key = "meow"
key_third_person = "meows"
message = "meows!"
message_mime = "meows silently."
emote_type = EMOTE_VISIBLE | EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/emotes/meow.ogg'
/datum/emote/living/hiss
key = "hiss1"
key_third_person = "hisses"
message = "hisses!"
emote_type = EMOTE_AUDIBLE
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/emotes/hiss.ogg'
/datum/emote/living/chitter
key = "chitter"
key_third_person = "chitters"
message = "chitters!"
emote_type = EMOTE_AUDIBLE
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
vary = TRUE
/datum/emote/living/chitter/get_sound(mob/living/user)
if(ismoth(user))
return 'modular_skyrat/modules/emotes/sound/emotes/mothchitter.ogg'
else
return 'sound/mobs/non-humanoids/insect/chitter.ogg'
/datum/emote/living/sigh/get_sound(mob/living/user)
if(iscarbon(user))
if(user.gender == MALE)
return 'modular_skyrat/modules/emotes/sound/emotes/male/male_sigh.ogg'
return 'modular_skyrat/modules/emotes/sound/emotes/female/female_sigh.ogg'
return
/datum/emote/living/sniff
vary = TRUE
muzzle_ignore = TRUE
/datum/emote/living/sniff/get_sound(mob/living/user)
if(iscarbon(user))
if(user.gender == MALE)
return 'modular_skyrat/modules/emotes/sound/emotes/male/male_sniff.ogg'
return 'modular_skyrat/modules/emotes/sound/emotes/female/female_sniff.ogg'
return
/datum/emote/living/gasp/get_sound(mob/living/user)
if(iscarbon(user))
if(user.gender == MALE)
return pick('modular_skyrat/modules/emotes/sound/emotes/male/gasp_m1.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/gasp_m2.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/gasp_m3.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/gasp_m4.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/gasp_m5.ogg',
'modular_skyrat/modules/emotes/sound/emotes/male/gasp_m6.ogg')
return pick('modular_skyrat/modules/emotes/sound/emotes/female/gasp_f1.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/gasp_f2.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/gasp_f3.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/gasp_f4.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/gasp_f5.ogg',
'modular_skyrat/modules/emotes/sound/emotes/female/gasp_f6.ogg')
return
/datum/emote/living/snore
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/emotes/snore.ogg'
/datum/emote/living/burp
vary = TRUE
/datum/emote/living/burp/get_sound(mob/living/user)
if(iscarbon(user))
if(user.gender == MALE)
return 'modular_skyrat/modules/emotes/sound/emotes/male/burp_m.ogg'
return 'modular_skyrat/modules/emotes/sound/emotes/female/burp_f.ogg'
return
/datum/emote/living/clap
key = "clap"
key_third_person = "claps"
message = "claps."
hands_use_check = TRUE
emote_type = EMOTE_AUDIBLE
vary = TRUE
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
/datum/emote/living/clap/get_sound(mob/living/user)
return pick('modular_skyrat/modules/emotes/sound/emotes/clap1.ogg',
'modular_skyrat/modules/emotes/sound/emotes/clap2.ogg',
'modular_skyrat/modules/emotes/sound/emotes/clap3.ogg',
'modular_skyrat/modules/emotes/sound/emotes/clap4.ogg')
/datum/emote/living/clap/can_run_emote(mob/living/carbon/user, status_check = TRUE , intentional)
if(user.usable_hands < 2)
return FALSE
return ..()
/datum/emote/living/clap1
key = "clap1"
key_third_person = "claps once"
message = "claps once."
emote_type = EMOTE_AUDIBLE
hands_use_check = TRUE
vary = TRUE
mob_type_allowed_typecache = list(/mob/living/carbon, /mob/living/silicon/pai)
/datum/emote/living/clap1/get_sound(mob/living/user)
return pick('modular_zubbers/sound/emotes/claponce1.ogg',
'modular_zubbers/sound/emotes/claponce2.ogg')
/datum/emote/living/clap1/can_run_emote(mob/living/carbon/user, status_check = TRUE , intentional)
if(user.usable_hands < 2)
return FALSE
return ..()
/datum/emote/living/headtilt
key = "tilt"
key_third_person = "tilts"
message = "tilts their head."
message_AI = "tilts the image on their display."
/datum/emote/beep
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/emotes/twobeep.ogg'
mob_type_allowed_typecache = list(/mob/living) //Beep already exists on brains and silicons
/datum/emote/living/blink2
key = "blink2"
key_third_person = "blinktwice"
message = "blinks twice."
message_AI = "has their display flicker twice."
/datum/emote/living/rblink
key = "rblink"
key_third_person = "rapidblink"
message = "rapidly blinks!"
message_AI = "has their display port flash rapidly!"
/datum/emote/living/squint
key = "squint"
key_third_person = "squints"
message = "squints."
message_AI = "zooms in."
/datum/emote/living/smirk
key = "smirk"
key_third_person = "smirks"
message = "smirks."
/datum/emote/living/eyeroll
key = "eyeroll"
key_third_person = "eyerolls"
message = "rolls their eyes."
/datum/emote/living/huff
key = "huff"
key_third_person = "huffs"
message = "huffs!"
/datum/emote/living/etwitch
key = "etwitch"
key_third_person = "eartwitch"
message = "twitches their ears!"
/datum/emote/living/carbon/human/clear_throat
emote_type = EMOTE_AUDIBLE
vary = TRUE
/datum/emote/living/carbon/human/clear_throat/get_sound(mob/living/user)
if(!iscarbon(user))
return
if(user.gender == MALE)
return 'modular_skyrat/modules/emotes/sound/emotes/male/clear_m.ogg'
return 'modular_skyrat/modules/emotes/sound/emotes/female/clear_f.ogg'
// Avian revolution
/datum/emote/living/bawk
key = "bawk"
key_third_person = "bawks"
message = "bawks like a chicken."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/bawk.ogg'
/datum/emote/living/caw
key = "caw"
key_third_person = "caws"
message = "caws!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/caw.ogg'
/datum/emote/living/caw2
key = "caw2"
key_third_person = "caws twice"
message = "caws twice!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/caw2.ogg'
/datum/emote/living/blep
key = "blep"
key_third_person = "bleps"
message = "bleps their tongue out. Blep."
message_AI = "shows an image of a random blepping animal. Blep."
message_robot = "bleps their robo-tongue out. Blep."
/datum/emote/living/bork
key = "bork"
key_third_person = "borks"
message = "lets out a bork."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/bork.ogg'
/datum/emote/living/hoot
key = "hoot"
key_third_person = "hoots"
message = "hoots!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/hoot.ogg'
/datum/emote/living/growl
key = "growl"
key_third_person = "growls"
message = "lets out a growl."
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/growl.ogg'
/datum/emote/living/woof
key = "woof"
key_third_person = "woofs"
message = "lets out a woof."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/woof.ogg'
/datum/emote/living/howl
key = "howl"
key_third_person = "howls"
message = "lets out a long howl."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/howl.ogg'
/datum/emote/living/howl/can_run_emote(mob/living/carbon/user, status_check = TRUE , intentional)
if(!HAS_TRAIT(user, TRAIT_CANINE))
return FALSE
return ..()
/datum/emote/living/pant
key = "pant"
key_third_person = "pants"
message = "pants like a dog!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/pant.ogg'
/datum/emote/living/baa
key = "baa"
key_third_person = "baas"
message = "lets out a baa."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/baa.ogg'
/datum/emote/living/baa2
key = "baa2"
key_third_person = "bleat"
message = "bleats."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/baa2.ogg'
/datum/emote/living/wurble
key = "wurble"
key_third_person = "wurbles"
message = "lets out a wurble."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/wurble.ogg'
/datum/emote/living/rattle
key = "rattle"
key_third_person = "rattles"
message = "rattles!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/rattle.ogg'
/datum/emote/living/cackle
key = "cackle"
key_third_person = "cackles"
message = "cackles hysterically!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/cackle_yeen.ogg'
/mob/living/proc/do_ass_slap_animation(atom/slapped)
do_attack_animation(slapped, no_effect=TRUE)
var/image/gloveimg = image('icons/effects/effects.dmi', slapped, "slapglove", slapped.layer + 0.1)
gloveimg.pixel_y = -5
gloveimg.pixel_x = 0
slapped.flick_overlay_view(gloveimg, 1 SECONDS)
// And animate the attack!
animate(gloveimg, alpha = 175, transform = matrix() * 0.75, pixel_x = 0, pixel_y = -5, pixel_z = 0, time = 0.3 SECONDS)
animate(time = 0.1 SECONDS)
animate(alpha = 0, time = 0.3 SECONDS, easing = CIRCULAR_EASING|EASE_OUT)
//Froggie Revolution
/datum/emote/living/warble
key = "warble"
key_third_person = "warbles"
message = "warbles!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/warbles.ogg'
/datum/emote/living/trills
key = "trill"
key_third_person = "trills"
message = "trills!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/trills.ogg'
/datum/emote/living/rpurr
key = "rpurr"
key_third_person = "rpurrs"
message = "purrs!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/raptor_purr.ogg'
/datum/emote/living/purr //Ported from CitRP originally by buffyuwu.
key = "purr"
key_third_person = "purrs"
message = "purrs!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/feline_purr.ogg'
/datum/emote/living/moo
key = "moo"
key_third_person = "moos"
message = "moos!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/moo.ogg'
/datum/emote/living/honk
key = "honk1"
key_third_person = "ghonk"
message = "honks loudly like a goose!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/goose_honk.ogg'
/datum/emote/living/gnash
key = "gnash"
key_third_person = "gnashes"
message = "gnashes."
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'sound/items/weapons/bite.ogg'
/datum/emote/living/thump
key = "thump"
key_third_person = "thumps"
message = "thumps their foot!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = TRUE
vary = TRUE
sound = 'sound/effects/glass/glassbash.ogg'
/datum/emote/living/surrender
muzzle_ignore = TRUE
/datum/emote/living/mggaow
key = "mggaow"
key_third_person = "meowloud"
message = "meows loudly!"
emote_type = EMOTE_AUDIBLE
vary = TRUE
sound = 'modular_skyrat/modules/emotes/sound/voice/mggaow.ogg'