mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Revert "Revert "/tg/ preference datums part 1: take two"" (#8929)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -8,36 +8,6 @@
|
||||
var/job_other_med = 0
|
||||
var/job_other_high = 0
|
||||
|
||||
/client/verb/toggle_random_emote_pitch()
|
||||
set name = "Toggle Random Emote Pitch"
|
||||
set category = "Preferences.Character"
|
||||
set desc = "Toggles whether or not emotes with sound you make will have random pitch."
|
||||
|
||||
var/pref_path = /datum/client_preference/random_emote_pitch
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
to_chat(src, "Audible emotes you make will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] have a random pitch applied to them.")
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TRandomEmotePitch") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/verb/toggle_autotranscore()
|
||||
set name = "Toggle Automatic Transcore Notification"
|
||||
set category = "Preferences.Character"
|
||||
set desc = "Toggles whether or not your death with a backup implant will automatically trigger a transcore notification after a few minutes."
|
||||
|
||||
var/pref_path = /datum/client_preference/autotranscore
|
||||
|
||||
toggle_preference(pref_path)
|
||||
|
||||
to_chat(src, "Your death with a backup implant will [ (is_preference_enabled(pref_path)) ? "now" : "no longer"] trigger an automatic transcore notification.")
|
||||
|
||||
SScharacter_setup.queue_preferences_save(prefs)
|
||||
|
||||
feedback_add_details("admin_verb","TAutoTranscore") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/datum/preferences/proc/vanity_copy_to(var/mob/living/carbon/human/character, var/copy_name, var/copy_flavour = TRUE, var/copy_ooc_notes = FALSE, var/convert_to_prosthetics = FALSE)
|
||||
//snowflake copy_to, does not copy anything but the vanity things
|
||||
//does not check if the name is the same, do that in any proc that calls this proc
|
||||
|
||||
Reference in New Issue
Block a user