|
|
|
@@ -30,7 +30,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox, toggle_ghost_ears)(
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_GHOSTEARS
|
|
|
|
|
to_chat(usr, "As a ghost, you will now [(usr.client.prefs.chat_toggles & CHAT_GHOSTEARS) ? "see all speech in the world" : "only see speech from nearby mobs"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Ears", "[usr.client.prefs.chat_toggles & CHAT_GHOSTEARS]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Ears", "[usr.client.prefs.chat_toggles & CHAT_GHOSTEARS ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/toggle_ghost_ears/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_GHOSTEARS
|
|
|
|
|
|
|
|
|
@@ -41,7 +41,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox, toggle_ghost_sight)
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_GHOSTSIGHT
|
|
|
|
|
to_chat(usr, "As a ghost, you will now [(usr.client.prefs.chat_toggles & CHAT_GHOSTSIGHT) ? "see all emotes in the world" : "only see emotes from nearby mobs"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Sight", "[usr.client.prefs.chat_toggles & CHAT_GHOSTSIGHT]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Sight", "[usr.client.prefs.chat_toggles & CHAT_GHOSTSIGHT ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/toggle_ghost_sight/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_GHOSTSIGHT
|
|
|
|
|
|
|
|
|
@@ -52,7 +52,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox, toggle_ghost_whispe
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_GHOSTWHISPER
|
|
|
|
|
to_chat(usr, "As a ghost, you will now [(usr.client.prefs.chat_toggles & CHAT_GHOSTWHISPER) ? "see all whispers in the world" : "only see whispers from nearby mobs"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Whispers", "[usr.client.prefs.chat_toggles & CHAT_GHOSTWHISPER]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Whispers", "[usr.client.prefs.chat_toggles & CHAT_GHOSTWHISPER ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/toggle_ghost_whispers/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_GHOSTWHISPER
|
|
|
|
|
|
|
|
|
@@ -63,7 +63,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox, toggle_ghost_radio)
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_GHOSTRADIO
|
|
|
|
|
to_chat(usr, "As a ghost, you will now [(usr.client.prefs.chat_toggles & CHAT_GHOSTRADIO) ? "see radio chatter" : "not see radio chatter"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Radio", "[usr.client.prefs.chat_toggles & CHAT_GHOSTRADIO]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! //social experiment, increase the generation whenever you copypaste this shamelessly GENERATION 1
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Radio", "[usr.client.prefs.chat_toggles & CHAT_GHOSTRADIO ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! //social experiment, increase the generation whenever you copypaste this shamelessly GENERATION 1
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/toggle_ghost_radio/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_GHOSTRADIO
|
|
|
|
|
|
|
|
|
@@ -74,7 +74,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox, toggle_ghost_pda)()
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_GHOSTPDA
|
|
|
|
|
to_chat(usr, "As a ghost, you will now [(usr.client.prefs.chat_toggles & CHAT_GHOSTPDA) ? "see all pda messages in the world" : "only see pda messages from nearby mobs"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost PDA", "[usr.client.prefs.chat_toggles & CHAT_GHOSTPDA]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost PDA", "[usr.client.prefs.chat_toggles & CHAT_GHOSTPDA ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/toggle_ghost_pda/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_GHOSTPDA
|
|
|
|
|
|
|
|
|
@@ -89,7 +89,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox/Events, toggle_death
|
|
|
|
|
usr.client.prefs.toggles ^= DISABLE_DEATHRATTLE
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(usr.client.prefs.toggles & DISABLE_DEATHRATTLE) ? "no longer" : "now"] get messages when a sentient mob dies.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Deathrattle", "[!(usr.client.prefs.toggles & DISABLE_DEATHRATTLE)]")) //If you are copy-pasting this, maybe you should spend some time reading the comments.
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Deathrattle", "[!(usr.client.prefs.toggles & DISABLE_DEATHRATTLE) ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, maybe you should spend some time reading the comments.
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/Events/toggle_deathrattle/Get_checked(client/C)
|
|
|
|
|
return !(C.prefs.toggles & DISABLE_DEATHRATTLE)
|
|
|
|
|
|
|
|
|
@@ -100,7 +100,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost/chatterbox/Events, toggle_arriv
|
|
|
|
|
usr.client.prefs.toggles ^= DISABLE_ARRIVALRATTLE
|
|
|
|
|
to_chat(usr, "You will [(usr.client.prefs.toggles & DISABLE_ARRIVALRATTLE) ? "no longer" : "now"] get messages when someone joins the station.")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Arrivalrattle", "[!(usr.client.prefs.toggles & DISABLE_ARRIVALRATTLE)]")) //If you are copy-pasting this, maybe you should rethink where your life went so wrong.
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Arrivalrattle", "[!(usr.client.prefs.toggles & DISABLE_ARRIVALRATTLE) ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, maybe you should rethink where your life went so wrong.
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/chatterbox/Events/toggle_arrivalrattle/Get_checked(client/C)
|
|
|
|
|
return !(C.prefs.toggles & DISABLE_ARRIVALRATTLE)
|
|
|
|
|
|
|
|
|
@@ -111,7 +111,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Ghost, togglemidroundantag)()
|
|
|
|
|
usr.client.prefs.toggles ^= MIDROUND_ANTAG
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(usr.client.prefs.toggles & MIDROUND_ANTAG) ? "now" : "no longer"] be considered for midround antagonist positions.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Midround Antag", "[usr.client.prefs.toggles & MIDROUND_ANTAG]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Midround Antag", "[usr.client.prefs.toggles & MIDROUND_ANTAG ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Ghost/togglemidroundantag/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & MIDROUND_ANTAG
|
|
|
|
|
|
|
|
|
@@ -128,7 +128,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggletitlemusic)()
|
|
|
|
|
else
|
|
|
|
|
to_chat(usr, "You will no longer hear music in the game lobby.")
|
|
|
|
|
usr.stop_sound_channel(CHANNEL_LOBBYMUSIC)
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Lobby Music", "[usr.client.prefs.toggles & SOUND_LOBBY]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Lobby Music", "[usr.client.prefs.toggles & SOUND_LOBBY ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/toggletitlemusic/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_LOBBY
|
|
|
|
|
|
|
|
|
@@ -147,7 +147,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, togglemidis)()
|
|
|
|
|
var/client/C = usr.client
|
|
|
|
|
if(C && C.chatOutput && !C.chatOutput.broken && C.chatOutput.loaded)
|
|
|
|
|
C.chatOutput.sendMusic(" ")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Hearing Midis", "[usr.client.prefs.toggles & SOUND_MIDI]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Hearing Midis", "[usr.client.prefs.toggles & SOUND_MIDI ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/togglemidis/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_MIDI
|
|
|
|
|
|
|
|
|
@@ -162,7 +162,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggle_instruments)()
|
|
|
|
|
to_chat(usr, "You will now hear people playing musical instruments.")
|
|
|
|
|
else
|
|
|
|
|
to_chat(usr, "You will no longer hear musical instruments.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Instruments", "[usr.client.prefs.toggles & SOUND_INSTRUMENTS]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Instruments", "[usr.client.prefs.toggles & SOUND_INSTRUMENTS ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/toggle_instruments/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_INSTRUMENTS
|
|
|
|
|
|
|
|
|
@@ -179,7 +179,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, Toggle_Soundscape)()
|
|
|
|
|
to_chat(usr, "You will no longer hear ambient sounds.")
|
|
|
|
|
usr.stop_sound_channel(CHANNEL_AMBIENCE)
|
|
|
|
|
usr.stop_sound_channel(CHANNEL_BUZZ)
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ambience", "[usr.client.prefs.toggles & SOUND_AMBIENCE]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ambience", "[usr.client.prefs.toggles & SOUND_AMBIENCE ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/Toggle_Soundscape/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_AMBIENCE
|
|
|
|
|
|
|
|
|
@@ -196,7 +196,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggle_ship_ambience)()
|
|
|
|
|
to_chat(usr, "You will no longer hear ship ambience.")
|
|
|
|
|
usr.stop_sound_channel(CHANNEL_BUZZ)
|
|
|
|
|
usr.client.ambience_playing = 0
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ship Ambience", "[usr.client.prefs.toggles & SOUND_SHIP_AMBIENCE]")) //If you are copy-pasting this, I bet you read this comment expecting to see the same thing :^)
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ship Ambience", "[usr.client.prefs.toggles & SOUND_SHIP_AMBIENCE ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, I bet you read this comment expecting to see the same thing :^)
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/toggle_ship_ambience/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_SHIP_AMBIENCE
|
|
|
|
|
|
|
|
|
@@ -208,7 +208,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggle_announcement_sound)()
|
|
|
|
|
usr.client.prefs.toggles ^= SOUND_ANNOUNCEMENTS
|
|
|
|
|
to_chat(usr, "You will now [(usr.client.prefs.toggles & SOUND_ANNOUNCEMENTS) ? "hear announcement sounds" : "no longer hear announcements"].")
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Announcement Sound", "[usr.client.prefs.toggles & SOUND_ANNOUNCEMENTS]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Announcement Sound", "[usr.client.prefs.toggles & SOUND_ANNOUNCEMENTS ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/toggle_announcement_sound/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_ANNOUNCEMENTS
|
|
|
|
|
|
|
|
|
@@ -223,7 +223,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings/Sound, toggleprayersounds)()
|
|
|
|
|
to_chat(usr, "You will now hear prayer sounds.")
|
|
|
|
|
else
|
|
|
|
|
to_chat(usr, "You will no longer prayer sounds.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Prayer Sounds", "[usr.client.prefs.toggles & SOUND_PRAYERS]"))
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Prayer Sounds", "[usr.client.prefs.toggles & SOUND_PRAYERS ? "Enabled" : "Disabled"]"))
|
|
|
|
|
/datum/verbs/menu/Settings/Sound/toggleprayersounds/Get_checked(client/C)
|
|
|
|
|
return C.prefs.toggles & SOUND_PRAYERS
|
|
|
|
|
|
|
|
|
@@ -246,7 +246,7 @@ TOGGLE_CHECKBOX(/datum/verbs/menu/Settings, listen_ooc)()
|
|
|
|
|
usr.client.prefs.chat_toggles ^= CHAT_OOC
|
|
|
|
|
usr.client.prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(usr.client.prefs.chat_toggles & CHAT_OOC) ? "now" : "no longer"] see messages on the OOC channel.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Seeing OOC", "[usr.client.prefs.chat_toggles & CHAT_OOC]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Seeing OOC", "[usr.client.prefs.chat_toggles & CHAT_OOC ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
/datum/verbs/menu/Settings/listen_ooc/Get_checked(client/C)
|
|
|
|
|
return C.prefs.chat_toggles & CHAT_OOC
|
|
|
|
|
|
|
|
|
@@ -337,7 +337,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.toggles ^= INTENT_STYLE
|
|
|
|
|
to_chat(src, "[(prefs.toggles & INTENT_STYLE) ? "Clicking directly on intents selects them." : "Clicking on intents rotates selection clockwise."]")
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Intent Selection", "[prefs.toggles & INTENT_STYLE]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Intent Selection", "[prefs.toggles & INTENT_STYLE ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/verb/toggle_ghost_hud_pref()
|
|
|
|
|
set name = "Toggle Ghost HUD"
|
|
|
|
@@ -349,7 +349,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
if(isobserver(mob))
|
|
|
|
|
mob.hud_used.show_hud()
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost HUD", "[prefs.ghost_hud]"))
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost HUD", "[prefs.ghost_hud ? "Enabled" : "Disabled"]"))
|
|
|
|
|
|
|
|
|
|
/client/verb/toggle_inquisition() // warning: unexpected inquisition
|
|
|
|
|
set name = "Toggle Inquisitiveness"
|
|
|
|
@@ -362,7 +362,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
to_chat(src, "<span class='notice'>You will now examine everything you click on.</span>")
|
|
|
|
|
else
|
|
|
|
|
to_chat(src, "<span class='notice'>You will no longer examine things you click on.</span>")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Inquisitiveness", "[prefs.inquisitive_ghost]"))
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "preferences_verb", 1, list("Toggle Ghost Inquisitiveness", "[prefs.inquisitive_ghost ? "Enabled" : "Disabled"]"))
|
|
|
|
|
|
|
|
|
|
//Admin Preferences
|
|
|
|
|
/client/proc/toggleadminhelpsound()
|
|
|
|
@@ -374,7 +374,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.toggles ^= SOUND_ADMINHELP
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(prefs.toggles & SOUND_ADMINHELP) ? "now" : "no longer"] hear a sound when adminhelps arrive.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Adminhelp Sound", "[prefs.toggles & SOUND_ADMINHELP]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Adminhelp Sound", "[prefs.toggles & SOUND_ADMINHELP ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/proc/toggleannouncelogin()
|
|
|
|
|
set name = "Do/Don't Announce Login"
|
|
|
|
@@ -385,7 +385,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.toggles ^= ANNOUNCE_LOGIN
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(prefs.toggles & ANNOUNCE_LOGIN) ? "now" : "no longer"] have an announcement to other admins when you login.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Login Announcement", "[prefs.toggles & ANNOUNCE_LOGIN]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Login Announcement", "[prefs.toggles & ANNOUNCE_LOGIN ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/proc/toggle_hear_radio()
|
|
|
|
|
set name = "Show/Hide Radio Chatter"
|
|
|
|
@@ -396,7 +396,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.chat_toggles ^= CHAT_RADIO
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
to_chat(usr, "You will [(prefs.chat_toggles & CHAT_RADIO) ? "now" : "no longer"] see radio chatter from nearby radios or speakers")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Radio Chatter", "[prefs.chat_toggles & CHAT_RADIO]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Radio Chatter", "[prefs.chat_toggles & CHAT_RADIO ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/proc/deadchat()
|
|
|
|
|
set name = "Show/Hide Deadchat"
|
|
|
|
@@ -405,7 +405,7 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.chat_toggles ^= CHAT_DEAD
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
to_chat(src, "You will [(prefs.chat_toggles & CHAT_DEAD) ? "now" : "no longer"] see deadchat.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Deadchat Visibility", "[prefs.chat_toggles & CHAT_DEAD]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Deadchat Visibility", "[prefs.chat_toggles & CHAT_DEAD ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/proc/toggleprayers()
|
|
|
|
|
set name = "Show/Hide Prayers"
|
|
|
|
@@ -414,4 +414,4 @@ GLOBAL_LIST_INIT(ghost_orbits, list(GHOST_ORBIT_CIRCLE,GHOST_ORBIT_TRIANGLE,GHOS
|
|
|
|
|
prefs.chat_toggles ^= CHAT_PRAYER
|
|
|
|
|
prefs.save_preferences()
|
|
|
|
|
to_chat(src, "You will [(prefs.chat_toggles & CHAT_PRAYER) ? "now" : "no longer"] see prayerchat.")
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Prayer Visibility", "[prefs.chat_toggles & CHAT_PRAYER]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
SSblackbox.record_feedback("nested tally", "admin_toggle", 1, list("Toggle Prayer Visibility", "[prefs.chat_toggles & CHAT_PRAYER ? "Enabled" : "Disabled"]")) //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|