Files
tbd-station-14/Content.Shared/Toilet/ToiletComponent.cs
2022-07-11 23:04:33 -07:00

24 lines
754 B
C#

using Content.Shared.Sound;
using Content.Shared.Tools;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Toilet
{
[RegisterComponent]
public sealed class ToiletComponent : Component
{
[DataField("pryLidTime")]
public float PryLidTime = 1f;
[DataField("pryingQuality", customTypeSerializer:typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
public string PryingQuality = "Prying";
[DataField("toggleSound")]
public SoundSpecifier ToggleSound = new SoundPathSpecifier("/Audio/Effects/toilet_seat_down.ogg");
public bool LidOpen = false;
public bool IsSeatUp = false;
public bool IsPrying = false;
}
}