using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Xenoarchaeology.Artifact.XAE.Components;
///
/// Applies components when effect is activated.
///
[RegisterComponent, Access(typeof(XAEApplyComponentsSystem))]
public sealed partial class XAEApplyComponentsComponent : Component
{
///
/// Components that are permanently added to an entity when the effect's node is entered.
///
[DataField]
public ComponentRegistry Components = new();
///
/// Does adding components need to be done only on first activation.
///
[DataField]
public bool ApplyIfAlreadyHave { get; set; }
///
/// Does component need to be restored when activated 2nd or more times.
///
[DataField]
public bool RefreshOnReactivate { get; set; }
}