Ports radio transmit noises (#22216)

* video killed the radio star

Adds two sound effects, one for normal radios and one for Security radios. Makes radio_common play when talking on comms.

* we cant rewind we've gone too far

Adds checks for certain radio comms channels to play Security radio sound.

* Pictures came and broke your heart

Adds volume mixer support.

* Update code/modules/mob/living/living_say.dm

Co-authored-by: Adri <33333517+Miraviel@users.noreply.github.com>

* Update code/modules/mob/living/living_say.dm

Co-authored-by: Adri <33333517+Miraviel@users.noreply.github.com>

* Update code/modules/mob/living/living_say.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Put the blame on VCR

Makes preference toggle more readable.

* Update code/modules/mob/living/living_say.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* I forgot what song I kept quoting

Add code comment clarifying purpose of define.

* The fix

* Contra review

---------

Co-authored-by: Adri <33333517+Miraviel@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Marm
2023-09-13 21:05:01 +01:00
committed by GitHub
parent 25dd98b449
commit 125a84514a
6 changed files with 10 additions and 1 deletions
@@ -88,6 +88,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
"1017" = 100, // CHANNEL_ENGINE
"1016" = 100, // CHANNEL_FIREALARM
"1015" = 100, // CHANNEL_ASH_STORM
"1014" = 100, // CHANNEL_RADIO_NOISE
)
/// The volume mixer save timer handle. Used to debounce the DB call to save, to avoid spamming.
var/volume_mixer_saving = null