Files
tbd-station-14/Content.Shared/Slippery/SlidingComponent.cs
Princess Cheeseballs dec2d42a1d Crawling Part 1: The Knockdownening (#36881)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-07-20 01:54:42 +02:00

23 lines
663 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Slippery;
/// <summary>
/// Applies continuous movement to the attached entity when colliding with super slipper entities.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class SlidingComponent : Component
{
/// <summary>
/// The friction modifier that will be applied to any friction calculations.
/// </summary>
[DataField, AutoNetworkedField]
public float FrictionModifier;
/// <summary>
/// Hashset of contacting entities.
/// </summary>
[DataField]
public HashSet<EntityUid> Contacting = new();
}