diff --git a/code/__DEFINES/preferences.dm b/code/__DEFINES/preferences.dm index a3127ca1cad..7f9566a6f9e 100644 --- a/code/__DEFINES/preferences.dm +++ b/code/__DEFINES/preferences.dm @@ -14,6 +14,7 @@ #define SOUND_ANNOUNCEMENTS 2048 #define DISABLE_DEATHRATTLE 4096 #define DISABLE_ARRIVALRATTLE 8192 +#define COMBOHUD_LIGHTING 16384 #define TOGGLES_DEFAULT (SOUND_ADMINHELP|SOUND_MIDI|SOUND_AMBIENCE|SOUND_LOBBY|MEMBER_PUBLIC|INTENT_STYLE|MIDROUND_ANTAG|SOUND_INSTRUMENTS|SOUND_SHIP_AMBIENCE|SOUND_PRAYERS|SOUND_ANNOUNCEMENTS) diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index 5c87293b731..778eb25d5af 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -1036,10 +1036,11 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits for(var/datum/atom_hud/antag/H in GLOB.huds) // add antag huds (adding_hud) ? H.add_hud_to(usr) : H.remove_hud_from(usr) - if (adding_hud) - mob.lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE - else - mob.lighting_alpha = initial(mob.lighting_alpha) + if(prefs.toggles & COMBOHUD_LIGHTING) + if(adding_hud) + mob.lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE + else + mob.lighting_alpha = initial(mob.lighting_alpha) mob.update_sight() diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 06e8815c1bd..2fb14328406 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -146,6 +146,9 @@ GLOBAL_LIST_EMPTY(preferences_datums) menuoptions = list() return +#define APPEARANCE_CATEGORY_COLUMN "
"
dat += "General Settings" dat += "UI Style: [UI_style]" - dat += "Keybindings: [(hotkeys) ? "Hotkeys" : "Default"] " - dat += "Action Buttons: [(buttons_locked) ? "Locked In Place" : "Unlocked"] " - dat += "tgui Style: [(tgui_fancy) ? "Fancy" : "No Frills"] " - dat += "PDA Style: [pda_style] " - dat += "PDA Color: Change " dat += "tgui Monitors: [(tgui_lock) ? "Primary" : "All"] " - dat += "Window Flashing: [(windowflashing) ? "Yes" : "No"] " - dat += "Play admin midis: [(toggles & SOUND_MIDI) ? "Yes" : "No"] " - dat += "Play lobby music: [(toggles & SOUND_LOBBY) ? "Yes" : "No"] " - dat += "Ghost ears: [(chat_toggles & CHAT_GHOSTEARS) ? "All Speech" : "Nearest Creatures"] " - dat += "Ghost sight: [(chat_toggles & CHAT_GHOSTSIGHT) ? "All Emotes" : "Nearest Creatures"] " - dat += "Ghost whispers: [(chat_toggles & CHAT_GHOSTWHISPER) ? "All Speech" : "Nearest Creatures"] " - dat += "Ghost radio: [(chat_toggles & CHAT_GHOSTRADIO) ? "Yes" : "No"] " - dat += "Ghost pda: [(chat_toggles & CHAT_GHOSTPDA) ? "All Messages" : "Nearest Creatures"] " - dat += "Pull requests: [(chat_toggles & CHAT_PULLR) ? "Yes" : "No"] " - dat += "Midround Antagonist: [(toggles & MIDROUND_ANTAG) ? "Yes" : "No"] " - if(CONFIG_GET(flag/allow_metadata)) - dat += "OOC Notes: Edit " + dat += "tgui Style: [(tgui_fancy) ? "Fancy" : "No Frills"] " + dat += " " + dat += "Action Buttons: [(buttons_locked) ? "Locked In Place" : "Unlocked"] " + dat += "Keybindings: [(hotkeys) ? "Hotkeys" : "Default"] " + dat += " " + dat += "PDA Color: Change " + dat += "PDA Style: [pda_style] " + dat += " " + dat += "Ghost Ears: [(chat_toggles & CHAT_GHOSTEARS) ? "All Speech" : "Nearest Creatures"] " + dat += "Ghost Radio: [(chat_toggles & CHAT_GHOSTRADIO) ? "All Messages":"No Messages"] " + dat += "Ghost Sight: [(chat_toggles & CHAT_GHOSTSIGHT) ? "All Emotes" : "Nearest Creatures"] " + dat += "Ghost Whispers: [(chat_toggles & CHAT_GHOSTWHISPER) ? "All Speech" : "Nearest Creatures"] " + dat += "Ghost PDA: [(chat_toggles & CHAT_GHOSTPDA) ? "All Messages" : "Nearest Creatures"] " - if(user.client) - if(user.client.holder) - dat += "Adminhelp Sound: [(toggles & SOUND_ADMINHELP)?"On":"Off"] " - dat += "Announce Login: [(toggles & ANNOUNCE_LOGIN)?"On":"Off"] " - - if(unlock_content || check_rights_for(user.client, R_ADMIN)) - dat += "OOC: Change " - - if(unlock_content) - dat += "BYOND Membership Publicity: [(toggles & MEMBER_PUBLIC) ? "Public" : "Hidden"] " - dat += "Ghost Form: [ghost_form] " - dat += "Ghost Orbit: [ghost_orbit] " + if(unlock_content) + dat += "Ghost Form: [ghost_form] " + dat += "Ghost Orbit: [ghost_orbit] " var/button_name = "If you see this something went wrong." switch(ghost_accs) @@ -440,7 +490,23 @@ GLOBAL_LIST_EMPTY(preferences_datums) button_name = GHOST_OTHERS_SIMPLE_NAME dat += "Ghosts of Others: [button_name] " + dat += " " + dat += "FPS: [clientfps] " + + dat += "Parallax (Fancy Space): " + switch (parallax) + if (PARALLAX_LOW) + dat += "Low" + if (PARALLAX_MED) + dat += "Medium" + if (PARALLAX_INSANE) + dat += "Insane" + if (PARALLAX_DISABLE) + dat += "Disabled" + else + dat += "High" + dat += " " if (CONFIG_GET(flag/maprotation)) var/p_map = preferred_map if (!p_map) @@ -459,22 +525,6 @@ GLOBAL_LIST_EMPTY(preferences_datums) if(CONFIG_GET(flag/allow_map_voting)) dat += "Preferred Map: [p_map] " - dat += "FPS: [clientfps] " - - dat += "Parallax (Fancy Space): " - switch (parallax) - if (PARALLAX_LOW) - dat += "Low" - if (PARALLAX_MED) - dat += "Medium" - if (PARALLAX_INSANE) - dat += "Insane" - if (PARALLAX_DISABLE) - dat += "Disabled" - else - dat += "High" - dat += " " - dat += " | "
dat += "Special Role Settings" @@ -497,10 +547,47 @@ GLOBAL_LIST_EMPTY(preferences_datums) if(days_remaining) dat += "Be [capitalize(i)]: \[IN [days_remaining] DAYS]" else - dat += "Be [capitalize(i)]: [(i in be_special) ? "Yes" : "No"] " + dat += "Be [capitalize(i)]: [(i in be_special) ? "Enabled" : "Disabled"] " + dat += " " + dat += "Midround Antagonist: [(toggles & MIDROUND_ANTAG) ? "Enabled" : "Disabled"] " dat += " |
"
+ dat += "OOC Settings" + dat += "Window Flashing: [(windowflashing) ? "Enabled":"Disabled"]" + dat += " " + dat += "Play Admin MIDIs: [(toggles & SOUND_MIDI) ? "Enabled":"Disabled"] " + dat += "Play Lobby Music: [(toggles & SOUND_LOBBY) ? "Enabled":"Disabled"] " + dat += "See Pull Requests: [(chat_toggles & CHAT_PULLR) ? "Enabled":"Disabled"] " + dat += " " + + + if(user.client) + if(unlock_content) + dat += "BYOND Membership Publicity: [(toggles & MEMBER_PUBLIC) ? "Public" : "Hidden"] " + + if(unlock_content || check_rights_for(user.client, R_ADMIN)) + dat += "OOC Color: Change " + + if(CONFIG_GET(flag/allow_metadata)) + dat += "OOC Notes: Edit " + + dat += " | "
+
+ if(user.client.holder)
+ dat +=""
+
+ dat += "Admin Settings" + + dat += "Adminhelp Sounds: [(toggles & SOUND_ADMINHELP)?"Enabled":"Disabled"]" + dat += "Announce Login: [(toggles & ANNOUNCE_LOGIN)?"Enabled":"Disabled"] " + dat += " " + dat += "Combo HUD Lighting: [(toggles & COMBOHUD_LIGHTING)?"Full-bright":"No Change"] " + dat += " | "
+ dat += "