mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 09:07:27 +00:00
* 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>
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._DV.Psionics.Components.PsionicPowers;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class MassSleepPowerComponent : BasePsionicPowerComponent
|
|
{
|
|
public override EntProtoId ActionProtoId { get; set; } = "ActionMassSleep";
|
|
|
|
public override string PowerName { get; set; } = "psionic-power-name-mass-sleep";
|
|
|
|
public override int MinGlimmerChanged { get; set; } = 15;
|
|
|
|
public override int MaxGlimmerChanged { get; set; } = 30;
|
|
|
|
/// <summary>
|
|
/// The radius to where people will fall asleep.
|
|
/// </summary>
|
|
[DataField]
|
|
public float Radius = 2f;
|
|
|
|
/// <summary>
|
|
/// The duration of the DoAfter. Casting time, per say.
|
|
/// </summary>
|
|
[DataField]
|
|
public TimeSpan UseDelay = TimeSpan.FromSeconds(4);
|
|
|
|
/// <summary>
|
|
/// How long the victims will be asleep.
|
|
/// </summary>
|
|
[DataField]
|
|
public TimeSpan Duration = TimeSpan.FromSeconds(5);
|
|
|
|
/// <summary>
|
|
/// The radius for where people will be warned about being mass slept.
|
|
/// </summary>
|
|
[DataField]
|
|
public float WarningRadius = 6f;
|
|
}
|