Files
wwdpublic/Content.Server/Lathe/Components/LatheHeatProducingComponent.cs
Nemanja 150c8cd817 Buff heat and flame damage (#23238)
(cherry picked from commit cfb129c5a4fcdf996ab16defd35e24ed909ca663)
2024-01-22 21:07:51 +01:00

22 lines
719 B
C#

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 = 30000;
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer))]
public TimeSpan NextSecond;
}