mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-29 02:21:44 +00:00
## 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>
10 lines
296 B
Plaintext
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
|