Emaggable protolathe (#18456)
This commit is contained in:
25
Content.Shared/Lathe/EmagLatheComponent.cs
Normal file
25
Content.Shared/Lathe/EmagLatheComponent.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Content.Shared.Research.Prototypes;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
|
||||
namespace Content.Shared.Lathe
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[AutoGenerateComponentState]
|
||||
public sealed partial class EmagLatheRecipesComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// All of the dynamic recipes that the lathe is capable to get using EMAG
|
||||
/// </summary>
|
||||
[DataField("emagDynamicRecipes", customTypeSerializer: typeof(PrototypeIdListSerializer<LatheRecipePrototype>))]
|
||||
[AutoNetworkedField]
|
||||
public List<string> EmagDynamicRecipes = new();
|
||||
|
||||
/// <summary>
|
||||
/// All of the static recipes that the lathe is capable to get using EMAG
|
||||
/// </summary>
|
||||
[DataField("emagStaticRecipes", customTypeSerializer: typeof(PrototypeIdListSerializer<LatheRecipePrototype>))]
|
||||
[AutoNetworkedField]
|
||||
public List<string> EmagStaticRecipes = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user