Files
tbd-station-14/Content.Server/Chemistry/Components/SolutionHeaterComponent.cs

30 lines
915 B
C#

namespace Content.Server.Chemistry.Components;
[RegisterComponent]
public sealed partial 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;
}