2025-01-17 00:08:13 +03:00
|
|
|
using Content.Shared._CP14.Knowledge.Prototypes;
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared._CP14.Knowledge.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-03-06 18:22:01 +10:00
|
|
|
/// The ability to add a <see cref="CP14KnowledgePrototype"/> to an entity
|
|
|
|
|
/// and quickly teach it some skills.
|
2025-01-17 00:08:13 +03:00
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, Access(typeof(SharedCP14KnowledgeSystem))]
|
|
|
|
|
public sealed partial class CP14AutoAddKnowledgeComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[DataField]
|
2025-03-06 18:22:01 +10:00
|
|
|
public List<ProtoId<CP14KnowledgePrototype>> Knowledge = [];
|
2025-01-17 00:08:13 +03:00
|
|
|
}
|