* delete skill trees
* Revert "delete skill trees"
This reverts commit 9d7fae73c4.
* learning refactor
* UI tweaks
* sword mastery skill
* telegraphy
* rapier mastery
* research table ui
* finish studing
* polish UI researching
* pyrokinetic
* more skill tree working
* heat adapt
* alchemist and metamagic update
* skill multiple effects support + metamagic bugg manapool
* impossible 😢
* skimitar gaming
* skimidi
* blacksmithing branch
* remove research restrictions
* remove species magic buff
* fix loc
* Update thaumaturgy.yml
* pip
* Delete skill_tree.yml
32 lines
869 B
C#
32 lines
869 B
C#
|
|
using Content.Shared._CP14.Skill.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._CP14.Skill.Effects;
|
|
|
|
public sealed partial class AddComponents : CP14SkillEffect
|
|
{
|
|
[DataField(required: true)]
|
|
public ComponentRegistry Components = new();
|
|
|
|
public override void AddSkill(IEntityManager entManager, EntityUid target)
|
|
{
|
|
entManager.AddComponents(target, Components);
|
|
}
|
|
|
|
public override void RemoveSkill(IEntityManager entManager, EntityUid target)
|
|
{
|
|
entManager.RemoveComponents(target, Components);
|
|
}
|
|
|
|
public override string? GetName(IEntityManager entMagager, IPrototypeManager protoManager)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public override string? GetDescription(IEntityManager entMagager, IPrototypeManager protoManager, ProtoId<CP14SkillPrototype> skill)
|
|
{
|
|
return null;
|
|
}
|
|
}
|