Remove plural property from body parts (#2294)
This commit is contained in:
@@ -18,11 +18,6 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
BodyPartType PartType { get; }
|
BodyPartType PartType { get; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Plural version of this <see cref="IBodyPart"/> name.
|
|
||||||
/// </summary>
|
|
||||||
public string Plural { get; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines many things: how many mechanisms can be fit inside this
|
/// Determines many things: how many mechanisms can be fit inside this
|
||||||
/// <see cref="IBodyPart"/>, whether a body can fit through tiny crevices,
|
/// <see cref="IBodyPart"/>, whether a body can fit through tiny crevices,
|
||||||
|
|||||||
@@ -56,9 +56,6 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
|||||||
}
|
}
|
||||||
|
|
||||||
[ViewVariables] public BodyPartType PartType { get; private set; }
|
[ViewVariables] public BodyPartType PartType { get; private set; }
|
||||||
|
|
||||||
[ViewVariables] public string Plural { get; private set; } = string.Empty;
|
|
||||||
|
|
||||||
[ViewVariables] public int Size { get; private set; }
|
[ViewVariables] public int Size { get; private set; }
|
||||||
|
|
||||||
[ViewVariables] public int SizeUsed { get; private set; }
|
[ViewVariables] public int SizeUsed { get; private set; }
|
||||||
@@ -128,8 +125,6 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
|||||||
|
|
||||||
serializer.DataField(this, b => b.PartType, "partType", BodyPartType.Other);
|
serializer.DataField(this, b => b.PartType, "partType", BodyPartType.Other);
|
||||||
|
|
||||||
serializer.DataField(this, b => b.Plural, "plural", string.Empty);
|
|
||||||
|
|
||||||
serializer.DataField(this, b => b.Size, "size", 1);
|
serializer.DataField(this, b => b.Size, "size", 1);
|
||||||
|
|
||||||
serializer.DataField(this, b => b.Compatibility, "compatibility", BodyPartCompatibility.Universal);
|
serializer.DataField(this, b => b.Compatibility, "compatibility", BodyPartCompatibility.Universal);
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "torso_m"
|
state: "torso_m"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "human torsos"
|
|
||||||
partType: Torso
|
partType: Torso
|
||||||
size: 14
|
size: 14
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -47,7 +46,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "head_m"
|
state: "head_m"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "human heads"
|
|
||||||
partType: Head
|
partType: Head
|
||||||
size: 7
|
size: 7
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -75,7 +73,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "l_arm"
|
state: "l_arm"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "left human arms"
|
|
||||||
partType: Arm
|
partType: Arm
|
||||||
size: 5
|
size: 5
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -102,7 +99,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "r_arm"
|
state: "r_arm"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "right human arms"
|
|
||||||
partType: Arm
|
partType: Arm
|
||||||
size: 5
|
size: 5
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -129,7 +125,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "l_hand"
|
state: "l_hand"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "left human hands"
|
|
||||||
partType: Hand
|
partType: Hand
|
||||||
size: 3
|
size: 3
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -155,7 +150,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "r_hand"
|
state: "r_hand"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "right human hands"
|
|
||||||
partType: Hand
|
partType: Hand
|
||||||
durability: 30
|
durability: 30
|
||||||
destroyThreshold: -60
|
destroyThreshold: -60
|
||||||
@@ -183,7 +177,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "l_leg"
|
state: "l_leg"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "left human legs"
|
|
||||||
partType: Leg
|
partType: Leg
|
||||||
size: 6
|
size: 6
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -212,7 +205,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "r_leg"
|
state: "r_leg"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "right human legs"
|
|
||||||
partType: Leg
|
partType: Leg
|
||||||
durability: 45
|
durability: 45
|
||||||
destroyThreshold: -90
|
destroyThreshold: -90
|
||||||
@@ -243,7 +235,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "l_foot"
|
state: "l_foot"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "left human feet"
|
|
||||||
partType: Foot
|
partType: Foot
|
||||||
size: 2
|
size: 2
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
@@ -268,7 +259,6 @@
|
|||||||
sprite: Mobs/Species/Human/parts.rsi
|
sprite: Mobs/Species/Human/parts.rsi
|
||||||
state: "r_foot"
|
state: "r_foot"
|
||||||
- type: BodyPart
|
- type: BodyPart
|
||||||
plural: "right human feet"
|
|
||||||
partType: Foot
|
partType: Foot
|
||||||
size: 2
|
size: 2
|
||||||
compatibility: Biological
|
compatibility: Biological
|
||||||
|
|||||||
Reference in New Issue
Block a user