fish-station/Content.Shared/_Sunrise/Interrogator/InterrogatorComponent.cs
Vigers Ray f84969630d
Диверсионный отряд (#985)
* Диверсионный отряд

* фиксы

* фиксы линтера

* Спрайт терминала икаруса

* фикс пинпоинтера

* Доработки ДО

* Фиксы удалённого управления шаттлом

* Не запускать ДО если на может быть меньше 3 глав
2025-01-01 07:53:31 +03:00

38 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Robust.Shared.Audio;
using Robust.Shared.Containers;
using Robust.Shared.Serialization;
namespace Content.Shared._Sunrise.Interrogator;
[RegisterComponent]
public sealed partial class InterrogatorComponent : Component
{
[ViewVariables]
public ContainerSlot BodyContainer = default!;
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float ExtractionTime = 30f;
[ViewVariables]
public float ExtractionProgress = 0;
public EntityUid? PlayingStream;
[ViewVariables(VVAccess.ReadWrite)]
[DataField("entryDelay")]
public float EntryDelay = 2f;
// SUNRISE-TODO: Более подходящий звук работы, мейби взять из сс13
[DataField("extractingSound")]
public SoundSpecifier ExtractingSound = new SoundPathSpecifier("/Audio/Machines/microwave_loop.ogg");
[DataField("extractDoneSound")]
public SoundSpecifier ExtractDoneSound = new SoundPathSpecifier("/Audio/_Sunrise/Interrogator/ding.ogg");
[Serializable, NetSerializable]
public enum InterrogatorVisuals : byte
{
ContainsEntity,
IsOn
}
}