2023-05-10 01:11:06 +06:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
2024-03-27 16:56:45 +07:00
|
|
|
namespace Content.Shared._White.Carrying;
|
2023-05-10 01:11:06 +06:00
|
|
|
|
2024-03-27 16:56:45 +07:00
|
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(CarryingSlowdownSystem)), AutoGenerateComponentState]
|
|
|
|
|
public sealed partial class CarryingSlowdownComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
|
|
|
|
public float WalkModifier = 0.7f;
|
2023-05-10 01:11:06 +06:00
|
|
|
|
2024-03-27 16:56:45 +07:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
|
|
|
|
public float SprintModifier = 0.7f;
|
|
|
|
|
}
|