2023-02-24 19:01:25 -05:00
|
|
|
|
using Content.Shared.Tools;
|
2022-08-31 01:24:51 -07:00
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Tools.Components;
|
|
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
|
public sealed class LatticeCuttingComponent : Component
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataField("toolComponentNeeded")]
|
|
|
|
|
|
public bool ToolComponentNeeded = true;
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("qualityNeeded", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
|
|
|
|
|
public string QualityNeeded = "Cutting";
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("delay")]
|
|
|
|
|
|
public float Delay = 0.25f;
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("vacuumDelay")]
|
|
|
|
|
|
public float VacuumDelay = 1.75f;
|
2022-11-16 20:22:11 +01:00
|
|
|
|
}
|