1
0

StationCargoShuttleComponent.cs 637 B

12345678910111213141516171819
  1. using Robust.Shared.Utility;
  2. namespace Content.Server.Shuttles.Components;
  3. /// <summary>
  4. /// GridSpawnComponent but for cargo shuttles
  5. /// <remarks>
  6. /// This exists so we don't need to make 1 change to GridSpawn for every single station's unique shuttles.
  7. /// </remarks>
  8. /// </summary>
  9. [RegisterComponent]
  10. public sealed partial class StationCargoShuttleComponent : Component
  11. {
  12. // If you add more than just make an abstract comp, split them, then use overloads in the system.
  13. // YAML is filled out so mappers don't have to read here.
  14. [DataField(required: true)]
  15. public ResPath Path = new("/Maps/Shuttles/cargo.yml");
  16. }