Files
tbd-station-14/Content.Shared/Morgue/Components/MorgueComponent.cs
Token 8588517e45 Morgue system refactor remove unused VVs and into Entity (#31835)
* Remove unused VVs params and usings
from entityUid, MorgueComponent into Entity<MorgueComponent> ent

* remove unnecesary VVs cuz datafields add em
2024-09-04 17:30:21 +02:00

27 lines
714 B
C#

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