19 lines
615 B
C#
19 lines
615 B
C#
using Content.Shared.Buckle.Components;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Bed.Components;
|
|
|
|
/// <summary>
|
|
/// A <see cref="StrapComponent"/> that modifies a strapped entity's metabolic rate by the given multiplier
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(SharedBedSystem))]
|
|
public sealed partial class StasisBedComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// What the metabolic update rate will be multiplied by (higher = slower metabolism)
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public float Multiplier = 10f;
|
|
}
|