mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-23 00:27:50 +03:00
22 lines
704 B
C#
22 lines
704 B
C#
using Content.Shared.Standing;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Stunnable;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, Access(typeof(SharedStunSystem))]
|
|
public sealed partial class KnockedDownComponent : Component
|
|
{
|
|
[DataField("helpInterval"), AutoNetworkedField]
|
|
public float HelpInterval = 1f;
|
|
|
|
[DataField("helpAttemptSound")]
|
|
public SoundSpecifier StunAttemptSound = new SoundPathSpecifier("/Audio/Effects/thudswoosh.ogg");
|
|
|
|
[DataField]
|
|
public DropHeldItemsBehavior DropHeldItemsBehavior = DropHeldItemsBehavior.AlwaysDrop;
|
|
|
|
[ViewVariables, AutoNetworkedField]
|
|
public float HelpTimer = 0f;
|
|
}
|