Files
tbd-station-14/Content.Shared/Traits/Assorted/PermanentBlindnessComponent.cs
metalgearsloth 0a750fd6db Blindness networking (#36623)
* Blindness networking

Nothing actually sets this.

* Update Content.Shared/Traits/Assorted/PermanentBlindnessComponent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-04-16 12:27:25 +02:00

18 lines
473 B
C#

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