mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-28 02:21:53 +00:00
14 lines
520 B
Plaintext
14 lines
520 B
Plaintext
/// Whether or not to toggle ambient occlusion, the shadows around people
|
|
/datum/preference/toggle/ambient_occlusion
|
|
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
|
savefile_key = "ambientocclusion"
|
|
savefile_identifier = PREFERENCE_PLAYER
|
|
|
|
/datum/preference/toggle/ambient_occlusion/apply_to_client(client/client, value)
|
|
/// Backdrop for the game world plane.
|
|
var/atom/movable/screen/plane_master/game_world/plane_master = locate() in client?.screen
|
|
if (!plane_master)
|
|
return
|
|
|
|
plane_master.backdrop(client.mob)
|