Skip to content

Commit

Permalink
fixes ambient
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilmented committed Oct 4, 2024
1 parent fd7ed52 commit 8824daa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions code/datums/looping_sounds/ambient_sounds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,16 @@
SOUND_LOOP_ENTRY('sound/f13ambience/creek_08.ogg', 2 SECONDS, 10),
)

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

/datum/looping_sound/ambient/general/forest
chance = 100
vary = FALSE
Expand Down
4 changes: 1 addition & 3 deletions code/modules/fallout/areas/area.dm
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,7 @@
ambientsounds = list(
AREA_SOUND('sound/f13ambience/dog_distant_1.ogg', 10 SECONDS),
AREA_SOUND('sound/f13ambience/dog_distant_2.ogg', 10 SECONDS),
AREA_SOUND('sound/f13ambience/dog_distant_3.ogg', 10 SECONDS),
AREA_SOUND('sound/f13ambience/ambigen_1.ogg', 10 SECONDS),
AREA_SOUND('sound/f13ambience/ambigen_2.ogg', 10 SECONDS))
AREA_SOUND('sound/f13ambience/dog_distant_3.ogg', 10 SECONDS))
weather_tags = null
outdoors = FALSE

Expand Down

0 comments on commit 8824daa

Please sign in to comment.