Hyper convection lathes and industrial ore processor (#23202)
* Hyper-convection lathes and industrial ore processor * balance * gold... why not? * review --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Content.Shared.Lathe;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Server.Lathe.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for a <see cref="LatheComponent"/> that releases heat into the surroundings while producing items.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[Access(typeof(LatheSystem))]
|
||||
public sealed partial class LatheHeatProducingComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The amount of energy produced each second when producing an item.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public float EnergyPerSecond = 40000;
|
||||
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextSecond;
|
||||
}
|
||||
Reference in New Issue
Block a user