Files
tbd-station-14/Content.Shared/Traits/Assorted/PermanentBlindnessComponent.cs
Moomoobeef 1699ddecf8 Adds new "Short-Sighted" trait! (#26037)
* initial commit

* blindness trait now uses minDamage as suggested by deathride

* made fixes for review for shortsightedness

* review appeasal

* removed PermanentPoorVision & merged its functionality into PermanentBlindness
2024-05-09 18:40:49 -07:00

15 lines
418 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Traits.Assorted;
/// <summary>
/// This is used for making something blind forever.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class PermanentBlindnessComponent : Component
{
[ViewVariables(VVAccess.ReadWrite), DataField]
public int Blindness = 0; // How damaged should their eyes be. Set 0 for maximum damage.
}