Blueprints (#31138)
* Blueprints * Update tables_loot.yml * doink * mark as required
This commit is contained in:
19
Content.Shared/Research/Components/BlueprintComponent.cs
Normal file
19
Content.Shared/Research/Components/BlueprintComponent.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Research.Prototypes;
|
||||
using Content.Shared.Research.Systems;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Research.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for an item that is inserted directly into a given lathe to provide it with a recipe.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(BlueprintSystem))]
|
||||
public sealed partial class BlueprintComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The recipes that this blueprint provides.
|
||||
/// </summary>
|
||||
[DataField(required: true)]
|
||||
public HashSet<ProtoId<LatheRecipePrototype>> ProvidedRecipes = new();
|
||||
}
|
||||
Reference in New Issue
Block a user