mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 11:21:11 +03:00
16 lines
418 B
C#
16 lines
418 B
C#
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Server.Damage.Components;
|
|
|
|
[RegisterComponent]
|
|
public sealed class StaminaDamageOnHitComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("damage")]
|
|
public float Damage = 30f;
|
|
|
|
/// <summary>
|
|
/// Play a sound when this knocks down an entity.
|
|
/// </summary>
|
|
[DataField("knockdownSound")]
|
|
public SoundSpecifier? KnockdownSound;
|
|
}
|