using Content.Server.Light.EntitySystems;
using Content.Shared.Smoking;
using Robust.Shared.Audio;
namespace Content.Server.Light.Components
{
[RegisterComponent]
[Access(typeof(MatchstickSystem))]
public sealed partial class MatchstickComponent : Component
{
///
/// Current state to matchstick. Can be Unlit, Lit or Burnt.
///
[DataField("state")]
public SmokableState CurrentState = SmokableState.Unlit;
///
/// How long will matchstick last in seconds.
///
[ViewVariables(VVAccess.ReadOnly)]
[DataField("duration")]
public int Duration = 10;
///
/// Sound played when you ignite the matchstick.
///
[DataField("igniteSound", required: true)] public SoundSpecifier IgniteSound = default!;
}
}