Files
Delta-v/Content.Shared/_DV/Psionics/Components/PsionicPowers/PsionicRegenerationPowerComponent.cs
T
e8287ada86 Mantis Rework Pt. 1 (#5757)
* this works suspiciously well but also it's not actually that much

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* conflict stuff

* and put the tags back in

* halve glimmer created by psionics and alter the knife a bit

* finally add the guidebook. hopefully this passes tests when I take it off a draft

* fix yaml stuff hopefully

* fix merge conflict stuff

* and put my stuff back

* more merge conflicts aaaaaaaa

* dying

* put implants back in

* c# it up

* Apply suggestions from code review

Co-authored-by: pathetic meowmeow <uhhadd@gmail.com>
Signed-off-by: pathetic meowmeow <uhhadd@gmail.com>

* fix some stuff and add mindbreaker to the guidebook

* make audio stuff mono

* aaaaaaaa

---------

Signed-off-by: pathetic meowmeow <uhhadd@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
2026-05-31 20:39:00 +00:00

42 lines
1.3 KiB
C#

using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._DV.Psionics.Components.PsionicPowers;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class PsionicRegenerationPowerComponent : BasePsionicPowerComponent
{
public override EntProtoId ActionProtoId { get; set; } = "ActionPsionicRegeneration";
public override string PowerName { get; set; } = "psionic-power-name-psionic-regeneration";
public override int MinGlimmerChanged { get; set; } = 10;
public override int MaxGlimmerChanged { get; set; } = 20;
/// <summary>
/// How much prometheum essence will be injected into the psionic on full completion.
/// </summary>
[DataField]
public float EssenceAmount = 20;
/// <summary>
/// The reagent ID that will be inserted into the bloodstream.
/// </summary>
[DataField]
public string ReagentId = "Prometheum";
/// <summary>
/// How long the DoAfter lasts.
/// </summary>
[DataField]
public float UseDelay = 8f;
/// <summary>
/// The sound that plays when activating the ability.
/// </summary>
[DataField]
public SoundSpecifier SoundUse = new SoundPathSpecifier("/Audio/Nyanotrasen/Psionics/heartbeat_fast.ogg");
}