mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Some rework on the skin.dmf (#20494)
Removed the use of deprecated parameter icon-size. Uniformed all clients to use fit to screen. Fit to viewport is automatically attempted at login. Statusbar is now hidden by default, giving more screen space. Toggle fullscreen now works as expected, for even more screen space. --------- Co-authored-by: Matt Atlas <mattiathebest2000@hotmail.it> Co-authored-by: realmattatlas <liermattia@gmail.com>
This commit is contained in:
co-authored by
Matt Atlas
realmattatlas
parent
a446aed2f4
commit
0f145d473e
@@ -76,9 +76,15 @@
|
||||
var/last_asset_job = 0
|
||||
var/last_completed_asset_job = 0
|
||||
|
||||
///Hide top bars
|
||||
var/fullscreen = FALSE
|
||||
|
||||
/// our current tab
|
||||
var/stat_tab
|
||||
|
||||
/// If this client has been fully initialized or not
|
||||
var/fully_created = FALSE
|
||||
|
||||
/// list of all tabs
|
||||
var/list/panel_tabs = list()
|
||||
/// list of tabs containing spells and abilities
|
||||
|
||||
@@ -419,6 +419,7 @@ GLOBAL_LIST_INIT(localhost_addresses, list(
|
||||
to_chat(src, SPAN_WARNING("Unable to access asset cache browser, if you are using a custom skin file, please allow DS to download the updated version, if you are not, then make a bug report. This is not a critical issue but can cause issues with resource downloading, as it is impossible to know when extra resources arrived to you."))
|
||||
|
||||
Master.UpdateTickRate()
|
||||
fully_created = TRUE
|
||||
|
||||
/client/proc/InitPrefs()
|
||||
SHOULD_NOT_SLEEP(TRUE)
|
||||
@@ -437,7 +438,10 @@ GLOBAL_LIST_INIT(localhost_addresses, list(
|
||||
fps = prefs.clientfps
|
||||
|
||||
if(prefs.toggles_secondary & FULLSCREEN_MODE)
|
||||
toggle_fullscreen(TRUE)
|
||||
addtimer(CALLBACK(src, VERB_REF(toggle_fullscreen), 1 SECONDS))
|
||||
|
||||
if(prefs.toggles_secondary & CLIENT_PREFERENCE_HIDE_MENU)
|
||||
addtimer(CALLBACK(src, VERB_REF(toggle_menu), 1 SECONDS))
|
||||
|
||||
/client/proc/InitClient()
|
||||
SHOULD_NOT_SLEEP(TRUE)
|
||||
@@ -654,22 +658,33 @@ GLOBAL_LIST_INIT(localhost_addresses, list(
|
||||
|
||||
/client/verb/character_setup()
|
||||
set name = "Character Setup"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Character"
|
||||
if(prefs)
|
||||
prefs.ShowChoices(usr)
|
||||
|
||||
/client/verb/toggle_fullscreen_preference()
|
||||
set name = "Toggle Fullscreen Preference"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Menu"
|
||||
set desc = "Toggles whether the game window will be true fullscreen or normal."
|
||||
|
||||
prefs.toggles_secondary ^= FULLSCREEN_MODE
|
||||
prefs.save_preferences()
|
||||
toggle_fullscreen(prefs.toggles_secondary & FULLSCREEN_MODE)
|
||||
if(prefs.toggles_secondary & FULLSCREEN_MODE)
|
||||
toggle_fullscreen()
|
||||
|
||||
/client/verb/toggle_hide_menu_preference()
|
||||
set name = "Toggle Hide Menu Preference"
|
||||
set category = "Preferences.Menu"
|
||||
set desc = "Toggles whether the game window will have the top menu bar hidden or not."
|
||||
|
||||
prefs.toggles_secondary ^= CLIENT_PREFERENCE_HIDE_MENU
|
||||
prefs.save_preferences()
|
||||
if(prefs.toggles_secondary & CLIENT_PREFERENCE_HIDE_MENU)
|
||||
toggle_menu()
|
||||
|
||||
/client/verb/toggle_accent_tag_text()
|
||||
set name = "Toggle Accent Tag Text"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
set desc = "Toggles whether accents will be shown as text or images.."
|
||||
|
||||
to_chat(usr, SPAN_NOTICE("You toggle the accent tag text [(prefs?.toggles_secondary & ACCENT_TAG_TEXT) ? "off" : "on"]."))
|
||||
@@ -677,14 +692,23 @@ GLOBAL_LIST_INIT(localhost_addresses, list(
|
||||
prefs.toggles_secondary ^= ACCENT_TAG_TEXT
|
||||
prefs.save_preferences()
|
||||
|
||||
/client/proc/toggle_fullscreen(new_value)
|
||||
if(new_value)
|
||||
winset(src, "mainwindow", "is-maximized=false;can-resize=false;titlebar=false;menu=menu")
|
||||
winset(src, "mainwindow.mainvsplit", "pos=0x0")
|
||||
else
|
||||
winset(src, "mainwindow", "is-maximized=false;can-resize=true;titlebar=true;menu=menu")
|
||||
winset(src, "mainwindow.mainvsplit", "pos=3x0")
|
||||
winset(src, "mainwindow", "is-maximized=true")
|
||||
/client/verb/toggle_fullscreen()
|
||||
set name = "Toggle Fullscreen"
|
||||
set category = "Preferences.Menu"
|
||||
|
||||
fullscreen = !fullscreen
|
||||
|
||||
winset(src, "mainwindow", "menu=[fullscreen ? "" : "menu"];is-fullscreen=[fullscreen ? "true" : "false"];titlebar=[fullscreen ? "false" : "true"]")
|
||||
attempt_auto_fit_viewport()
|
||||
|
||||
/client/verb/toggle_menu()
|
||||
set name = "Toggle Menu"
|
||||
set category = "Preferences.Menu"
|
||||
|
||||
var/has_menu = winget(src, "mainwindow", "menu")
|
||||
|
||||
winset(src, "mainwindow", "menu=[has_menu ? "" : "menu"]")
|
||||
attempt_auto_fit_viewport()
|
||||
|
||||
/client/proc/apply_fps(var/client_fps)
|
||||
if(world.byond_version >= 511 && byond_version >= 511 && client_fps >= 0 && client_fps <= 1000)
|
||||
|
||||
@@ -1,132 +0,0 @@
|
||||
//Darkmode preference by Kmc2000//
|
||||
|
||||
/*
|
||||
This lets you switch chat themes by using winset and CSS loading, you must relog to see this change (or rebuild your browseroutput datum)
|
||||
Things to note:
|
||||
If you change ANYTHING in interface/skin.dmf you need to change it here:
|
||||
Format:
|
||||
winset(src, "window as appears in skin.dmf after elem", "var to change = currentvalue;var to change = desired value")
|
||||
How this works:
|
||||
I've added a function to browseroutput.js which registers a cookie for darkmode and swaps the chat accordingly. You can find the button to do this under the "cog" icon next to the ping button (top right of chat)
|
||||
This then swaps the window theme automatically
|
||||
Thanks to spacemaniac and mcdonald for help with the JS side of this.
|
||||
*/
|
||||
|
||||
/client/proc/force_white_theme() //There's no way round it. We're essentially changing the skin by hand. It's painful but it works, and is the way Lummox suggested.
|
||||
//Main windows
|
||||
winset(src, "mainwindow", "background-color = [COLOR_DARKMODE_DARKBACKGROUND];background-color = none")
|
||||
winset(src, "mainwindow", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "rpane", "background-color = [COLOR_DARKMODE_DARKBACKGROUND];background-color = none")
|
||||
winset(src, "rpane", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "info", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "info", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "browseroutput", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "browseroutput", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "outputwindow", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "outputwindow", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "rpanewindow", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "rpanewindow", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "mainwindow", "background-color = [COLOR_DARKMODE_DARKBACKGROUND];background-color = none")
|
||||
winset(src, "mainvsplit", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "mainvsplit", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
//Buttons
|
||||
winset(src, "textb", "background-color = #494949;background-color = none")
|
||||
winset(src, "textb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "infob", "background-color = #494949;background-color = none")
|
||||
winset(src, "infob", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "rulesb", "background-color = #494949;background-color = none")
|
||||
winset(src, "rulesb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "Lore", "background-color = #494949;background-color = none")
|
||||
winset(src, "Lore", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "wikib", "background-color = #494949;background-color = none")
|
||||
winset(src, "wikib", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "forumb", "background-color = #494949;background-color = none")
|
||||
winset(src, "forumb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "changelog", "background-color = #494949;background-color = none")
|
||||
winset(src, "changelog", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "interfaceb", "background-color = #494949;background-color = none")
|
||||
winset(src, "interfaceb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "discordb", "background-color = #494949;background-color = none")
|
||||
winset(src, "discordb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "reportbugb", "background-color = #494949;background-color = none")
|
||||
winset(src, "reportbugb", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "hotkey_toggle", "background-color = #494949;background-color = none")
|
||||
winset(src, "hotkey_toggle", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
//Status and verb tabs
|
||||
winset(src, "output", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "output", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "outputwindow", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "outputwindow", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "statwindow", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "statwindow", "text-color = #eaeaea;text-color = #000000")
|
||||
winset(src, "info", "background-color = [COLOR_DARKMODE_DARKBACKGROUND];background-color = #FFFFFF")
|
||||
winset(src, "info", "tab-background-color = [COLOR_DARKMODE_BACKGROUND];tab-background-color = none")
|
||||
winset(src, "info", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "info", "tab-text-color = [COLOR_DARKMODE_TEXT];tab-text-color = #000000")
|
||||
winset(src, "info", "prefix-color = [COLOR_DARKMODE_TEXT];prefix-color = #000000")
|
||||
winset(src, "info", "suffix-color = [COLOR_DARKMODE_TEXT];suffix-color = #000000")
|
||||
//Say, OOC, me Buttons etc.
|
||||
winset(src, "saybutton", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "saybutton", "text-color = [COLOR_DARKMODE_TEXT];text-color = #000000")
|
||||
winset(src, "asset_cache_browser", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
winset(src, "asset_cache_browser", "background-color = [COLOR_DARKMODE_BACKGROUND];background-color = none")
|
||||
|
||||
/client/proc/force_dark_theme() //Inversely, if theyre using white theme and want to swap to the superior dark theme, let's get WINSET() ing
|
||||
//Main windows
|
||||
winset(src, "mainwindow", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "mainwindow", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "rpane", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "rpane", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "info", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "info", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "browseroutput", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "browseroutput", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "outputwindow", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "outputwindow", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "rpanewindow", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "rpanewindow", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "mainwindow", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "mainvsplit", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "mainvsplit", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
//Buttons
|
||||
winset(src, "textb", "background-color = none;background-color = #494949")
|
||||
winset(src, "textb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "infob", "background-color = none;background-color = #494949")
|
||||
winset(src, "infob", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "rulesb", "background-color = none;background-color = #494949")
|
||||
winset(src, "rulesb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "Lore", "background-color = none;background-color = #494949")
|
||||
winset(src, "Lore", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "wikib", "background-color = none;background-color = #494949")
|
||||
winset(src, "wikib", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "forumb", "background-color = none;background-color = #494949")
|
||||
winset(src, "forumb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "changelog", "background-color = none;background-color = #494949")
|
||||
winset(src, "changelog", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "interfaceb", "background-color = none;background-color = #494949")
|
||||
winset(src, "interfaceb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "discordb", "background-color = none;background-color = #494949")
|
||||
winset(src, "discordb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "reportbugb", "background-color = none;background-color = #494949")
|
||||
winset(src, "reportbugb", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "hotkey_toggle", "background-color = none;background-color = #494949")
|
||||
winset(src, "hotkey_toggle", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
//Status and verb tabs
|
||||
winset(src, "output", "background-color = none;background-color = [COLOR_DARKMODE_DARKBACKGROUND]")
|
||||
winset(src, "output", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "outputwindow", "background-color = none;background-color = [COLOR_DARKMODE_DARKBACKGROUND]")
|
||||
winset(src, "outputwindow", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "statwindow", "background-color = none;background-color = [COLOR_DARKMODE_DARKBACKGROUND]")
|
||||
winset(src, "statwindow", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "info", "background-color = #FFFFFF;background-color = [COLOR_DARKMODE_DARKBACKGROUND]")
|
||||
winset(src, "info", "tab-background-color = none;tab-background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "info", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "info", "tab-text-color = #000000;tab-text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "info", "prefix-color = #000000;prefix-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "info", "suffix-color = #000000;suffix-color = [COLOR_DARKMODE_TEXT]")
|
||||
//Say, OOC, me Buttons etc.
|
||||
winset(src, "saybutton", "background-color = none;background-color = #494949")
|
||||
winset(src, "saybutton", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
winset(src, "asset_cache_browser", "background-color = none;background-color = [COLOR_DARKMODE_BACKGROUND]")
|
||||
winset(src, "asset_cache_browser", "text-color = #000000;text-color = [COLOR_DARKMODE_TEXT]")
|
||||
|
||||
@@ -21,7 +21,7 @@ GLOBAL_LIST_INIT(sfx_toggles, list(
|
||||
// ASFX Tab Toggle
|
||||
/client/verb/toggle_asfx_tab()
|
||||
set name = "Toggle SFX Preferences Tab"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggle the SFX preferences tab"
|
||||
|
||||
if(!has_sfx_verbs)
|
||||
@@ -34,7 +34,7 @@ GLOBAL_LIST_INIT(sfx_toggles, list(
|
||||
// Ambience Toggle
|
||||
/client/verb/toggle_asfx()
|
||||
set name = "Toggle Ambience SFX"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing ambient sound effects"
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_AMBIENCE
|
||||
@@ -48,7 +48,7 @@ GLOBAL_LIST_INIT(sfx_toggles, list(
|
||||
// Ambient Hum Toggle
|
||||
/client/verb/toggle_asfx_hum()
|
||||
set name = "Toggle Ambient Hum SFX"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing the ambient hum sound effect"
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_HUM
|
||||
@@ -62,7 +62,7 @@ GLOBAL_LIST_INIT(sfx_toggles, list(
|
||||
|
||||
/client/verb/toggle_sfx_music()
|
||||
set name = "Toggle Music SFX"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing music"
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_MUSIC
|
||||
@@ -72,7 +72,7 @@ GLOBAL_LIST_INIT(sfx_toggles, list(
|
||||
|
||||
/client/verb/toggle_asfx_console()
|
||||
set name = "Toggle Console Ambience SFX"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing ambient sound effects from consoles"
|
||||
|
||||
prefs.sfx_toggles ^= ASFX_CONSOLE_AMBIENCE
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
new_notification("danger", custom_event_warn)
|
||||
|
||||
if (lastchangelog != GLOB.changelog_hash)
|
||||
winset(user, "rpane.changelog", "background-color=#eaeaea;font-style=bold")
|
||||
winset(user, "infowindow.changelog", "background-color=#eaeaea;font-style=bold")
|
||||
if (GLOB.config.aggressive_changelog)
|
||||
new_notification("info", "You have unread updates in the changelog.", callback_src = user, callback_proc = "changes")
|
||||
else
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/client/verb/toggle_ghost_ears()
|
||||
set name = "Show/Hide GhostEars"
|
||||
set category = "Preferences"
|
||||
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"].")
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
/client/verb/toggle_ghost_sight()
|
||||
set name = "Show/Hide GhostSight"
|
||||
set category = "Preferences"
|
||||
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"].")
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/client/verb/toggle_ghost_radio()
|
||||
set name = "Enable/Disable GhostRadio"
|
||||
set category = "Preferences"
|
||||
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"].")
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
/client/proc/toggle_hear_radio()
|
||||
set name = "Show/Hide RadioChatter"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Ghost"
|
||||
set desc = "Toggle seeing radiochatter from radios and speakers"
|
||||
if(!holder) return
|
||||
prefs.toggles ^= CHAT_RADIO
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
/client/proc/toggleadminhelpsound()
|
||||
set name = "Hear/Silence Adminhelps"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Admin"
|
||||
set desc = "Toggle hearing a notification when admin PMs are received"
|
||||
if(!holder) return
|
||||
prefs.toggles ^= SOUND_ADMINHELP
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
/client/verb/deadchat() // Deadchat toggle is usable by anyone.
|
||||
set name = "Show/Hide Deadchat"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Admin"
|
||||
set desc ="Toggles seeing deadchat"
|
||||
prefs.toggles ^= CHAT_DEAD
|
||||
prefs.save_preferences()
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
/client/proc/toggleprayers()
|
||||
set name = "Show/Hide Prayers"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Admin"
|
||||
set desc = "Toggles seeing prayers"
|
||||
prefs.toggles ^= CHAT_PRAYER
|
||||
prefs.save_preferences()
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
/client/verb/toggletitlemusic()
|
||||
set name = "Hear/Silence LobbyMusic"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing the GameLobby music"
|
||||
prefs.toggles ^= SOUND_LOBBY
|
||||
prefs.save_preferences()
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
/client/verb/togglemidis()
|
||||
set name = "Hear/Silence Midis"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Sound"
|
||||
set desc = "Toggles hearing sounds uploaded by admins"
|
||||
prefs.toggles ^= SOUND_MIDI
|
||||
prefs.save_preferences()
|
||||
@@ -103,7 +103,7 @@
|
||||
|
||||
/client/verb/listen_ooc()
|
||||
set name = "Show/Hide OOC"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Chat"
|
||||
set desc = "Toggles seeing OutOfCharacter chat"
|
||||
prefs.toggles ^= CHAT_OOC
|
||||
prefs.save_preferences()
|
||||
@@ -112,7 +112,7 @@
|
||||
|
||||
/client/verb/listen_looc()
|
||||
set name = "Show/Hide LOOC (All)"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Chat"
|
||||
set desc = "Toggles seeing Local OutOfCharacter chat"
|
||||
prefs.toggles ^= CHAT_LOOC
|
||||
prefs.save_preferences()
|
||||
@@ -122,7 +122,7 @@
|
||||
|
||||
/client/verb/listen_ghostlooc()
|
||||
set name = "Show/Hide LOOC (Observers)"
|
||||
set category = "Preferences"
|
||||
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!"))
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
/client/verb/toggle_chattags()
|
||||
set name = "Show/Hide Chat Tags"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Chat"
|
||||
set desc = "Toggles seeing chat tags/icons"
|
||||
prefs.toggles ^= CHAT_NOICONS
|
||||
prefs.save_preferences()
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
/client/verb/toggle_progress()
|
||||
set name = "Show/Hide Progress Bars"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
set desc = "Toggles progress bars on slow actions."
|
||||
|
||||
prefs.toggles_secondary ^= PROGRESS_BARS
|
||||
@@ -159,7 +159,7 @@
|
||||
/client/verb/toggle_floating_messages()
|
||||
set name = "Toggle Floating Messages"
|
||||
set desc = "Toggles messages appearing above mobs when they speak."
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
|
||||
prefs.toggles_secondary ^= FLOATING_MESSAGES
|
||||
prefs.save_preferences()
|
||||
@@ -168,7 +168,7 @@
|
||||
/client/verb/toggle_item_outlines()
|
||||
set name = "Toggle Item Outlines"
|
||||
set desc = "Toggles outlines appearing on items in your inventory."
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
|
||||
prefs.toggles_secondary ^= SEE_ITEM_OUTLINES
|
||||
prefs.save_preferences()
|
||||
@@ -177,7 +177,7 @@
|
||||
/client/verb/toggle_item_tooltips()
|
||||
set name = "Toggle Item Tooltips"
|
||||
set desc = "Toggles tooltips appearing on items in your inventory."
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
|
||||
prefs.toggles_secondary ^= HIDE_ITEM_TOOLTIPS
|
||||
prefs.save_preferences()
|
||||
|
||||
@@ -22,7 +22,7 @@ GLOBAL_LIST_INIT(all_tooltip_styles, list(
|
||||
|
||||
/client/verb/change_ui()
|
||||
set name = "Change UI"
|
||||
set category = "Preferences"
|
||||
set category = "Preferences.Game"
|
||||
set desc = "Configure your user interface"
|
||||
|
||||
if(!ishuman(usr))
|
||||
|
||||
Reference in New Issue
Block a user