]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Make the pipe layer of freezers/heaters snaps to cardinals on eye rotation (#16391)
authorMenshin <Menshin@users.noreply.github.com>
Mon, 15 May 2023 03:19:04 +0000 (05:19 +0200)
committerGitHub <noreply@github.com>
Mon, 15 May 2023 03:19:04 +0000 (23:19 -0400)
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/unary.yml

index f35425c048fb6696aa039f20011ce68cd79dce57..b6150902b5eef485e4f4018242c659c4f2928d99 100644 (file)
     - type: Sprite
       netsync: false
       sprite: Structures/Piping/Atmospherics/thermomachine.rsi
-      noRot: true
+      snapCardinals: true
     - type: Appearance
     - type: PipeColorVisuals
     - type: Rotatable
     mode: SnapgridCenter
   components:
     - type: Sprite
+      granularLayersRendering: true
       layers:
         - state: freezerOff
           map: [ "enum.PowerDeviceVisualLayers.Powered" ]
           map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
         - state: pipe
           map: [ "enum.PipeVisualLayers.Pipe" ]
+          renderingStrategy: Default
     - type: GenericVisualizer
       visuals:
         enum.PowerDeviceVisuals.Powered:
     mode: SnapgridCenter
   components:
     - type: Sprite
+      granularLayersRendering : true
       layers:
         - state: heaterOff
           map: [ "enum.PowerDeviceVisualLayers.Powered" ]
           map: ["enum.WiresVisualLayers.MaintenancePanel"]
         - state: pipe
           map: [ "enum.PipeVisualLayers.Pipe" ]
+          renderingStrategy: Default
     - type: GenericVisualizer
       visuals:
         enum.PowerDeviceVisuals.Powered: