* commit 1 * 2 * add more text * apply review * apply review 2 Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
19 lines
495 B
C#
19 lines
495 B
C#
using Content.Shared.Dataset;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server.Chat;
|
|
|
|
/// <summary>
|
|
/// Entity will say the things when activated
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class SpeakOnUseComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The identifier for the dataset prototype containing messages to be spoken by this entity.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public ProtoId<LocalizedDatasetPrototype> Pack { get; private set; }
|
|
|
|
}
|