mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Instrument Update (#11645)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
19b8044f61
commit
d8408a2c59
@@ -255,3 +255,17 @@
|
||||
|
||||
/datum/preference/numeric/living/jukebox_volume/apply_to_client_updated(client/client, value)
|
||||
client?.media?.update_volume(value)
|
||||
|
||||
/datum/preference/numeric/volume
|
||||
abstract_type = /datum/preference/numeric/volume
|
||||
minimum = 0
|
||||
maximum = 100
|
||||
|
||||
/datum/preference/numeric/volume/create_default_value()
|
||||
return maximum
|
||||
|
||||
/// Controls hearing instruments
|
||||
/datum/preference/numeric/volume/sound_instruments
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
savefile_key = "sound_instruments"
|
||||
savefile_identifier = PREFERENCE_PLAYER
|
||||
|
||||
Reference in New Issue
Block a user