mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Adds Sound Code and toggles
This commit is contained in:
@@ -2,3 +2,35 @@
|
||||
datum/preferences
|
||||
var/show_in_directory = 1 //TFF 5/8/19 - show in Character Directory
|
||||
var/sensorpref = 5 //TFF 5/8/19 - set character's suit sensor level
|
||||
|
||||
//Why weren't these in game toggles already?
|
||||
/client/verb/toggle_eating_noises()
|
||||
set name = "Eating Noises"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles Vore Eating noises."
|
||||
|
||||
var/pref_path = /datum/client_preference/eating_noises
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear eating related vore noises."
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TEatNoise") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
|
||||
/client/verb/toggle_digestion_noises()
|
||||
set name = "Digestion Noises"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles Vore Digestion noises."
|
||||
|
||||
var/pref_path = /datum/client_preference/digestion_noises
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
src << "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear digestion related vore noises."
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TDigestNoise") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
Reference in New Issue
Block a user