mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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>
22 lines
609 B
C#
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;
|
|
}
|