mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-30 02:44:26 +00:00
Preferences can now handle a list being passed to them, and will require all items in the list to be true. Singular datums work to preserve legacy behavior. Audible belching will REQUIRE "Emote Noises" and "Audible Belching" preferences to be enabled. Figured there'd be a potential shitstorm, and honestly adding the preference was easier than I thought. This will work if for w/e reason you decide to add farting noises - a simple pref toggle, and bingo. Etc etc. <3
88 lines
3.0 KiB
Plaintext
88 lines
3.0 KiB
Plaintext
/datum/preferences
|
|
var/show_in_directory = 1 //Show in Character Directory
|
|
var/directory_tag = "Unset" //Sorting tag to use in character directory
|
|
var/directory_erptag = "Unset" //ditto, but for non-vore scenes
|
|
var/directory_ad = "" //Advertisement stuff to show in character directory.
|
|
var/sensorpref = 5 //Set character's suit sensor level
|
|
|
|
var/job_talon_high = 0
|
|
var/job_talon_med = 0
|
|
var/job_talon_low = 0
|
|
|
|
//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)
|
|
|
|
to_chat(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)
|
|
|
|
to_chat(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!
|
|
|
|
/client/verb/toggle_belch_noises()
|
|
set name = "Audible belching"
|
|
set category = "Preferences"
|
|
set desc = "Toggles audible belches."
|
|
|
|
var/pref_path = /datum/client_preference/belch_noises
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear belching.")
|
|
|
|
SScharacter_setup.queue_preferences_save(prefs)
|
|
|
|
feedback_add_details("admin_verb","TBelchNoise")
|
|
|
|
/client/verb/toggle_emote_noises()
|
|
set name = "Emote Noises"
|
|
set category = "Preferences"
|
|
set desc = "Toggles emote noises."
|
|
|
|
var/pref_path = /datum/client_preference/emote_noises
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear emote-related noises.")
|
|
|
|
SScharacter_setup.queue_preferences_save(prefs)
|
|
|
|
feedback_add_details("admin_verb","TEmoteNoise") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ghost_quiets()
|
|
set name = "Toggle Whisper/Subtle Vis"
|
|
set category = "Preferences"
|
|
set desc = "Toggle ghosts viewing your subtles/whispers."
|
|
|
|
var/pref_path = /datum/client_preference/whisubtle_vis
|
|
|
|
toggle_preference(pref_path)
|
|
|
|
to_chat(src, "Ghosts will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] hear subtles/whispers made by you.")
|
|
|
|
SScharacter_setup.queue_preferences_save(prefs)
|
|
|
|
feedback_add_details("admin_verb","TWhisubtleVis") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|