mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Rebase onto Master for Volume Control Panel, Squash Commits
This commit is contained in:
@@ -254,6 +254,21 @@
|
||||
|
||||
feedback_add_details("admin_verb","TAirPumpNoise")
|
||||
|
||||
/client/verb/toggle_pickup_sounds()
|
||||
set name = "Toggle Picked Up Item Sounds"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles sounds when items are picked up or thrown."
|
||||
|
||||
var/pref_path = /datum/client_preference/pickup_sounds
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear sounds when items are picked up or thrown.")
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb", "TPickupSounds")
|
||||
|
||||
/client/verb/toggle_drop_sounds()
|
||||
set name = "Toggle Dropped Item Sounds"
|
||||
set category = "Preferences"
|
||||
|
||||
Reference in New Issue
Block a user