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


![image](https://github.com/user-attachments/assets/4f5caeac-f2c1-4c19-adc0-a5ff2a742596)


![image](https://github.com/user-attachments/assets/3f5e476d-ce52-46a8-8790-5c2cd3321d84)


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:
grungussuss
2025-03-12 16:46:50 -04:00
committed by Roxy
parent 47e74613c3
commit d5c9c93500
10 changed files with 64 additions and 5 deletions
+25
View File
@@ -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