using Content.Shared.Mobs;
using Robust.Shared.Prototypes;
using Robust.Shared.GameStates;
namespace Content.Shared.Species.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class GibActionComponent : Component
{
///
/// The action to use.
///
[DataField("actionPrototype", required: true)]
public EntProtoId ActionPrototype;
[DataField, AutoNetworkedField]
public EntityUid? ActionEntity;
///
/// What mob states the action will appear in
///
[DataField("allowedStates"), ViewVariables(VVAccess.ReadWrite)]
public List AllowedStates = new();
///
/// The text that appears when attempting to split.
///
[DataField("popupText")]
public string PopupText = "diona-gib-action-use";
}