Files
wwdpublic/Content.Shared/Nyanotrasen/Digging/EarthDiggingComponent.cs
Ygg01 089398d256 Nyano port of digging (#400)
* Velcroboy changes

* Fix compilation errors

* Fix borked path

* Fix

* Moved to shared, fixed some problems with code

* Cleanup

* Fix paths

* Fix

* Move files around

* Moved DiggingSystem to Server
2023-12-06 16:58:00 +01:00

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;
}