using Content.Shared.DoAfter;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Medical;
///
/// This for penlights; a tool used to check for eye damage.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentPause]
public sealed partial class PenLightComponent : Component
{
///
/// Cooldown Time, exams take a bit
///
[AutoPausedField]
public TimeSpan? NextExamTime;
///
/// The min time between exams
///
[DataField]
public TimeSpan ExamDelay = TimeSpan.FromSeconds(3);
///
/// How long the doafter for the exam takes
///
[DataField(required: true)]
public float ExamSpeed { get; set; }
}
[Serializable, NetSerializable]
public sealed partial class PenLightDoAfterEvent : SimpleDoAfterEvent { }