Skip to content

Commit

Permalink
Change Internals Breathing Sound (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
RimiNosha authored Oct 30, 2024
1 parent 584afca commit ff5ce5a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/carbon/human/human_say.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

. = ..()

if(. && head?.clothing_flags & (STOPSPRESSUREDAMAGE | SNUG_FIT)) // We're not gonna look too hard about this.
if(. && istype(head) && head.clothing_flags & (STOPSPRESSUREDAMAGE | SNUG_FIT)) // We're not gonna look too hard about this.
playsound(src, 'sound/items/radio/receive.ogg', 15, play_directly_to_source = TRUE)

/mob/living/carbon/human/say_mod(input, list/message_mods = list())
Expand All @@ -26,7 +26,7 @@

/mob/living/carbon/human/Hear(message, atom/movable/speaker, datum/language/message_language, raw_message, radio_freq, list/spans, list/message_mods)
. = ..()
if(. && head?.clothing_flags & (STOPSPRESSUREDAMAGE | SNUG_FIT) && !radio_freq) // We're not gonna look too hard about this.
if(. && istype(head) && head.clothing_flags & (STOPSPRESSUREDAMAGE | SNUG_FIT) && !radio_freq) // We're not gonna look too hard about this.
var/static/sound/radio_sound = sound('sound/items/radio/receive.ogg', volume = 15)
src << radio_sound

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/life.dm
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

// If we took a breath, we probably did that via internals.
if(check_breath(breath) && COOLDOWN_FINISHED(src, breath_sound_cd) && internal)
playsound(src, 'sound/voice/breathing.ogg', 5, play_directly_to_source = TRUE)
playsound(src, 'sound/voice/internals_hiss.ogg', 20, play_directly_to_source = TRUE)
COOLDOWN_START(src, breath_sound_cd, 3.5 SECONDS)

if(breath?.total_moles)
Expand Down
2 changes: 2 additions & 0 deletions sound/voice/credits.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
borg_deathsound.ogg is spliced from two clips, both of which are under the CC Attribution license. The sound at https://freesound.org/people/simmfoc/sounds/28477/ was pitched down, sped up, and repeated a few times. https://freesound.org/people/nicStage/sounds/1522/ is then attached with a fadeout effect and lowered volume.

all complianator sounds are licensed under CC-BY-SA by Michael Haugh (supermichael)

internals_hiss.ogg is cut from https://freesound.org/people/kgatto/sounds/240263/ under CC Attribution 4.0
Binary file added sound/voice/gas.wav
Binary file not shown.
Binary file added sound/voice/internals_hiss.ogg
Binary file not shown.

0 comments on commit ff5ce5a

Please sign in to comment.