Vore code to json and more (#5789)
* Vore 2.0 Initial commit * double checked porting * Fixes compile issues * converts Ash Drake bellies to new system digs out lingering datum/belly stuff too * Let's just work on this later * System operational * Update preferences.dm
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggleeatingnoise)()
|
||||
set name = "Toggle Eating Noises"
|
||||
set category = "Preferences"
|
||||
set desc = "Hear Eating noises"
|
||||
usr.client.prefs.toggles ^= EATING_NOISES
|
||||
usr.client.prefs.save_preferences()
|
||||
usr.stop_sound_channel(CHANNEL_PRED)
|
||||
to_chat(usr, "You will [(usr.client.prefs.toggles & EATING_NOISES) ? "now" : "no longer"] hear eating noises.")
|
||||
/datum/verbs/menu/Settings/Sound/toggleeatingnoise/Get_checked(client/C)
|
||||
return !(C.prefs.toggles & EATING_NOISES)
|
||||
|
||||
|
||||
TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggledigestionnoise)()
|
||||
set name = "Toggle Digestion Noises"
|
||||
set category = "Preferences"
|
||||
set desc = "Hear digestive noises"
|
||||
usr.client.prefs.toggles ^= DIGESTION_NOISES
|
||||
usr.client.prefs.save_preferences()
|
||||
usr.stop_sound_channel(CHANNEL_DIGEST)
|
||||
to_chat(usr, "You will [(usr.client.prefs.toggles & DIGESTION_NOISES) ? "now" : "no longer"] hear digestion noises.")
|
||||
/datum/verbs/menu/Settings/Sound/toggledigestionnoise/Get_checked(client/C)
|
||||
return !(C.prefs.toggles & DIGESTION_NOISES)
|
||||
Reference in New Issue
Block a user