mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 03:26:37 +01:00
Adds Toggles to Revert to Legacy Door Sounds and Enable Department Doors
Self-explanatory. Adds toggle to go back to the old-school SS13 legacy airlock sounds, including the glass windoor airlock sounds, and a toggle to disable the per-department door sounds, which some found jarring/unrealistic. If Per-Department sounds are disabled, the department doors will use hall1o/c for open/close respectively, following maintainer-requested behavior for these doors. This also relocates the following sounds to be inside machines/door for more consistency: - airlock.ogg - airlockclose.ogg - airlockforced.ogg - airlock_creaking.ogg - boltsup.ogg - boltsdown.ogg - blastdoorclose.ogg - blastdooropen.ogg - windowdoor.ogg
This commit is contained in:
@@ -152,6 +152,18 @@ var/list/_client_preferences_by_type
|
||||
key = "SOUND_AIRPUMP"
|
||||
enabled_description = "Audible"
|
||||
disabled_description = "Silent"
|
||||
|
||||
/datum/client_preference/old_door_sounds
|
||||
description ="Old Door Sounds"
|
||||
key = "SOUND_OLDDOORS"
|
||||
enabled_description = "Old"
|
||||
disabled_description = "New"
|
||||
|
||||
/datum/client_preference/department_door_sounds
|
||||
description ="Department-Specific Door Sounds"
|
||||
key = "SOUND_DEPARTMENTDOORS"
|
||||
enabled_description = "Enabled"
|
||||
disabled_description = "Disabled"
|
||||
|
||||
/datum/client_preference/pickup_sounds
|
||||
description = "Picked Up Item Sounds"
|
||||
|
||||
@@ -253,6 +253,36 @@
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TAirPumpNoise")
|
||||
|
||||
/client/verb/toggle_old_door_sounds()
|
||||
set name = "Toggle Old Door Sounds"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles New/Old Door Sounds"
|
||||
|
||||
var/pref_path = /datum/client_preference/old_door_sounds
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear the legacy door sounds.")
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TOldDoorSounds")
|
||||
|
||||
/client/verb/toggle_department_door_sounds()
|
||||
set name = "Toggle Department Door Sounds"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles Department-Specific Door Sounds"
|
||||
|
||||
var/pref_path = /datum/client_preference/department_door_sounds
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear per-department door sounds.")
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TDepartmentDoorSounds")
|
||||
|
||||
/client/verb/toggle_pickup_sounds()
|
||||
set name = "Toggle Picked Up Item Sounds"
|
||||
|
||||
Reference in New Issue
Block a user