1
0

GridFillComponent.cs 609 B

123456789101112131415161718192021
  1. using Content.Server.Shuttles.Systems;
  2. using Robust.Shared.Prototypes;
  3. using Robust.Shared.Utility;
  4. namespace Content.Server.Shuttles.Components;
  5. /// <summary>
  6. /// If added to an airlock will try to autofill a grid onto it on MapInit
  7. /// </summary>
  8. [RegisterComponent, Access(typeof(ShuttleSystem))]
  9. public sealed partial class GridFillComponent : Component
  10. {
  11. [DataField]
  12. public ResPath Path = new("/Maps/Shuttles/escape_pod_small.yml");
  13. /// <summary>
  14. /// Components to be added to any spawned grids.
  15. /// </summary>
  16. [DataField]
  17. public ComponentRegistry AddComponents = new();
  18. }