Specify drawdepth layers for some objects (#18917)

* Specify drawdepth layers for some objects

TV, buttons, timers, levers.

* Fix line placement
This commit is contained in:
Vordenburg
2023-08-13 03:27:02 -04:00
committed by GitHub
parent c90de7c743
commit cd80ba392f
3 changed files with 7 additions and 0 deletions

View File

@@ -5,6 +5,7 @@
description: Finally, some decent reception around here...
components:
- type: Sprite
drawdepth: SmallObjects
layers:
- map: ["computerLayerBody"]
state: television

View File

@@ -14,6 +14,7 @@
- type: Physics
canCollide: false
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Wallmounts/switch.rsi
state: on
- type: SignalSwitch
@@ -50,6 +51,7 @@
- type: Physics
canCollide: false
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Wallmounts/switch.rsi
state: dead
- type: UseDelay
@@ -109,6 +111,7 @@
- type: Transform
anchored: true
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Wallmounts/switch.rsi
state: on
- type: Rotatable
@@ -133,6 +136,7 @@
- type: Clickable
- type: InteractionOutline
- type: Sprite
drawdepth: FloorObjects
sprite: Structures/conveyor.rsi
layers:
- state: switch-off

View File

@@ -14,6 +14,7 @@
- type: Clickable
- type: InteractionOutline
- type: Sprite
drawdepth: SmallObjects
sprite: Structures/Wallmounts/switch.rsi
state: on
- type: Appearance
@@ -51,6 +52,7 @@
canEditLabel: true
- type: TextScreenVisuals
- type: Sprite
drawdepth: WallMountedItems
sprite: Structures/Wallmounts/textscreen.rsi
state: textscreen
noRot: true