2022-10-15 17:39:30 -04:00
|
|
|
using Content.Shared.Construction.Prototypes;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
2022-04-15 18:53:52 -04:00
|
|
|
namespace Content.Server.Bed.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class StasisBedComponent : Component
|
2022-04-15 18:53:52 -04:00
|
|
|
{
|
2022-10-15 17:39:30 -04:00
|
|
|
[DataField("baseMultiplier", required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float BaseMultiplier = 10f;
|
|
|
|
|
|
2022-04-15 18:53:52 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// What the metabolic update rate will be multiplied by (higher = slower metabolism)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public float Multiplier = 10f;
|
2022-10-15 17:39:30 -04:00
|
|
|
|
|
|
|
|
[DataField("machinePartMetabolismModifier", customTypeSerializer: typeof(PrototypeIdSerializer<MachinePartPrototype>))]
|
2023-04-28 23:23:49 -04:00
|
|
|
public string MachinePartMetabolismModifier = "Capacitor";
|
2022-04-15 18:53:52 -04:00
|
|
|
}
|
|
|
|
|
}
|