using Content.Shared.Lathe;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
namespace Content.Server.Lathe.Components;
///
/// This is used for a that releases heat into the surroundings while producing items.
///
[RegisterComponent]
[Access(typeof(LatheSystem))]
public sealed partial class LatheHeatProducingComponent : Component
{
///
/// The amount of energy produced each second when producing an item.
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float EnergyPerSecond = 30000;
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextSecond;
}