mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 22:18:52 +03:00
* 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
23 lines
625 B
C#
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;
|
|
|
|
}
|