using Content.Shared.Whitelist; namespace Content.Server.Chemistry.Components; [RegisterComponent] public sealed class SolutionHeaterComponent : Component { /// /// How much heat is added per second to the solution, with no upgrades. /// [DataField("baseHeatPerSecond")] public float BaseHeatPerSecond = 120; /// /// How much heat is added per second to the solution, taking upgrades into account. /// [ViewVariables(VVAccess.ReadWrite)] public float HeatPerSecond; /// /// The machine part that affects the heat multiplier. /// [DataField("machinePartHeatMultiplier")] public string MachinePartHeatMultiplier = "Capacitor"; /// /// How much each upgrade multiplies the heat by. /// [DataField("partRatingHeatMultiplier")] public float PartRatingHeatMultiplier = 1.5f; /// /// The entities that are placed on the heater. /// [DataField("placedEntities")] public HashSet PlacedEntities = new(); /// /// The max amount of entities that can be heated at the same time. /// [DataField("maxEntities")] public uint MaxEntities = 1; /// /// Whitelist for entities that can be placed on the heater. /// [DataField("whitelist")] [ViewVariables(VVAccess.ReadWrite)] public EntityWhitelist? Whitelist; }