Files
Aeri adc35e700b Make gravgen sounds respect announcement preference (#5601)
## About The Pull Request

Gates the EXTREMELY LOUD gravity generator startup/shutdown sound behind
the existing announcement sound preference with the other highly
irritating Skyrat announcement sounds.

Previously, the gravity generator’s up/down sounds were played directly
through `playsound_local()`, which meant they could still play even when
a player had disabled announcement sounds. This PR checks
`/datum/preference/toggle/sound_announcements` before playing the
gravgen sound.

This only affects the sound playback. Camera shake and gravity behavior
are unchanged.

## Why It's Good For The Game

The gravity generator restart sound is loud, lengthy, and
announcement-like, so it should respect the same player preference as
other announcement sounds. I can distinctly tell that these two sounds
are part of the "Skyrat announcer pack" which is mostly dispelled by the
sounds. The station still shakes and it makes a softer noise somehow
anyways, so I think it works great!

This improves preference consistency and gives players who disable
announcement sounds a way to avoid what is definitely an announcement
sound.


## Changelog

🆑
sound: Gravity generator startup/shutdown sounds now respect the
announcement sounds preference.
/🆑
2026-05-17 04:11:29 +02:00
..