mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
18 lines
481 B
C#
18 lines
481 B
C#
using Content.Shared.Damage.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Damage.Components;
|
|
|
|
/// <summary>
|
|
/// Applies stamina damage when embeds in an entity.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[NetworkedComponent]
|
|
[AutoGenerateComponentState]
|
|
[Access(typeof(SharedStaminaSystem))]
|
|
public sealed partial class StaminaDamageOnEmbedComponent : Component
|
|
{
|
|
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
|
|
public float Damage = 10f;
|
|
}
|