Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -7,19 +7,15 @@ namespace Content.Server.Tools.Components;
|
||||
[RegisterComponent]
|
||||
public sealed class LatticeCuttingComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("toolComponentNeeded")]
|
||||
public bool ToolComponentNeeded = true;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("qualityNeeded", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
||||
public string QualityNeeded = "Cutting";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("delay")]
|
||||
public float Delay = 0.25f;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("vacuumDelay")]
|
||||
public float VacuumDelay = 1.75f;
|
||||
|
||||
@@ -27,4 +23,4 @@ public sealed class LatticeCuttingComponent : Component
|
||||
/// Used for do_afters.
|
||||
/// </summary>
|
||||
public CancellationTokenSource? CancelTokenSource = null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,15 +7,12 @@ namespace Content.Server.Tools.Components
|
||||
[RegisterComponent]
|
||||
public sealed class TilePryingComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("toolComponentNeeded")]
|
||||
public bool ToolComponentNeeded = true;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("qualityNeeded", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
||||
public string QualityNeeded = "Prying";
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("delay")]
|
||||
public float Delay = 1f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user