CatStation/Content.Shared/Speech/EntitySystems/AllCapsAccentSystem.cs
SlamBamActionman 414e64db25
Move all accents into being RelayAccentSystems, add InventoryRelayedEvent support (#43008)
* Refactor accents a little

* Fix Linter

* Make T happy

* Aaaand fix linter

* Add RelayAccentsComponent

* Update into RelayAccentSystem

* Fix unnecessary override and slurred

* Fix some spacing and formatting

* Update a comment

* Review changes

* cleaning

* partial

* aoao

* destruction

---------

Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com>
2026-07-19 00:51:54 +00:00

14 lines
442 B
C#

using Content.Shared.Speech.Components;
namespace Content.Shared.Speech.EntitySystems;
/// <summary>
/// Applies the all-caps accent to speech and relayed speech status effect events.
/// </summary>
public sealed class AllCapsAccentSystem : RelayAccentSystem<AllCapsAccentComponent>
{
public override string Accentuate(string message, Entity<AllCapsAccentComponent>? ent = null)
{
return message.ToUpperInvariant();
}
}