Specifiable dock colours + stripeback displays (#9566)

This commit is contained in:
metalgearsloth
2022-07-09 19:25:32 +10:00
committed by GitHub
parent 1405decbd7
commit 860db2bd14
7 changed files with 33 additions and 8 deletions

View File

@@ -15,5 +15,17 @@ namespace Content.Server.Shuttles.Components
[ViewVariables]
public override bool Docked => DockedWith != null;
/// <summary>
/// Color that gets shown on the radar screen.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("radarColor")]
public Color RadarColor = Color.DarkViolet;
/// <summary>
/// Color that gets shown on the radar screen when the dock is highlighted.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("highlightedRadarColor")]
public Color HighlightedRadarColor = Color.Magenta;
}
}