Files
OldThink/Content.Shared/_White/Carrying/CarryingSlowdownComponent.cs

13 lines
474 B
C#
Raw Permalink Normal View History

using Robust.Shared.GameStates;
namespace Content.Shared._White.Carrying;
[RegisterComponent, NetworkedComponent, Access(typeof(CarryingSlowdownSystem)), AutoGenerateComponentState]
public sealed partial class CarryingSlowdownComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public float WalkModifier = 0.7f;
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public float SprintModifier = 0.7f;
}