17 lines
401 B
C#
17 lines
401 B
C#
using Content.Shared.Shuttles.Systems;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
/// <summary>
|
|
/// Prevents FTL from occuring around this entity.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(SharedShuttleSystem))]
|
|
public sealed partial class FTLExclusionComponent : Component
|
|
{
|
|
[DataField]
|
|
public bool Enabled = true;
|
|
|
|
[DataField(required: true)]
|
|
public float Range = 32f;
|
|
}
|