using Content.Shared.Damage; namespace Content.Server.Bed.Components { [RegisterComponent] public sealed partial class HealOnBuckleComponent : Component { /// /// Damage to apply to entities that are strapped to this entity. /// [DataField(required: true)] public DamageSpecifier Damage = default!; /// /// How frequently the damage should be applied, in seconds. /// [DataField(required: false)] public float HealTime = 1f; /// /// Damage multiplier that gets applied if the entity is sleeping. /// [DataField] public float SleepMultiplier = 3f; public TimeSpan NextHealTime = TimeSpan.Zero; //Next heal [DataField] public EntityUid? SleepAction; } }