Add Modular grenades (chemnades). (#7138)
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using Content.Shared.Sound;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Server.Explosion.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Component for tracking active trigger timers. A timers can activated by some other component, e.g. <see cref="OnUseTimerTriggerComponent"/>.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class ActiveTimerTriggerComponent : Component
|
||||
{
|
||||
[DataField("timeRemaining")]
|
||||
public float TimeRemaining;
|
||||
|
||||
[DataField("user")]
|
||||
public EntityUid? User;
|
||||
|
||||
[DataField("beepInterval")]
|
||||
public float BeepInterval;
|
||||
|
||||
[DataField("timeUntilBeep")]
|
||||
public float TimeUntilBeep;
|
||||
|
||||
[DataField("beepSound")]
|
||||
public SoundSpecifier? BeepSound;
|
||||
|
||||
[DataField("beepParams")]
|
||||
public AudioParams BeepParams = AudioParams.Default;
|
||||
}
|
||||
Reference in New Issue
Block a user