Emergency Lights now changes color depending on alert level and whether or not the light is powered. (#26932)

* Emergency Lights now change color depending on alert level and whether or not they are powered.

* Made a condition for null alert level, added summary doc.

* Refactored uid and emergencylightcomponent into Entity<EmergencyLightComponent>
This commit is contained in:
superjj18
2024-04-18 06:50:08 -04:00
committed by GitHub
parent 7b94e244b3
commit ebf87be9f2
4 changed files with 80 additions and 35 deletions

View File

@@ -14,7 +14,7 @@ public sealed partial class EmergencyLightComponent : SharedEmergencyLightCompon
/// <summary>
/// Is this emergency light forced on for some reason and cannot be disabled through normal means
/// (i.e. delta alert level?)
/// (i.e. blue alert or higher?)
/// </summary>
public bool ForciblyEnabled = false;