diff --git a/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs b/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs index af3e474d08..93b2a29a76 100644 --- a/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs +++ b/Content.Server/Ame/EntitySystems/AmeControllerSystem.cs @@ -263,6 +263,7 @@ public sealed class AmeControllerSystem : EntitySystem { < 10 => AmeControllerState.Fuck, < 50 => AmeControllerState.Critical, + < 80 => AmeControllerState.Warning, _ => AmeControllerState.On, }; diff --git a/Content.Shared/Ame/SharedAmeControllerComponent.cs b/Content.Shared/Ame/SharedAmeControllerComponent.cs index 8dde66724d..11925a82a0 100644 --- a/Content.Shared/Ame/SharedAmeControllerComponent.cs +++ b/Content.Shared/Ame/SharedAmeControllerComponent.cs @@ -69,6 +69,7 @@ public enum AmeControllerVisuals public enum AmeControllerState { On, + Warning, Critical, Fuck, Off, diff --git a/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml b/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml index d12301b3f3..78fdaae01a 100644 --- a/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml +++ b/Resources/Prototypes/Entities/Structures/Power/Generation/ame.yml @@ -67,6 +67,7 @@ display: Off: { visible: false } On: { state: control_on, visible: true } + Warning: { state: control_warning, visible: true } Critical: { state: control_critical, visible: true } Fuck: { state: control_fuck, visible: true } - type: NodeContainer diff --git a/Resources/Textures/Structures/Power/Generation/ame.rsi/control_warning.png b/Resources/Textures/Structures/Power/Generation/ame.rsi/control_warning.png new file mode 100644 index 0000000000..7f64302cdc Binary files /dev/null and b/Resources/Textures/Structures/Power/Generation/ame.rsi/control_warning.png differ diff --git a/Resources/Textures/Structures/Power/Generation/ame.rsi/meta.json b/Resources/Textures/Structures/Power/Generation/ame.rsi/meta.json index 8f1a2b7a31..d63698143c 100644 --- a/Resources/Textures/Structures/Power/Generation/ame.rsi/meta.json +++ b/Resources/Textures/Structures/Power/Generation/ame.rsi/meta.json @@ -89,6 +89,32 @@ }, { "name": "static" + }, + { + "name": "control_warning", + "delays": [ + [ + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1, + 0.1 + ] + ] }, { "name": "control_critical",