Files
OldThink/Content.Shared/_White/Overlays/BaseNvOverlayComponent.cs
Aviu00 781e266fc2 Термалки (#466)
* - add: Rewrite night vision.

* - add: Thermals.

* - remove: Remove stuff from maps.

* - fix: Descriptions.
2024-07-19 19:27:01 +03:00

20 lines
751 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared._White.Overlays;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public abstract partial class BaseNvOverlayComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public virtual Vector3 Tint { get; set; } = new(0.3f, 0.3f, 0.3f);
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public virtual float Strength { get; set; } = 2f;
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public virtual float Noise { get; set; } = 0.5f;
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public virtual Color Color { get; set; } = Color.FromHex("#98FB98");
}