6
2026-01-18 12:53:36 +03:00

25 lines
778 B
C#

using Content.Shared.Friends.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.Friends.Components;
/// <summary>
/// Pet something to become friends with it (use in hand, press Z)
/// Requires this entity to have FactionExceptionComponent to work.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(PettableFriendSystem))]
public sealed partial class PettableFriendComponent : Component
{
/// <summary>
/// Localized popup sent when petting for the first time
/// </summary>
[DataField(required: true)]
public LocId SuccessString = string.Empty;
/// <summary>
/// Localized popup sent when petting multiple times
/// </summary>
[DataField(required: true)]
public LocId FailureString = string.Empty;
}