BlueprintReceiverComponent.cs 566 B

123456789101112131415161718
  1. using Content.Shared.Research.Systems;
  2. using Content.Shared.Whitelist;
  3. using Robust.Shared.GameStates;
  4. namespace Content.Shared.Research.Components;
  5. /// <summary>
  6. /// This is used for a lathe that can utilize <see cref="BlueprintComponent"/>s to gain more recipes.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent, Access(typeof(BlueprintSystem))]
  9. public sealed partial class BlueprintReceiverComponent : Component
  10. {
  11. [DataField]
  12. public string ContainerId = "blueprint";
  13. [DataField(required: true)]
  14. public EntityWhitelist Whitelist = new();
  15. }