forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add burning sound loop to bonfires and fireplaces (tgstation#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 :cl: sound: Add burning sound loop to bonfires and fireplaces code: Improved fireplaces to only process when lit /:cl: --------- Co-authored-by: Ghom <[email protected]>
- Loading branch information
1 parent
53e4800
commit 5670631
Showing
4 changed files
with
43 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters