21 lines
580 B
C#
21 lines
580 B
C#
using Content.Shared._CP14.MagicRituals.Requirements;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Server._CP14.MagicRituals.Components;
|
|
|
|
/// <summary>
|
|
/// Magical entity that reacts to world events
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CP14RitualSystem))]
|
|
public sealed partial class CP14MagicRitualPhaseComponent : Component
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[DataField]
|
|
public Entity<CP14MagicRitualComponent>? Ritual;
|
|
|
|
[DataField(required: true)]
|
|
public Dictionary<EntProtoId, List<CP14RitualRequirement>> Requirements = new();
|
|
}
|