Files
crystall-punk-14/Content.Shared/_CP14/MagicSpellStorage/Components/CP14SpellStorageComponent.cs
Ed b647583b7b Silva species gameplay difference (#701)
* plant growth spell, silva photosyntesis

* playable species guidebook

* fixes
2025-01-06 03:31:59 +03:00

29 lines
800 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.MagicSpellStorage.Components;
/// <summary>
/// A component that allows you to store spells in items
/// </summary>
[RegisterComponent, Access(typeof(CP14SpellStorageSystem))]
public sealed partial class CP14SpellStorageComponent : Component
{
/// <summary>
/// Set true when giving starting abilities to creatures in this way
/// </summary>
[DataField]
public bool GrantAccessToSelf = false;
/// <summary>
/// list of spell prototypes used for initialization.
/// </summary>
[DataField]
public List<EntProtoId> Spells = new();
/// <summary>
/// created after the initialization of spell entities.
/// </summary>
[DataField]
public List<EntityUid> SpellEntities = new();
}