Blindness refactor (#15705)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Eye.Blinding.Components;
|
||||
|
||||
/// <summary>
|
||||
/// This component allows equipment to offset blurry vision.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class VisionCorrectionComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("visionBonus"), AutoNetworkedField]
|
||||
public float VisionBonus = 3f;
|
||||
}
|
||||
Reference in New Issue
Block a user