2024-02-07 00:40:41 +09:00
|
|
|
using Content.Shared.Actions;
|
|
|
|
|
using Robust.Shared.Audio;
|
2024-01-26 17:36:10 +07:00
|
|
|
using Robust.Shared.GameStates;
|
2024-02-07 00:40:41 +09:00
|
|
|
using Robust.Shared.Prototypes;
|
2024-01-26 17:36:10 +07:00
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
namespace Content.Shared._White.Overlays;
|
2024-01-26 17:36:10 +07:00
|
|
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
2024-07-21 11:30:47 +00:00
|
|
|
public sealed partial class NightVisionComponent : BaseEnhancedVisionComponent
|
2024-01-26 17:36:10 +07:00
|
|
|
{
|
2024-02-07 00:40:41 +09:00
|
|
|
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
2024-07-19 16:27:01 +00:00
|
|
|
public override Color Color { get; set; } = Color.FromHex("#98FB98");
|
2024-02-07 00:40:41 +09:00
|
|
|
|
2024-07-20 05:08:01 +03:00
|
|
|
[DataField]
|
2024-07-21 11:30:47 +00:00
|
|
|
public override EntProtoId? ToggleAction { get; set; } = "ToggleNightVision";
|
2024-02-07 00:40:41 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public sealed partial class ToggleNightVisionEvent : InstantActionEvent
|
|
|
|
|
{
|
2024-01-26 17:36:10 +07:00
|
|
|
}
|