pet dehydrated fish to make him nice to you (#14709)
* 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>
This commit is contained in:
23
Content.Server/Friends/Components/PettableFriendComponent.cs
Normal file
23
Content.Server/Friends/Components/PettableFriendComponent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user