* 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
15 lines
418 B
C#
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.
|
|
}
|
|
|