mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Adds another option for ghost polling sound. (#88858)
## About The Pull Request - This is a commissioned work. - added a new ghost poll sound - added volume sliders for ghost poll sounds - added ghost poll sound pref - renamed previous sound to calm - calm is enabled by default - normalised volume of the "calm" prompt   https://github.com/user-attachments/assets/8178c108-a632-4f06-879a-00203f2afd3a ## Why It's Good For The Game - it's more ***alerty*** ## Changelog 🆑 grungussuss qol: ghost poll sound can now be disabled qol: ghost poll sound volume can now be tweaked sound: added new ghost poll sound. sound: normalised volume of ghost poll sounds /🆑
This commit is contained in:
@@ -112,3 +112,28 @@
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
savefile_key = "sound_ai_vox"
|
||||
savefile_identifier = PREFERENCE_PLAYER
|
||||
|
||||
/// Choice of which ghost poll prompt to use
|
||||
/datum/preference/choiced/sound_ghost_poll_prompt
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
savefile_key = "sound_ghost_poll_prompt"
|
||||
savefile_identifier = PREFERENCE_PLAYER
|
||||
|
||||
/datum/preference/choiced/sound_ghost_poll_prompt/create_default_value()
|
||||
return GHOST_POLL_PROMPT_1
|
||||
|
||||
/datum/preference/choiced/sound_ghost_poll_prompt/init_possible_values()
|
||||
return list(GHOST_POLL_PROMPT_DISABLED, GHOST_POLL_PROMPT_1, GHOST_POLL_PROMPT_2)
|
||||
|
||||
/// Volume which ghost poll prompts are played at
|
||||
/datum/preference/numeric/sound_ghost_poll_prompt_volume
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
savefile_key = "sound_ghost_poll_prompt_volume"
|
||||
savefile_identifier = PREFERENCE_PLAYER
|
||||
|
||||
minimum = 0
|
||||
maximum = 200
|
||||
|
||||
/// default value is max/2 because 100 1x modifier, while 200 is 2x
|
||||
/datum/preference/numeric/sound_ghost_poll_prompt_volume/create_default_value()
|
||||
return maximum/2
|
||||
|
||||
Reference in New Issue
Block a user