Add option for character name colors in chat & move coloration to clientside (#24625)
* Adds option to disable character names in chat/speechbubbles * Moved the coloring of names to clientside * Move string functions to SharedChatSystem to avoid duplicate code in SpeechBubble.cs * Changed to be put under Accessibility section * Cache CVar
This commit is contained in:
@@ -1564,6 +1564,9 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<bool> ReducedMotion =
|
||||
CVarDef.Create("accessibility.reduced_motion", false, CVar.CLIENTONLY | CVar.ARCHIVE);
|
||||
|
||||
public static readonly CVarDef<bool> ChatEnableColorName =
|
||||
CVarDef.Create("accessibility.enable_color_name", true, CVar.CLIENTONLY | CVar.ARCHIVE, "Toggles displaying names with individual colors.");
|
||||
|
||||
/// <summary>
|
||||
/// Screen shake intensity slider, controlling the intensity of the CameraRecoilSystem.
|
||||
/// Goes from 0 (no recoil at all) to 1 (regular amounts of recoil)
|
||||
|
||||
Reference in New Issue
Block a user