* petting fish to make him nice to you * fix fishe, refactor a bit * fishe * pro * feedback, for now * refactor * pro --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
24 lines
809 B
C#
24 lines
809 B
C#
using Content.Server.Friends.Systems;
|
|
|
|
namespace Content.Server.Friends.Components;
|
|
|
|
/// <summary>
|
|
/// Pet something to become friends with it (use in hand, press Z)
|
|
/// Uses FactionExceptionComponent behind the scenes
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(PettableFriendSystem))]
|
|
public sealed class PettableFriendComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Localized popup sent when petting for the first time
|
|
/// </summary>
|
|
[DataField("successString", required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public string SuccessString = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Localized popup sent when petting multiple times
|
|
/// </summary>
|
|
[DataField("failureString", required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public string FailureString = string.Empty;
|
|
}
|