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]
|
2023-08-22 18:14:33 -07:00
|
|
|
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>
|
2024-09-04 20:30:21 +05:00
|
|
|
[DataField]
|
2022-07-13 19:11:59 -04:00
|
|
|
public bool DoSoulBeep = true;
|
|
|
|
|
|
2024-09-04 20:30:21 +05:00
|
|
|
[DataField]
|
2022-07-13 19:11:59 -04:00
|
|
|
public float AccumulatedFrameTime = 0f;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The amount of time between each beep.
|
|
|
|
|
/// </summary>
|
2024-09-04 20:30:21 +05:00
|
|
|
[DataField]
|
2022-07-13 19:11:59 -04:00
|
|
|
public float BeepTime = 10f;
|
|
|
|
|
|
2024-09-04 20:30:21 +05:00
|
|
|
[DataField]
|
2022-07-13 19:11:59 -04:00
|
|
|
public SoundSpecifier OccupantHasSoulAlarmSound = new SoundPathSpecifier("/Audio/Weapons/Guns/EmptyAlarm/smg_empty_alarm.ogg");
|
|
|
|
|
}
|