1
0

BlueprintComponent.cs 655 B

12345678910111213141516171819
  1. using Content.Shared.Research.Prototypes;
  2. using Content.Shared.Research.Systems;
  3. using Robust.Shared.GameStates;
  4. using Robust.Shared.Prototypes;
  5. namespace Content.Shared.Research.Components;
  6. /// <summary>
  7. /// This is used for an item that is inserted directly into a given lathe to provide it with a recipe.
  8. /// </summary>
  9. [RegisterComponent, NetworkedComponent, Access(typeof(BlueprintSystem))]
  10. public sealed partial class BlueprintComponent : Component
  11. {
  12. /// <summary>
  13. /// The recipes that this blueprint provides.
  14. /// </summary>
  15. [DataField(required: true)]
  16. public HashSet<ProtoId<LatheRecipePrototype>> ProvidedRecipes = new();
  17. }