Teach the crew monitoring console what death is
This commit is contained in:
@@ -232,6 +232,13 @@ public sealed partial class CrewMonitoringWindow : FancyWindow
|
||||
// Specify texture for the user status icon
|
||||
var specifier = new SpriteSpecifier.Rsi(new ResPath("Interface/Alerts/human_crew_monitoring.rsi"), "alive");
|
||||
|
||||
// Begin Offbrand Additions
|
||||
if (sensor.WoundableData?.AnyVitalCritical == true)
|
||||
{
|
||||
specifier = new SpriteSpecifier.Rsi(new ResPath("Interface/Alerts/human_crew_monitoring.rsi"), "critical");
|
||||
}
|
||||
// End Offbrand Additions
|
||||
|
||||
if (!sensor.IsAlive)
|
||||
{
|
||||
specifier = new SpriteSpecifier.Rsi(new ResPath("Interface/Alerts/human_crew_monitoring.rsi"), "dead");
|
||||
@@ -249,12 +256,6 @@ public sealed partial class CrewMonitoringWindow : FancyWindow
|
||||
// specifier = new SpriteSpecifier.Rsi(new ResPath("Interface/Alerts/human_crew_monitoring.rsi"), "health" + index);
|
||||
// }
|
||||
// End Offbrand Removals
|
||||
// Begin Offbrand Additions
|
||||
if (sensor.WoundableData?.AnyVitalCritical == true)
|
||||
{
|
||||
specifier = new SpriteSpecifier.Rsi(new ResPath("Interface/Alerts/human_crew_monitoring.rsi"), "critical");
|
||||
}
|
||||
// End Offbrand Additions
|
||||
|
||||
// Status icon
|
||||
var statusIcon = new AnimatedTextureRect
|
||||
|
||||
Reference in New Issue
Block a user