using Robust.Shared.Audio;
namespace Content.Server._CP14.Temperature.Fireplace;
///
/// component for player-controlled fire. Can be fueled.
///
[RegisterComponent, Access(typeof(CP14FireplaceSystem))]
public sealed partial class CP14FireplaceComponent : Component
{
[DataField]
public string ContainerId = "storagebase";
///
/// The abstract amount of fuel that is used to keep a fire burning
///
[DataField]
public float MaxFuelLimit = 100f;
///
/// how much the flame grows or dies out with the presence or absence of fuel
///
[DataField]
public float FireFadeDelta = 0.2f;
///
/// current fuel quantity
///
[DataField]
public float Fuel = 10f;
///
/// how much fuel is wasted every "UpdateFrequency"
///
[DataField]
public float FuelDrainingPerUpdate = 1f;
[DataField]
public TimeSpan UpdateFrequency = TimeSpan.FromSeconds(2f);
[DataField]
public TimeSpan NextUpdateTime = TimeSpan.Zero;
[DataField]
public SoundSpecifier InsertFuelSound = new SoundPathSpecifier("/Audio/_CP14/Items/campfire_whoosh.ogg");
}