2023-06-24 20:09:24 +02:00
|
|
|
namespace Content.Server.Chemistry.Components;
|
2022-12-24 20:59:51 -05:00
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class SolutionHeaterComponent : Component
|
2022-12-24 20:59:51 -05:00
|
|
|
{
|
2023-06-24 20:09:24 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// How much heat is added per second to the solution, with no upgrades.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("baseHeatPerSecond")]
|
|
|
|
|
public float BaseHeatPerSecond = 120;
|
2022-12-24 20:59:51 -05:00
|
|
|
|
2023-06-24 20:09:24 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// How much heat is added per second to the solution, taking upgrades into account.
|
|
|
|
|
/// </summary>
|
2022-12-24 20:59:51 -05:00
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2023-06-24 20:09:24 +02:00
|
|
|
public float HeatPerSecond;
|
2022-12-24 20:59:51 -05:00
|
|
|
|
2023-06-24 20:09:24 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// The machine part that affects the heat multiplier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("machinePartHeatMultiplier")]
|
|
|
|
|
public string MachinePartHeatMultiplier = "Capacitor";
|
2022-12-24 20:59:51 -05:00
|
|
|
|
2023-06-24 20:09:24 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// How much each upgrade multiplies the heat by.
|
|
|
|
|
/// </summary>
|
2022-12-24 20:59:51 -05:00
|
|
|
[DataField("partRatingHeatMultiplier")]
|
|
|
|
|
public float PartRatingHeatMultiplier = 1.5f;
|
|
|
|
|
}
|