Skip to content

Commit

Permalink
More ambient forest noises
Browse files Browse the repository at this point in the history
  • Loading branch information
Tk420634 committed Jul 9, 2024
1 parent 576539d commit c0617d5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions code/datums/looping_sounds/ambient_sounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -545,3 +545,24 @@
SOUND_LOOP_ENTRY('sound/f13ambience/creek_07.ogg', 2 SECONDS, 10),
SOUND_LOOP_ENTRY('sound/f13ambience/creek_08.ogg', 2 SECONDS, 10),
)

/datum/looping_sound/ambient/general/forest
chance = 100
vary = FALSE
volume = SOUND_LOOP_VOL_RANGE(90, 100)
direct = TRUE
loop_delay = 0
mid_sounds = list(
SOUND_LOOP_ENTRY('sound/f13ambience/ambientforestcenter.ogg', 28 SECONDS, 1)
)

/datum/looping_sound/ambient/general/forest/direcitonal
chance = 30
vary = FALSE
volume = SOUND_LOOP_VOL_RANGE(50, 100)
direct = TRUE
loop_delay = 0
mid_sounds = list(
SOUND_LOOP_ENTRY('sound/f13ambience/ambientforestleft.ogg', 28 SECONDS, 1),
SOUND_LOOP_ENTRY('sound/f13ambience/ambientforestright.ogg', 28 SECONDS, 1)
)
2 changes: 2 additions & 0 deletions code/modules/fallout/areas/area.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
/datum/looping_sound/ambient/critters/birds/crow,
/datum/looping_sound/ambient/critters/frogs,
/datum/looping_sound/ambient/forest,
/datum/looping_sound/ambient/general/forest,
/datum/looping_sound/ambient/general/forest/direcitonal
)
outdoors = 1
open_space = 1
Expand Down
Binary file added sound/f13ambience/ambientforestcenter.ogg
Binary file not shown.
Binary file added sound/f13ambience/ambientforestleft.ogg
Binary file not shown.
Binary file added sound/f13ambience/ambientforestright.ogg
Binary file not shown.

0 comments on commit c0617d5

Please sign in to comment.