MorgueComponent.cs 714 B

1234567891011121314151617181920212223242526
  1. using Robust.Shared.Audio;
  2. using Robust.Shared.GameStates;
  3. namespace Content.Shared.Morgue.Components;
  4. [RegisterComponent, NetworkedComponent]
  5. public sealed partial class MorgueComponent : Component
  6. {
  7. /// <summary>
  8. /// Whether or not the morgue beeps if a living player is inside.
  9. /// </summary>
  10. [DataField]
  11. public bool DoSoulBeep = true;
  12. [DataField]
  13. public float AccumulatedFrameTime = 0f;
  14. /// <summary>
  15. /// The amount of time between each beep.
  16. /// </summary>
  17. [DataField]
  18. public float BeepTime = 10f;
  19. [DataField]
  20. public SoundSpecifier OccupantHasSoulAlarmSound = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg");
  21. }