Files
Bubberstation/code/modules/client/preferences/accessibility.dm
grungussuss 61ca36dc71 More accessibility options and pref menu (#87549)
## About The Pull Request
- added accessibility tab in prefs menu
- put darkened flashes option into this menu
- added `darken screen shake` pref, for motion sick people, darkens your
screen when experiencing screen shake.

<details>
OUTDATED 


![image_2024-10-29_023038297](https://github.com/user-attachments/assets/db9cfe23-74f7-413a-8d84-496384b3d3bf)

</details>


https://github.com/user-attachments/assets/e3fd43ad-a65c-47dc-add2-6c93048e8b61

## Why It's Good For The Game

makes it easier for people with disabilities to play the game.
## Changelog
🆑 grungussuss
qol: you can now mitigate motion sickness from screen shake by enabling
"darken screen shake" in preferences
/🆑

---------

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2024-11-12 09:08:51 +13:00

14 lines
521 B
Plaintext

/// When toggled, being flashed will show a dark screen rather than a light one.
/datum/preference/toggle/darkened_flash
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
default_value = FALSE
savefile_key = "darkened_flash"
savefile_identifier = PREFERENCE_PLAYER
/// When toggled, will darken the screen on screen shake
/datum/preference/toggle/screen_shake_darken
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
default_value = FALSE
savefile_key = "screen_shake_darken"
savefile_identifier = PREFERENCE_PLAYER