Render small mobs at an appropriate layer (#8238)

This commit is contained in:
themias
2022-05-17 22:26:27 -04:00
committed by GitHub
parent 50e60638a8
commit 3db9591a48
3 changed files with 12 additions and 7 deletions

View File

@@ -656,7 +656,7 @@
- type: Speech
speechSounds: Squeak
- type: Sprite
drawdepth: FloorObjects
drawdepth: SmallMobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-0
@@ -755,7 +755,7 @@
id: MobMouse1
components:
- type: Sprite
drawdepth: Mobs
drawdepth: SmallMobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-1
@@ -778,7 +778,7 @@
id: MobMouse2
components:
- type: Sprite
drawdepth: Mobs
drawdepth: SmallMobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: mouse-2

View File

@@ -119,7 +119,7 @@
types:
Heat : 1 #per second, scales with temperature & other constants
- type: Sprite
drawdepth: Mobs
drawdepth: SmallMobs
netsync: false
layers:
- state: shell