mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Add alternative emotes channel (#15965)
This commit is contained in:
parent
56a363a5df
commit
33f823e6be
2 changed files with 14 additions and 2 deletions
|
|
@ -65,13 +65,24 @@ public sealed class ChatUIController : UIController
|
|||
{SharedChatSystem.LOOCPrefix, ChatSelectChannel.LOOC},
|
||||
{SharedChatSystem.OOCPrefix, ChatSelectChannel.OOC},
|
||||
{SharedChatSystem.EmotesPrefix, ChatSelectChannel.Emotes},
|
||||
{SharedChatSystem.EmotesAltPrefix, ChatSelectChannel.Emotes},
|
||||
{SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin},
|
||||
{SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio},
|
||||
{SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead}
|
||||
};
|
||||
|
||||
public static readonly Dictionary<ChatSelectChannel, char> ChannelPrefixes =
|
||||
PrefixToChannel.ToDictionary(kv => kv.Value, kv => kv.Key);
|
||||
public static readonly Dictionary<ChatSelectChannel, char> ChannelPrefixes = new()
|
||||
{
|
||||
{ChatSelectChannel.Local, SharedChatSystem.LocalPrefix},
|
||||
{ChatSelectChannel.Whisper, SharedChatSystem.WhisperPrefix},
|
||||
{ChatSelectChannel.Console, SharedChatSystem.ConsolePrefix},
|
||||
{ChatSelectChannel.LOOC, SharedChatSystem.LOOCPrefix},
|
||||
{ChatSelectChannel.OOC, SharedChatSystem.OOCPrefix},
|
||||
{ChatSelectChannel.Emotes, SharedChatSystem.EmotesPrefix},
|
||||
{ChatSelectChannel.Admin, SharedChatSystem.AdminPrefix},
|
||||
{ChatSelectChannel.Radio, SharedChatSystem.RadioCommonPrefix},
|
||||
{ChatSelectChannel.Dead, SharedChatSystem.DeadPrefix}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// The max amount of chars allowed to fit in a single speech bubble.
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ public abstract class SharedChatSystem : EntitySystem
|
|||
public const char LOOCPrefix = '(';
|
||||
public const char OOCPrefix = '[';
|
||||
public const char EmotesPrefix = '@';
|
||||
public const char EmotesAltPrefix = '*';
|
||||
public const char AdminPrefix = ']';
|
||||
public const char WhisperPrefix = ',';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue