]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add option for character name colors in chat & move coloration to clientside (#24625)
authorSlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com>
Sun, 11 Feb 2024 06:38:55 +0000 (07:38 +0100)
committerGitHub <noreply@github.com>
Sun, 11 Feb 2024 06:38:55 +0000 (22:38 -0800)
commit247be5b5c770261544f4e468ea09422efb0f7028
treeba2571ecc5ee88d74739a2f9bbbf0177bdf31419
parentfabcc2b0d121094e43a2df3480e082cf7559c1e1
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
Content.Client/Chat/UI/SpeechBubble.cs
Content.Client/Options/UI/Tabs/MiscTab.xaml
Content.Client/Options/UI/Tabs/MiscTab.xaml.cs
Content.Client/UserInterface/Systems/Chat/ChatUIController.cs
Content.Server/Chat/Systems/ChatSystem.cs
Content.Shared/CCVar/CCVars.cs
Content.Shared/Chat/SharedChatSystem.cs
Resources/Locale/en-US/chat/managers/chat-manager.ftl
Resources/Locale/en-US/escape-menu/ui/options-menu.ftl