using Content.Shared.FixedPoint; namespace Content.Shared._CP14.MagicWeakness; /// /// imposes debuffs on excessive use of magic /// [RegisterComponent, Access(typeof(CP14MagicWeaknessSystem))] public sealed partial class CP14MagicUnsafeSleepComponent : Component { [DataField] public float SleepPerEnergy = 0.5f; /// /// At the specified amount of extra mana expenditure, the character falls asleep. /// [DataField] public FixedPoint2 SleepThreshold = 20f; }