using Content.Shared.Research.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Lathe.Components { /// /// For EntityQuery to keep track of which lathes are producing /// [RegisterComponent] public sealed class LatheProducingComponent : Component { /// /// The recipe the lathe is currently producing /// [DataField("recipe", required:true, customTypeSerializer:typeof(PrototypeIdSerializer))] public string? Recipe; /// /// Remaining production time, in seconds. /// [DataField("timeRemaining", required: true)] public float TimeRemaining; } }