using Content.Shared.Alert;
using Content.Shared.FixedPoint;
using Robust.Shared.Prototypes;
using Robust.Shared.GameStates;
namespace Content.Shared._CP14.MagicEnergy.Components;
///
/// Allows an item to store magical energy within itself.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(CP14SharedMagicEnergySystem))]
public sealed partial class CP14MagicEnergyContainerComponent : Component
{
[DataField, AutoNetworkedField]
public FixedPoint2 Energy = 0;
[DataField, AutoNetworkedField]
public FixedPoint2 MaxEnergy = 100;
[DataField, AutoNetworkedField]
public ProtoId? MagicAlert;
///
/// Does this container support unsafe energy manipulation?
///
[DataField, AutoNetworkedField]
public bool UnsafeSupport;
}