Skip to content

Commit

Permalink
Merge pull request #1078 from Just-Sim/master
Browse files Browse the repository at this point in the history
Meow Emote Variations
  • Loading branch information
MosleyTheMalO authored Mar 3, 2024
2 parents 86df8ef + 59ec055 commit 856621f
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 17 deletions.
17 changes: 0 additions & 17 deletions modular_citadel/code/modules/mob/cit_emotes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -153,23 +153,6 @@
user.nextsoundemote = world.time + 7
playsound(user, 'modular_citadel/sound/voice/hiss.ogg', 50, 1, -1)

/datum/emote/living/meow
key = "meow"
key_third_person = "mrowls"
message = "mrowls!"
emote_type = EMOTE_AUDIBLE
muzzle_ignore = FALSE
restraint_check = FALSE

/datum/emote/living/meow/run_emote(mob/living/user, params)
. = ..()
if(!.)
return
if(user.nextsoundemote >= world.time)
return
user.nextsoundemote = world.time + 7
playsound(user, 'modular_citadel/sound/voice/meow1.ogg', 50, 1, -1)

/datum/emote/living/purr
key = "purr"
key_third_person = "purrs softly"
Expand Down
36 changes: 36 additions & 0 deletions modular_splurt/code/modules/mob/living/emotes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1437,3 +1437,39 @@
emote_sound = 'modular_splurt/sound/voice/canon_event.ogg'
emote_cooldown = 5.0 SECONDS
emote_volume = 27

/datum/emote/living/audio/meow
key = "meow"
key_third_person = "meows"
message = "meows!"
emote_sound = 'modular_splurt/sound/voice/catpeople/cat_meow1.ogg'
emote_cooldown = 0.8 SECONDS // the longest audio is 1 second but who gives a fuck mrrp mrrp meow
emote_pitch_variance = FALSE // why would you

/datum/emote/living/audio/meow/run_emote(mob/user, params)
emote_sound = pick('modular_splurt/sound/voice/catpeople/cat_meow1.ogg', 'modular_splurt/sound/voice/catpeople/cat_meow2.ogg', 'modular_splurt/sound/voice/catpeople/cat_meow3.ogg') // Credit to Nyanotrasen (https://github.com/Nyanotrasen/Nyanotrasen)
. = ..()

/datum/emote/living/audio/meow2
key = "meow2"
key_third_person = "mews!"
message = "mews!"
emote_sound = 'modular_splurt/sound/voice/catpeople/cat_mew1.ogg'
emote_cooldown = 0.8 SECONDS // mrrp mrrp meow
emote_pitch_variance = FALSE

/datum/emote/living/audio/meow2/run_emote(mob/user, params)
emote_sound = pick('modular_splurt/sound/voice/catpeople/cat_mew1.ogg', 'modular_splurt/sound/voice/catpeople/cat_mew2.ogg') // Credit to Nyanotrasen (https://github.com/Nyanotrasen/Nyanotrasen)
. = ..()

/datum/emote/living/audio/mrrp
key = "mrrp"
key_third_person = "mrrps"
message = "trills like a cat!"
emote_sound = 'modular_splurt/sound/voice/catpeople/cat_mrrp1.ogg'
emote_cooldown = 0.8 SECONDS // mrrp mrrp meow
emote_pitch_variance = FALSE

/datum/emote/living/audio/mrrp/run_emote(mob/user, params)
emote_sound = pick('modular_splurt/sound/voice/catpeople/cat_mrrp1.ogg', 'modular_splurt/sound/voice/catpeople/cat_mrrp2.ogg')
. = ..()
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added modular_splurt/sound/voice/catpeople/cat_mew1.ogg
Binary file not shown.
Binary file added modular_splurt/sound/voice/catpeople/cat_mew2.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions modular_splurt/sound/voice/catpeople/credits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sound Files ported from https://github.com/Nyanotrasen/Nyanotrasen/ created by Elijahrane

0 comments on commit 856621f

Please sign in to comment.