Blindness rework - damaged eyes are now a stylized simulation of legal blindness (#23212)
* blindness rework - damaged eyes now simulate legal blindness * hEY THATS FOR DEMONSTRATION PURPOSES ONLY AAA * attributions * makes eyeclosecomponent adminbus compatible * useshader(null)
This commit is contained in:
@@ -9,6 +9,15 @@ namespace Content.Shared.Eye.Blinding.Components;
|
||||
[NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class VisionCorrectionComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Amount of effective eye damage to add when this item is worn
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("visionBonus"), AutoNetworkedField]
|
||||
public float VisionBonus = 3f;
|
||||
public float VisionBonus = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// Controls the exponent of the blur effect when worn
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("correctionPower"), AutoNetworkedField]
|
||||
public float CorrectionPower = 2f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user