Adds Door Volume Channel (#7592)

Adds Door Channel Volume preference for doors, that applies to open/close/bolts sounds.

This should prevent complaints of "Doors are too loud" - adjust the volume channel to your personal preference.
This commit is contained in:
Rykka Stormheart
2020-08-29 03:10:42 -04:00
committed by GitHub
parent 73e7c4632e
commit e2cff9b3fa
2 changed files with 12 additions and 8 deletions

View File

@@ -373,13 +373,17 @@ var/global/list/##LIST_NAME = list();\
#define FONT_GIANT(X) "<font size='5'>[X]</font>"
// Volume Channel Defines
#define VOLUME_CHANNEL_MASTER "Master"
#define VOLUME_CHANNEL_AMBIENCE "Ambience"
#define VOLUME_CHANNEL_ALARMS "Alarms"
#define VOLUME_CHANNEL_DOORS "Doors"
// Make sure you update this or clients won't be able to adjust the channel
GLOBAL_LIST_INIT(all_volume_channels, list(
VOLUME_CHANNEL_MASTER,
VOLUME_CHANNEL_AMBIENCE,
VOLUME_CHANNEL_ALARMS,
VOLUME_CHANNEL_DOORS,
))