using Content.Shared.FixedPoint; using Robust.Shared.GameStates; namespace Content.Shared._CP14.MagicWeakness; /// /// imposes debuffs on excessive use of magic /// [RegisterComponent, NetworkedComponent] [Access(typeof(CP14SharedMagicWeaknessSystem))] 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; }