1
0

CrematoriumComponent.cs 728 B

12345678910111213141516171819202122
  1. using Robust.Shared.Audio;
  2. namespace Content.Server.Morgue.Components;
  3. [RegisterComponent]
  4. public sealed partial class CrematoriumComponent : Component
  5. {
  6. /// <summary>
  7. /// The time it takes to cook in second
  8. /// </summary>
  9. [ViewVariables(VVAccess.ReadWrite)]
  10. public int CookTime = 5;
  11. [DataField("cremateStartSound")]
  12. public SoundSpecifier CremateStartSound = new SoundPathSpecifier("/Audio/Items/Lighters/lighter1.ogg");
  13. [DataField("crematingSound")]
  14. public SoundSpecifier CrematingSound = new SoundPathSpecifier("/Audio/Effects/burning.ogg");
  15. [DataField("cremateFinishSound")]
  16. public SoundSpecifier CremateFinishSound = new SoundPathSpecifier("/Audio/Machines/ding.ogg");
  17. }