using Robust.Shared.Audio; using System.Threading; namespace Content.Server.Morgue.Components; [RegisterComponent] public sealed class CrematoriumComponent : Component { /// /// Whether or not the crematorium is currently cooking /// [ViewVariables] public bool Cooking; /// /// The time it takes to cook /// [ViewVariables(VVAccess.ReadWrite)] public int BurnMilis = 5000; public CancellationTokenSource? CremateCancelToken; [DataField("cremateStartSound")] public SoundSpecifier CremateStartSound = new SoundPathSpecifier("/Audio/Items/lighter1.ogg"); [DataField("crematingSound")] public SoundSpecifier CrematingSound = new SoundPathSpecifier("/Audio/Effects/burning.ogg"); [DataField("cremateFinishSound")] public SoundSpecifier CremateFinishSound = new SoundPathSpecifier("/Audio/Machines/ding.ogg"); }