From 595d4d5c4614cc4dc9f29313643da516013d0f61 Mon Sep 17 00:00:00 2001 From: Menshin Date: Mon, 15 May 2023 05:19:04 +0200 Subject: [PATCH] Make the pipe layer of freezers/heaters snaps to cardinals on eye rotation (#16391) --- .../Entities/Structures/Piping/Atmospherics/unary.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml index f35425c048..b6150902b5 100644 --- a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml +++ b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml @@ -228,7 +228,7 @@ - type: Sprite netsync: false sprite: Structures/Piping/Atmospherics/thermomachine.rsi - noRot: true + snapCardinals: true - type: Appearance - type: PipeColorVisuals - type: Rotatable @@ -264,6 +264,7 @@ mode: SnapgridCenter components: - type: Sprite + granularLayersRendering: true layers: - state: freezerOff map: [ "enum.PowerDeviceVisualLayers.Powered" ] @@ -271,6 +272,7 @@ map: [ "enum.WiresVisualLayers.MaintenancePanel" ] - state: pipe map: [ "enum.PipeVisualLayers.Pipe" ] + renderingStrategy: Default - type: GenericVisualizer visuals: enum.PowerDeviceVisuals.Powered: @@ -303,6 +305,7 @@ mode: SnapgridCenter components: - type: Sprite + granularLayersRendering : true layers: - state: heaterOff map: [ "enum.PowerDeviceVisualLayers.Powered" ] @@ -310,6 +313,7 @@ map: ["enum.WiresVisualLayers.MaintenancePanel"] - state: pipe map: [ "enum.PipeVisualLayers.Pipe" ] + renderingStrategy: Default - type: GenericVisualizer visuals: enum.PowerDeviceVisuals.Powered: -- 2.51.2