Remove ignore-inside-blocker (#6692)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
26
Content.Shared/Wall/WallMountComponent.cs
Normal file
26
Content.Shared/Wall/WallMountComponent.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace Content.Shared.Wall;
|
||||
|
||||
/// <summary>
|
||||
/// This component enables an entity to ignore some obstructions for interaction checks.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This will only exempt anchored entities that intersect the wall-mount. Additionally, this exemption will apply
|
||||
/// in a limited arc, providing basic functionality for directional wall mounts.
|
||||
/// </remarks>
|
||||
[RegisterComponent]
|
||||
public sealed class WallMountComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Range of angles in which the exemption applies. Bigger is more permissive.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("arc")]
|
||||
public float Arc = MathF.PI;
|
||||
|
||||
/// <summary>
|
||||
/// The direction in which the exemption arc is facing, relative to the entity's rotation. Defaults to south.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("direction")]
|
||||
public Angle Direction = Angle.Zero;
|
||||
}
|
||||
Reference in New Issue
Block a user