* Adds blinding + blindfolds * Don't break examining lol * moment * fix toggle lights behavior * move checks around * Sloth review * Added a salvage funny * review * woops * Switch circle shader Co-authored-by: wrexbe <wrexbe@protonmail.com>
27 lines
758 B
C#
27 lines
758 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Eye.Blinding
|
|
{
|
|
[RegisterComponent]
|
|
[NetworkedComponent]
|
|
public sealed class BlindableComponent : Component
|
|
{
|
|
/// <description>
|
|
/// How many sources of blindness are affecting us?
|
|
/// </description>
|
|
[DataField("sources")]
|
|
public int Sources = 0;
|
|
|
|
/// <description>
|
|
/// Used to ensure that this doesn't break with sandbox or admin tools.
|
|
/// This is not "enabled/disabled".
|
|
/// </description>
|
|
public bool LightSetup = false;
|
|
|
|
/// <description>
|
|
/// Gives an extra frame of blindness to reenable light manager during
|
|
/// </description>
|
|
public bool GraceFrame = false;
|
|
}
|
|
}
|