30 lines
907 B
C#
30 lines
907 B
C#
namespace Content.Server.Chemistry.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed class SolutionHeaterComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// How much heat is added per second to the solution, with no upgrades.
|
|
/// </summary>
|
|
[DataField("baseHeatPerSecond")]
|
|
public float BaseHeatPerSecond = 120;
|
|
|
|
/// <summary>
|
|
/// How much heat is added per second to the solution, taking upgrades into account.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float HeatPerSecond;
|
|
|
|
/// <summary>
|
|
/// The machine part that affects the heat multiplier.
|
|
/// </summary>
|
|
[DataField("machinePartHeatMultiplier")]
|
|
public string MachinePartHeatMultiplier = "Capacitor";
|
|
|
|
/// <summary>
|
|
/// How much each upgrade multiplies the heat by.
|
|
/// </summary>
|
|
[DataField("partRatingHeatMultiplier")]
|
|
public float PartRatingHeatMultiplier = 1.5f;
|
|
}
|