Remove redundant read-only VV from datafields (#12626)

This commit is contained in:
DrSmugleaf
2022-11-16 20:22:11 +01:00
committed by GitHub
parent fb892cb374
commit 7fbc2608e8
179 changed files with 171 additions and 462 deletions

View File

@@ -14,14 +14,12 @@ namespace Content.Server.Guardian
/// <summary>
/// Percentage of damage reflected from the guardian to the host
/// </summary>
[ViewVariables]
[DataField("damageShare")]
public float DamageShare { get; set; } = 0.85f;
/// <summary>
/// Maximum distance the guardian can travel before it's forced to recall, use YAML to set
/// </summary>
[ViewVariables]
[DataField("distanceAllowed")]
public float DistanceAllowed { get; set; } = 5f;

View File

@@ -20,7 +20,6 @@ namespace Content.Server.Guardian
/// <summary>
/// The prototype of the guardian entity which will be created
/// </summary>
[ViewVariables]
[DataField("guardianProto", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>), required: true)]
public string GuardianProto { get; set; } = default!;