Files
wwdpublic/Content.Shared/Overlays/Switchable/ThermalVisionComponent.cs
Spatison d6627f292e [Fix] Thermal Vision (#496)
* fix

* Revert "fix"

This reverts commit 0f97aa6bc7.

* fix
2025-05-17 14:29:32 +03:00

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;