using Content.Shared.Wieldable;
using Robust.Shared.GameStates;
namespace Content.Shared.Movement.Components;
///
/// Modifies the speed when an entity with this component is wielded.
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedWieldableSystem)), AutoGenerateComponentState]
public sealed partial class SpeedModifiedOnWieldComponent : Component
{
///
/// How much the wielder's sprint speed is modified when the component owner is wielded.
///
[DataField, AutoNetworkedField]
public float SprintModifier = 1f;
///
/// How much the wielder's walk speed is modified when the component owner is wielded.
///
[DataField, AutoNetworkedField]
public float WalkModifier = 1f;
}