Files
crystall-punk-14/Content.Shared/Morgue/Components/MorgueComponent.cs

27 lines
714 B
C#
Raw Permalink Normal View History

2022-07-29 14:13:12 +12:00
using Robust.Shared.Audio;
2023-05-29 10:44:11 +10:00
using Robust.Shared.GameStates;
2022-07-13 19:11:59 -04:00
2023-05-29 10:44:11 +10:00
namespace Content.Shared.Morgue.Components;
2022-07-13 19:11:59 -04:00
2023-05-29 10:44:11 +10:00
[RegisterComponent, NetworkedComponent]
public sealed partial class MorgueComponent : Component
2022-07-13 19:11:59 -04:00
{
/// <summary>
/// Whether or not the morgue beeps if a living player is inside.
/// </summary>
[DataField]
2022-07-13 19:11:59 -04:00
public bool DoSoulBeep = true;
[DataField]
2022-07-13 19:11:59 -04:00
public float AccumulatedFrameTime = 0f;
/// <summary>
/// The amount of time between each beep.
/// </summary>
[DataField]
2022-07-13 19:11:59 -04:00
public float BeepTime = 10f;
[DataField]
2022-07-13 19:11:59 -04:00
public SoundSpecifier OccupantHasSoulAlarmSound = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg");
}