mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
18 lines
517 B
C#
18 lines
517 B
C#
using Content.Shared.Actions;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Overlays.Switchable;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class ThermalVisionComponent : SwitchableOverlayComponent
|
|
{
|
|
public override string? ToggleAction { get; set; } = "ToggleThermalVision";
|
|
|
|
public override Color Color { get; set; } = Color.FromHex("#F84742");
|
|
|
|
[DataField]
|
|
public float LightRadius = 5f;
|
|
}
|
|
|
|
public sealed partial class ToggleThermalVisionEvent : InstantActionEvent;
|