mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-26 01:03:06 +00:00
Fixes #19603 Fixes #20558 - bugfix: "Fixes plant bags - now uses storage_slot system, along with other bag subtypes." - bugfix: "Borgs can interact with tables again." - refactor: "Refactors make_exact_fit to be a binary variable." - refactor: "Refactors storage items to use make_exact_fit instead of arbitrary max_storage_space values." - refactor: "Refactors storage items to use defines for storage space." - bugfix: "Fixes monkey cube boxes having superfluous overlay." - rscadd: "Updates the progress bar toggle message." - qol: "Objects that rotated 90 degrees in storage no longer rotate in storage slots." <img width="732" alt="dreamseeker_qRVkIlYN78" src="https://github.com/user-attachments/assets/1226ed22-52c1-4965-a1b4-2290e56a2ab3" />
182 lines
8.2 KiB
Plaintext
182 lines
8.2 KiB
Plaintext
//toggles
|
|
|
|
/client/verb/toggle_ghost_ears()
|
|
set name = "Show/Hide GhostEars"
|
|
set category = "Preferences.Ghost"
|
|
set desc = ".Toggle Between seeing all mob speech, and only speech of nearby mobs"
|
|
prefs.toggles ^= CHAT_GHOSTEARS
|
|
to_chat(src, "As a ghost, you will now [(prefs.toggles & CHAT_GHOSTEARS) ? "see all speech in the world" : "only see speech from nearby mobs"].")
|
|
prefs.save_preferences()
|
|
feedback_add_details("admin_verb","TGE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ghost_sight()
|
|
set name = "Show/Hide GhostSight"
|
|
set category = "Preferences.Ghost"
|
|
set desc = ".Toggle Between seeing all mob emotes, and only emotes of nearby mobs"
|
|
prefs.toggles ^= CHAT_GHOSTSIGHT
|
|
to_chat(src, "As a ghost, you will now [(prefs.toggles & CHAT_GHOSTSIGHT) ? "see all emotes in the world" : "only see emotes from nearby mobs"].")
|
|
prefs.save_preferences()
|
|
feedback_add_details("admin_verb","TGS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_ghost_radio()
|
|
set name = "Enable/Disable GhostRadio"
|
|
set category = "Preferences.Ghost"
|
|
set desc = ".Toggle between hearing all radio chatter, or only from nearby speakers"
|
|
prefs.toggles ^= CHAT_GHOSTRADIO
|
|
to_chat(src, "As a ghost, you will now [(prefs.toggles & CHAT_GHOSTRADIO) ? "hear all radio chat in the world" : "only hear from nearby speakers"].")
|
|
prefs.save_preferences()
|
|
feedback_add_details("admin_verb","TGR")
|
|
|
|
/client/proc/toggle_hear_radio()
|
|
set name = "Show/Hide RadioChatter"
|
|
set category = "Preferences.Ghost"
|
|
set desc = "Toggle seeing radiochatter from radios and speakers"
|
|
if(!holder) return
|
|
prefs.toggles ^= CHAT_RADIO
|
|
prefs.save_preferences()
|
|
to_chat(usr, "You will [(prefs.toggles & CHAT_RADIO) ? "now" : "no longer"] see radio chatter from radios or speakers")
|
|
feedback_add_details("admin_verb","THR") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/proc/toggleadminhelpsound()
|
|
set name = "Hear/Silence Adminhelps"
|
|
set category = "Preferences.Admin"
|
|
set desc = "Toggle hearing a notification when admin PMs are received"
|
|
if(!holder) return
|
|
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.")
|
|
feedback_add_details("admin_verb","AHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/deadchat() // Deadchat toggle is usable by anyone.
|
|
set name = "Show/Hide Deadchat"
|
|
set category = "Preferences.Admin"
|
|
set desc ="Toggles seeing deadchat"
|
|
prefs.toggles ^= CHAT_DEAD
|
|
prefs.save_preferences()
|
|
|
|
if(src.holder)
|
|
to_chat(src, "You will [(prefs.toggles & CHAT_DEAD) ? "now" : "no longer"] see deadchat.")
|
|
else
|
|
to_chat(src, "As a ghost, you will [(prefs.toggles & CHAT_DEAD) ? "now" : "no longer"] see deadchat.")
|
|
|
|
feedback_add_details("admin_verb","TDV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/proc/toggleprayers()
|
|
set name = "Show/Hide Prayers"
|
|
set category = "Preferences.Admin"
|
|
set desc = "Toggles seeing prayers"
|
|
prefs.toggles ^= CHAT_PRAYER
|
|
prefs.save_preferences()
|
|
to_chat(src, "You will [(prefs.toggles & CHAT_PRAYER) ? "now" : "no longer"] see prayerchat.")
|
|
feedback_add_details("admin_verb","TP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggletitlemusic()
|
|
set name = "Hear/Silence LobbyMusic"
|
|
set category = "Preferences.Sound"
|
|
set desc = "Toggles hearing the GameLobby music"
|
|
prefs.toggles ^= SOUND_LOBBY
|
|
prefs.save_preferences()
|
|
if(prefs.toggles & SOUND_LOBBY)
|
|
to_chat(src, "You will now hear music in the game lobby.")
|
|
if(istype(mob, /mob/abstract/new_player))
|
|
playtitlemusic()
|
|
else
|
|
to_chat(src, "You will no longer hear music in the game lobby.")
|
|
if(istype(mob, /mob/abstract/new_player))
|
|
src << sound(null, repeat = 0, wait = 0, volume = 85, channel = CHANNEL_LOBBYMUSIC) // stop the jamsz)
|
|
feedback_add_details("admin_verb","TLobby") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/togglemidis()
|
|
set name = "Hear/Silence Midis"
|
|
set category = "Preferences.Sound"
|
|
set desc = "Toggles hearing sounds uploaded by admins"
|
|
prefs.toggles ^= SOUND_MIDI
|
|
prefs.save_preferences()
|
|
if(prefs.toggles & SOUND_MIDI)
|
|
to_chat(src, "You will now hear any sounds uploaded by admins.")
|
|
var/sound/break_sound = sound(null, repeat = 0, wait = 0, channel = 777)
|
|
break_sound.priority = 250
|
|
src << break_sound //breaks the client's sound output on channel 777)
|
|
else
|
|
to_chat(src, "You will no longer hear sounds uploaded by admins; any currently playing midis have been disabled.")
|
|
feedback_add_details("admin_verb","TMidi") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/listen_ooc()
|
|
set name = "Show/Hide OOC"
|
|
set category = "Preferences.Chat"
|
|
set desc = "Toggles seeing OutOfCharacter chat"
|
|
prefs.toggles ^= CHAT_OOC
|
|
prefs.save_preferences()
|
|
to_chat(src, "You will [(prefs.toggles & CHAT_OOC) ? "now" : "no longer"] see messages on the OOC channel.")
|
|
feedback_add_details("admin_verb","TOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/listen_looc()
|
|
set name = "Show/Hide LOOC (All)"
|
|
set category = "Preferences.Chat"
|
|
set desc = "Toggles seeing Local OutOfCharacter chat"
|
|
prefs.toggles ^= CHAT_LOOC
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src, "You will [(prefs.toggles & CHAT_LOOC) ? "now" : "no longer"] see messages on the LOOC channel.")
|
|
feedback_add_details("admin_verb","TLOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/listen_ghostlooc()
|
|
set name = "Show/Hide LOOC (Observers)"
|
|
set category = "Preferences.Chat"
|
|
set desc = "Toggles seeing Local OutOfCharacter chat from observing players"
|
|
if(!(prefs.toggles & CHAT_LOOC)) //Don't need to disable ghost LOOC if you've disabled all LOOC
|
|
to_chat(src, SPAN_NOTICE("You already have the LOOC channel hidden!"))
|
|
return
|
|
prefs.toggles ^= CHAT_GHOSTLOOC
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src, "You will [(prefs.toggles & CHAT_GHOSTLOOC) ? "now" : "no longer"] see messages on the LOOC channel from observing/ghosted players.")
|
|
feedback_add_details("admin_verb","TGLOOC") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
/client/verb/toggle_chattags()
|
|
set name = "Show/Hide Chat Tags"
|
|
set category = "Preferences.Chat"
|
|
set desc = "Toggles seeing chat tags/icons"
|
|
prefs.toggles ^= CHAT_NOICONS
|
|
prefs.save_preferences()
|
|
|
|
to_chat(src, "You will [!(prefs.toggles & CHAT_NOICONS) ? "now" : "no longer"] see chat tag icons.")
|
|
feedback_add_details("admin_verb","TCTAG") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
/client/verb/toggle_progress()
|
|
set name = "Show/Hide Progress Bars"
|
|
set category = "Preferences.Game"
|
|
set desc = "Toggles progress bars on slow actions."
|
|
|
|
prefs.toggles_secondary ^= PROGRESS_BARS
|
|
prefs.save_preferences()
|
|
to_chat(src, SPAN_NOTICE("Progress bars are now [prefs.toggles_secondary & PROGRESS_BARS ? "enabled" : "disabled"]."))
|
|
|
|
/client/verb/toggle_floating_messages()
|
|
set name = "Toggle Floating Messages"
|
|
set desc = "Toggles messages appearing above mobs when they speak."
|
|
set category = "Preferences.Game"
|
|
|
|
prefs.toggles_secondary ^= FLOATING_MESSAGES
|
|
prefs.save_preferences()
|
|
to_chat(src, SPAN_NOTICE("Floating messages are now [prefs.toggles_secondary & FLOATING_MESSAGES ? "enabled" : "disabled"]."))
|
|
|
|
/client/verb/toggle_item_outlines()
|
|
set name = "Toggle Item Outlines"
|
|
set desc = "Toggles outlines appearing on items in your inventory."
|
|
set category = "Preferences.Game"
|
|
|
|
prefs.toggles_secondary ^= SEE_ITEM_OUTLINES
|
|
prefs.save_preferences()
|
|
to_chat(src, SPAN_NOTICE("Item outlines are now [prefs.toggles_secondary & SEE_ITEM_OUTLINES ? "enabled" : "disabled"]."))
|
|
|
|
/client/verb/toggle_item_tooltips()
|
|
set name = "Toggle Item Tooltips"
|
|
set desc = "Toggles tooltips appearing on items in your inventory."
|
|
set category = "Preferences.Game"
|
|
|
|
prefs.toggles_secondary ^= HIDE_ITEM_TOOLTIPS
|
|
prefs.save_preferences()
|
|
to_chat(src, SPAN_NOTICE("Item tooltips are now [prefs.toggles_secondary & HIDE_ITEM_TOOLTIPS ? "disabled" : "enabled"]."))
|