* move faction prototype to shared * move faction exception and member stuff to shared * fix breaking changes for random stuff * move pettable friend stuff to shared * mostly fix * final fixy * dragonops * final fixy II * use querys and fix warpspeed fish (probably) * fixer * Rrrr! --------- Co-authored-by: deltanedas <@deltanedas:kde.org> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
25 lines
778 B
C#
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;
|
|
}
|