using Content.Shared.Temperature.Systems;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared.Temperature.Components;
///
/// Adds thermal energy to entities with placed on it.
///
[RegisterComponent, Access(typeof(SharedEntityHeaterSystem))]
[NetworkedComponent, AutoGenerateComponentState]
public sealed partial class EntityHeaterComponent : Component
{
///
/// Power used when heating at the high setting.
/// Low and medium are 33% and 66% respectively.
///
[DataField]
public float Power = 2400f;
///
/// Current setting of the heater. If it is off or unpowered it won't heat anything.
///
[DataField, AutoNetworkedField]
public EntityHeaterSetting Setting = EntityHeaterSetting.Off;
///
/// An optional sound that plays when the setting is changed.
///
[DataField]
public SoundPathSpecifier? SettingSound;
}