]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
convert dwarfs to use ScaleVisualsComponent (#39422)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Wed, 6 Aug 2025 15:50:48 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Aug 2025 15:50:48 +0000 (17:50 +0200)
Resources/Prototypes/Entities/Mobs/Species/dwarf.yml

index e3f0e5a5c125d354c7f0134d43b2e206c903c84b..14a43ced63a9487a78fffdf10f4c28bea0094c9f 100644 (file)
@@ -17,9 +17,7 @@
     damageRecovery:
       types:
         Asphyxiation: -1.0
-  - type: Sprite
-    noRot: true
-    drawdepth: Mobs
+  - type: ScaleVisuals
     scale: 1, 0.8
   - type: Body
     prototype: Dwarf
@@ -69,7 +67,7 @@
   id: MobDwarfDummy
   categories: [ HideSpawnMenu ]
   components:
-  - type: Sprite
+  - type: ScaleVisuals
     scale: 1, 0.8
   - type: Inventory
     femaleDisplacements: