* Add Speech and Emoting components. * makesentient gives you speech and emoting abilities. * Ghosts do *not* need a SpeechComponent. * I hate you all, and I hate shared code as well.
20 lines
647 B
C#
20 lines
647 B
C#
#nullable enable
|
|
using Content.Shared.GameObjects.Components.Mobs.Speech;
|
|
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Interfaces.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Server.GameObjects.Components.Mobs.Speech
|
|
{
|
|
internal interface IAccentComponent
|
|
{
|
|
/// <summary>
|
|
/// Transforms a message with the given Accent
|
|
/// </summary>
|
|
/// <param name="message">The spoken message</param>
|
|
/// <returns>The message after the transformation</returns>
|
|
public string Accentuate(string message);
|
|
}
|
|
}
|