2024-03-21 23:20:09 +03:00
|
|
|
using Robust.Shared.Audio;
|
2023-05-11 00:53:11 +03:00
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Abilities.Felinid
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2024-01-13 09:14:00 +03:00
|
|
|
public sealed partial class FelinidComponent : Component
|
2023-05-11 00:53:11 +03:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The hairball prototype to use.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("hairballPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
|
|
|
|
public string HairballPrototype = "Hairball";
|
|
|
|
|
|
2024-03-21 23:20:09 +03:00
|
|
|
[DataField]
|
|
|
|
|
public SoundSpecifier MouseEatingSound = new SoundCollectionSpecifier("eating");
|
|
|
|
|
|
2024-01-13 09:14:00 +03:00
|
|
|
public EntityUid? HairballAction;
|
|
|
|
|
|
|
|
|
|
public EntityUid? EatMouseAction;
|
2023-05-11 00:53:11 +03:00
|
|
|
|
|
|
|
|
public EntityUid? PotentialTarget = null;
|
|
|
|
|
}
|
|
|
|
|
}
|