Files
Bubberstation/code/datums/looping_sounds/burning.dm
Tim 567063153f Add burning sound loop to bonfires and fireplaces (#78834)
## About The Pull Request
This adds a ignition sound whenever a fireplace or bonfire is initially
lit on fire. Afterwards a continuous burning loop is played. Also added
some documentation and optimized fireplaces to only `process()` when
lit.

## Why It's Good For The Game
Better consistency.

## Changelog
🆑
sound: Add burning sound loop to bonfires and fireplaces
code: Improved fireplaces to only process when lit
/🆑

---------

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2023-10-10 15:38:14 +00:00

10 lines
296 B
Plaintext

/// Soundloop for the fire (bonfires, fireplaces, etc.)
/datum/looping_sound/burning
start_sound = 'sound/items/match_strike.ogg'
start_length = 3 SECONDS
mid_sounds = 'sound/effects/comfyfire.ogg'
mid_length = 5 SECONDS
volume = 50
vary = TRUE
extra_range = MEDIUM_RANGE_SOUND_EXTRARANGE