FTLExclusionComponent.cs 401 B

12345678910111213141516
  1. using Content.Shared.Shuttles.Systems;
  2. namespace Content.Server.Shuttles.Components;
  3. /// <summary>
  4. /// Prevents FTL from occuring around this entity.
  5. /// </summary>
  6. [RegisterComponent, Access(typeof(SharedShuttleSystem))]
  7. public sealed partial class FTLExclusionComponent : Component
  8. {
  9. [DataField]
  10. public bool Enabled = true;
  11. [DataField(required: true)]
  12. public float Range = 32f;
  13. }