From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 27 Nov 2024 05:55:14 +0000 (+0100) Subject: Fix windoor and high security door not showing electrocution HUD (#33551) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8ea388b30992a70f67d9af53a7b0871636d273b4;p=space-station-14.git Fix windoor and high security door not showing electrocution HUD (#33551) --- diff --git a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/highsec.yml b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/highsec.yml index 2338b66f87..ea8b866e77 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Airlocks/highsec.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Airlocks/highsec.yml @@ -27,6 +27,11 @@ shader: unshaded - state: panel_open map: ["enum.WiresVisualLayers.MaintenancePanel"] + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: ["enum.ElectrifiedLayers.HUD"] - type: AnimationPlayer - type: Physics - type: Fixtures @@ -66,6 +71,7 @@ containerAccessProvider: board - type: Appearance - type: WiresVisuals + - type: ElectrocutionHUDVisuals - type: ApcPowerReceiver powerLoad: 20 - type: ExtensionCableReceiver diff --git a/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml b/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml index c011d6424c..81ef89997d 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Windoors/base_structurewindoors.yml @@ -43,6 +43,11 @@ map: ["enum.DoorVisualLayers.BaseEmergencyAccess"] - state: panel_open map: ["enum.WiresVisualLayers.MaintenancePanel"] + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: ["enum.ElectrifiedLayers.HUD"] - type: AnimationPlayer - type: ApcPowerReceiver - type: ExtensionCableReceiver @@ -138,6 +143,7 @@ type: WiresBoundUserInterface - type: Appearance - type: WiresVisuals + - type: ElectrocutionHUDVisuals - type: Airtight noAirWhenFullyAirBlocked: false airBlockedDirection: @@ -177,6 +183,11 @@ - state: panel_open map: [ "enum.WiresVisualLayers.MaintenancePanel" ] visible: false + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: [ "enum.ElectrifiedLayers.HUD" ] - type: Damageable damageModifierSet: RGlass - type: Destructible @@ -238,6 +249,11 @@ - state: panel_open map: [ "enum.WiresVisualLayers.MaintenancePanel" ] visible: false + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: [ "enum.ElectrifiedLayers.HUD" ] - type: Destructible thresholds: - trigger: @@ -294,6 +310,11 @@ - state: panel_open map: [ "enum.WiresVisualLayers.MaintenancePanel" ] visible: false + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: ["enum.ElectrifiedLayers.HUD"] - type: Destructible thresholds: - trigger: @@ -355,6 +376,11 @@ - state: panel_open map: [ "enum.WiresVisualLayers.MaintenancePanel" ] visible: false + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: [ "enum.ElectrifiedLayers.HUD" ] - type: Destructible thresholds: - trigger: @@ -411,6 +437,11 @@ - state: panel_open map: [ "enum.WiresVisualLayers.MaintenancePanel" ] visible: false + - state: electrified + sprite: Interface/Misc/ai_hud.rsi + shader: unshaded + visible: false + map: [ "enum.ElectrifiedLayers.HUD" ] - type: Destructible thresholds: - trigger: