Skip to content

Commit

Permalink
easier to cut off limbs
Browse files Browse the repository at this point in the history
  • Loading branch information
TokenStyle committed Nov 23, 2024
1 parent 500359d commit 0bdb683
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Content.Shared/Body/Part/BodyPartComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ public sealed partial class BodyPartComponent : Component, ISurgeryToolComponent
[DataField, AutoNetworkedField]
public Dictionary<TargetIntegrity, float> IntegrityThresholds = new()
{
{ TargetIntegrity.CriticallyWounded, 90 },
{ TargetIntegrity.HeavilyWounded, 75 },
{ TargetIntegrity.ModeratelyWounded, 60 },
{ TargetIntegrity.SomewhatWounded, 40},
{ TargetIntegrity.LightlyWounded, 20 },
{ TargetIntegrity.CriticallyWounded, 70 },
{ TargetIntegrity.HeavilyWounded, 60 },
{ TargetIntegrity.ModeratelyWounded, 45 },
{ TargetIntegrity.SomewhatWounded, 30},
{ TargetIntegrity.LightlyWounded, 15 },
{ TargetIntegrity.Healthy, 10 },
};

Expand All @@ -145,7 +145,7 @@ private List<ContainerSlot> BodyPartSlotsVV

foreach (var slotId in Children.Keys)
{
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, SharedBodySystem.PartSlotContainerIdPrefix+slotId));
temp.Add((ContainerSlot)containerSystem.GetContainer(Owner, SharedBodySystem.PartSlotContainerIdPrefix + slotId));
}

return temp;
Expand All @@ -162,7 +162,7 @@ private List<ContainerSlot> OrganSlotsVV

foreach (var slotId in Organs.Keys)
{
temp.Add((ContainerSlot) containerSystem.GetContainer(Owner, SharedBodySystem.OrganSlotContainerIdPrefix+slotId));
temp.Add((ContainerSlot)containerSystem.GetContainer(Owner, SharedBodySystem.OrganSlotContainerIdPrefix + slotId));
}

return temp;
Expand Down

0 comments on commit 0bdb683

Please sign in to comment.