Skip to content

Commit

Permalink
AI vision and interaction wires can be added to the same wire panel
Browse files Browse the repository at this point in the history
  • Loading branch information
chromiumboy committed Oct 13, 2024
1 parent 127fd09 commit 2beb807
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Silicons/StationAi/AiVisionWireAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ namespace Content.Server.Silicons.StationAi;
public sealed partial class AiVisionWireAction : ComponentWireAction<StationAiVisionComponent>
{
public override string Name { get; set; } = "wire-name-ai-vision-light";
public override Color Color { get; set; } = Color.DeepSkyBlue;
public override object StatusKey => AirlockWireStatus.AiControlIndicator;
public override Color Color { get; set; } = Color.White;
public override object StatusKey => AirlockWireStatus.AiVisionIndicator;

public override StatusLightState? GetLightState(Wire wire, StationAiVisionComponent component)
{
Expand Down
3 changes: 2 additions & 1 deletion Content.Shared/Doors/AirlockWireStatus.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Robust.Shared.Serialization;
using Robust.Shared.Serialization;

namespace Content.Shared.Doors
{
Expand All @@ -9,6 +9,7 @@ public enum AirlockWireStatus
BoltIndicator,
BoltLightIndicator,
AiControlIndicator,
AiVisionIndicator,
TimingIndicator,
SafetyIndicator,
}
Expand Down

0 comments on commit 2beb807

Please sign in to comment.