2023-04-29 17:32:14 +12:00
|
|
|
namespace Content.Shared.Eye.Blinding.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// For welding masks, sunglasses, etc.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class EyeProtectionComponent : Component
|
2023-04-29 17:32:14 +12:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// How many seconds to subtract from the status effect. If it's greater than the source
|
|
|
|
|
/// of blindness, do not blind.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("protectionTime")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public TimeSpan ProtectionTime = TimeSpan.FromSeconds(10);
|
2023-04-29 17:32:14 +12:00
|
|
|
}
|