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