CatStation/Content.Shared/Lube/LubedComponent.cs
slarticodefast 726a307b3d
Predict LubeSystem and LubedSystem (#39279)
* predict lube

* cleanup

* cleanup

* Update Content.Shared/Lube/LubeSystem.cs

Co-authored-by: Sir Warock <67167466+SirWarock@users.noreply.github.com>

---------

Co-authored-by: Sir Warock <67167466+SirWarock@users.noreply.github.com>
2026-05-20 06:35:47 +00:00

22 lines
609 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Lube;
/// <summary>
/// If you try to pick up an item with this component it will be thrown.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class LubedComponent : Component
{
/// <summary>
/// The number of throws before this component will be removed.
/// </summary>
[DataField, AutoNetworkedField]
public int SlipsLeft = 1;
/// <summary>
/// The throwing velocity.
/// </summary>
[DataField, AutoNetworkedField]
public float SlipStrength = 10.0f;
}