Термалки (#466)

* - add: Rewrite night vision.

* - add: Thermals.

* - remove: Remove stuff from maps.

* - fix: Descriptions.
This commit is contained in:
Aviu00
2024-07-19 16:27:01 +00:00
committed by GitHub
parent 42b4aa4cef
commit 781e266fc2
36 changed files with 514 additions and 138 deletions

View File

@@ -0,0 +1,19 @@
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");
}