1
0

FTLMapComponent.cs 788 B

12345678910111213141516171819202122232425262728
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Shuttles.Components;
  3. /// <summary>
  4. /// Marker that specifies a map as being for FTLing entities.
  5. /// </summary>
  6. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  7. public sealed partial class FTLMapComponent : Component
  8. {
  9. /// <summary>
  10. /// Offset for FTLing shuttles so they don't overlap each other.
  11. /// </summary>
  12. [DataField]
  13. public int Index;
  14. /// <summary>
  15. /// What parallax to use for the background, immediately gets deffered to ParallaxComponent.
  16. /// </summary>
  17. [DataField]
  18. public string Parallax = "FastSpace";
  19. /// <summary>
  20. /// Can FTL on this map only be done to beacons.
  21. /// </summary>
  22. [DataField, AutoNetworkedField]
  23. public bool Beacons;
  24. }