mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-18 22:51:11 +03:00
* 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>
16 lines
563 B
C#
16 lines
563 B
C#
using Content.Server.Speech.Prototypes;
|
|
using Content.Shared.Speech.Components;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
namespace Content.Server.Speech.Components;
|
|
|
|
/// <summary>
|
|
/// Replaces full sentences or words within sentences with new strings.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ReplacementAccentComponent : BaseAccentComponent
|
|
{
|
|
[DataField(customTypeSerializer: typeof(PrototypeIdSerializer<ReplacementAccentPrototype>), required: true)]
|
|
public string Accent = default!;
|
|
|
|
}
|