Make buckle mint (#32370)

- Fix the unbuckle mispredicts.
- Fix unbuckle offset existing.
- Fix interaction range not aligning with interactionoutline system.
This commit is contained in:
metalgearsloth
2024-09-22 18:21:40 +10:00
committed by GitHub
parent 72acce5200
commit 8f06155028
5 changed files with 18 additions and 48 deletions

View File

@@ -15,7 +15,7 @@ public sealed partial class StrapComponent : Component
/// <summary>
/// The entities that are currently buckled to this strap.
/// </summary>
[ViewVariables]
[DataField, AutoNetworkedField]
public HashSet<EntityUid> BuckledEntities = new();
/// <summary>
@@ -61,12 +61,6 @@ public sealed partial class StrapComponent : Component
[DataField, AutoNetworkedField]
public bool Enabled = true;
/// <summary>
/// You can specify the offset the entity will have after unbuckling.
/// </summary>
[DataField]
public Vector2 UnbuckleOffset = Vector2.Zero;
/// <summary>
/// The sound to be played when a mob is buckled
/// </summary>