Delta-v/Content.Shared/Nyanotrasen/Digging/EarthDiggingComponent.cs

23 lines
625 B
C#

using System.Threading;
using Content.Shared.Tools;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Nyanotrasen.Digging;
[RegisterComponent]
public sealed partial class EarthDiggingComponent : Component
{
[ViewVariables]
[DataField("toolComponentNeeded")]
public bool ToolComponentNeeded = true;
[ViewVariables]
[DataField("qualityNeeded", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
public string QualityNeeded = "Digging";
[ViewVariables]
[DataField("delay")]
public float Delay = 2f;
}