| 123456789101112131415161718192021222324 |
- 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;
- }
|