Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -9,23 +9,18 @@ namespace Content.Shared.Body.Part;
|
||||
[Access(typeof(SharedBodySystem))]
|
||||
public sealed class BodyPartComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("body")]
|
||||
public EntityUid? Body;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("parent")]
|
||||
public BodyPartSlot? ParentSlot;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("children")]
|
||||
public Dictionary<string, BodyPartSlot> Children = new();
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("organs")]
|
||||
public Dictionary<string, OrganSlot> Organs = new();
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("partType")]
|
||||
public BodyPartType PartType = BodyPartType.Other;
|
||||
|
||||
@@ -34,11 +29,9 @@ public sealed class BodyPartComponent : Component
|
||||
/// Whether or not the owning <see cref="Body"/> will die if all
|
||||
/// <see cref="BodyComponent"/>s of this type are removed from it.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("vital")]
|
||||
public bool IsVital;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("symmetry")]
|
||||
public BodyPartSymmetry Symmetry = BodyPartSymmetry.None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user