diff --git a/Content.Server/Chat/Systems/ChatSystem.cs b/Content.Server/Chat/Systems/ChatSystem.cs index 650a8b2947..649607772a 100644 --- a/Content.Server/Chat/Systems/ChatSystem.cs +++ b/Content.Server/Chat/Systems/ChatSystem.cs @@ -71,7 +71,7 @@ public sealed partial class ChatSystem : SharedChatSystem private readonly bool _adminLoocEnabled = true; [ValidatePrototypeId] - private const string _chatNamePalette = "Material"; + private const string ChatNamePalette = "ChatNames"; private string[] _chatNameColors = default!; public override void Initialize() @@ -84,7 +84,7 @@ public sealed partial class ChatSystem : SharedChatSystem SubscribeLocalEvent(OnGameChange); - var nameColors = _prototypeManager.Index(_chatNamePalette).Colors.Values.ToArray(); + var nameColors = _prototypeManager.Index(ChatNamePalette).Colors.Values.ToArray(); _chatNameColors = new string[nameColors.Length]; for (var i = 0; i < nameColors.Length; i++) { diff --git a/Resources/Prototypes/Palettes/text.yml b/Resources/Prototypes/Palettes/text.yml index de0a9fb60d..48d2074153 100644 --- a/Resources/Prototypes/Palettes/text.yml +++ b/Resources/Prototypes/Palettes/text.yml @@ -32,4 +32,21 @@ amber-lighten-2: "#755900" amber-darken-2: "#cc8000" amber-accent-2: "#7c6200" - amber-accent-4: "#996700" \ No newline at end of file + amber-accent-4: "#996700" + +- type: palette + id: ChatNames + name: Chat Names + colors: + ploink: "#da8bc9" + ourple: "#b18bda" + us-navy: "#96a4eb" + yet-another-blue: "#8cb7e8" + cyan: "#8bc9da" + fake-color: "#8bdaba" + green: "#8bda8e" + you-wish-you-were-green: "#a9da8b" + piss: "#ceda8b" + orange: "#dabc8b" + the-orange-she-tells-you-not-to-worry-about: "#daa58b" + red: "#da8b8b"