Jumpability collisions (#39710)

This commit is contained in:
ScarKy0
2025-08-18 14:22:36 +02:00
committed by GitHub
parent 2ecc3b85c4
commit 14f949c311
5 changed files with 126 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Movement.Components;
/// <summary>
/// Marker component given to the users of the <see cref="JumpAbilityComponent"/> if they are meant to collide with environment.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ActiveLeaperComponent : Component
{
/// <summary>
/// The duration to stun the owner on collide with environment.
/// </summary>
[DataField, AutoNetworkedField]
public TimeSpan KnockdownDuration;
}