remove always push on body part
This commit is contained in:
parent
bd6aeaa438
commit
a31e25cb02
|
|
@ -30,13 +30,13 @@ public sealed partial class OrganComponent : Component, ISurgeryToolComponent //
|
||||||
/// without referencing the prototype or hardcoding.
|
/// without referencing the prototype or hardcoding.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public string SlotId = "";
|
public string SlotId = string.Empty;
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public string ToolName { get; set; } = "An organ";
|
public string ToolName { get; set; } = "An organ";
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public float Speed { get; set; } = 1f;
|
public float Speed { get; set; } = 1f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -38,16 +38,16 @@ public sealed partial class BodyPartComponent : Component, ISurgeryToolComponent
|
||||||
[DataField]
|
[DataField]
|
||||||
public float SeverBleeding = 4f;
|
public float SeverBleeding = 4f;
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public string ToolName { get; set; } = "A body part";
|
public string ToolName { get; set; } = "A body part";
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public string SlotId = "";
|
public string SlotId = string.Empty;
|
||||||
|
|
||||||
[DataField, AutoNetworkedField]
|
[DataField, AutoNetworkedField]
|
||||||
public bool? Used { get; set; } = null;
|
public bool? Used { get; set; } = null;
|
||||||
|
|
||||||
[DataField, AlwaysPushInheritance]
|
[DataField]
|
||||||
public float Speed { get; set; } = 1f;
|
public float Speed { get; set; } = 1f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -147,7 +147,7 @@ public sealed partial class BodyPartComponent : Component, ISurgeryToolComponent
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
[DataField, AutoNetworkedField, AlwaysPushInheritance]
|
[DataField, AutoNetworkedField]
|
||||||
public BodyPartType PartType = BodyPartType.Other;
|
public BodyPartType PartType = BodyPartType.Other;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -159,7 +159,7 @@ public sealed partial class BodyPartComponent : Component, ISurgeryToolComponent
|
||||||
[DataField("vital"), AutoNetworkedField]
|
[DataField("vital"), AutoNetworkedField]
|
||||||
public bool IsVital;
|
public bool IsVital;
|
||||||
|
|
||||||
[DataField, AutoNetworkedField, AlwaysPushInheritance]
|
[DataField, AutoNetworkedField]
|
||||||
public BodyPartSymmetry Symmetry = BodyPartSymmetry.None;
|
public BodyPartSymmetry Symmetry = BodyPartSymmetry.None;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ public sealed partial class SurgeryAddMarkingStepComponent : Component
|
||||||
/// against the entity to validate that the marking is not already present.
|
/// against the entity to validate that the marking is not already present.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField]
|
[DataField]
|
||||||
public String MatchString = "";
|
public string MatchString = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// What type of organ is required for this surgery?
|
/// What type of organ is required for this surgery?
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,11 @@ public sealed partial class SurgeryRemoveMarkingStepComponent : Component
|
||||||
/// against the entity to validate that the marking is present.
|
/// against the entity to validate that the marking is present.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField]
|
[DataField]
|
||||||
public String MatchString = "";
|
public string MatchString = string.Empty;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Will this step spawn an item as a result of removing the markings? If so, which?
|
/// Will this step spawn an item as a result of removing the markings? If so, which?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField]
|
[DataField]
|
||||||
public EntProtoId? ItemSpawn = default!;
|
public EntProtoId? ItemSpawn = default!;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue