Files
tbd-station-14/Content.Shared/Damage/Components/StaminaDamageOnEmbedComponent.cs
Princess Cheeseballs 9c165cb5a0 StaminaSystem to SharedStaminaSystem (#37199)
* Init Commit

* Partial class

* Hands system slipped through
2025-05-06 12:39:05 -04:00

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;
}