using Robust.Shared.GameStates;
namespace Content.Shared.Clumsy.Components;
///
/// Afflicted entity will occasionally fail to pick up items or receive items into their hands.
///
[RegisterComponent, NetworkedComponent]
[Access(typeof(ClumsyStatusEffectSystem))]
public sealed partial class ClumsyGrabStatusEffectComponent : Component
{
///
/// How often they fail.
///
[DataField]
public float ClumsyChance = 0.5f;
///
/// Popup played to the afflicted when they fail to grab the item.
///
/// Parameters passed in:
///
/// - item - The item which got dropped.
///
///
[DataField]
public LocId? SelfFailedMessage = "clumsy-grab-fail-message-user";
///
/// Popup played to others when the afflicted fails to grab the item.
///
/// Parameters passed in:
///
/// - item - The item which got dropped.
///
///
[DataField]
public LocId? OtherFailedMessage = "clumsy-grab-fail-message-others";
}