Adds explicit draw depth to certain entities (#5489)
* Adds explicit draw depth to certain entities * a little documentation update
This commit is contained in:
@@ -9,11 +9,19 @@ namespace Content.Shared.DrawDepth
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is for sub-floors, the floors you see after prying off a tile.
|
/// This is for sub-floors, the floors you see after prying off a tile.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
LowFloors = DrawDepthTag.Default - 6,
|
LowFloors = DrawDepthTag.Default - 10,
|
||||||
|
|
||||||
|
// various entity types that require different
|
||||||
|
// draw depths, as to avoid hiding
|
||||||
|
#region SubfloorEntities
|
||||||
|
ThickPipe = DrawDepthTag.Default - 9,
|
||||||
|
ThickWire = DrawDepthTag.Default - 8,
|
||||||
|
ThinPipe = DrawDepthTag.Default - 7,
|
||||||
|
ThinWire = DrawDepthTag.Default - 6,
|
||||||
|
#endregion
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Things that are beneath regular floors, such as wires or pipes. vents/scrubbers also use this to ensure
|
/// Things that are beneath regular floors.
|
||||||
/// that they appear below carpets.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
BelowFloor = DrawDepthTag.Default - 5,
|
BelowFloor = DrawDepthTag.Default - 5,
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
acts: ["Destruction"]
|
acts: ["Destruction"]
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Piping/Atmospherics/pipe.rsi
|
sprite: Structures/Piping/Atmospherics/pipe.rsi
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThinPipe
|
||||||
netsync: false
|
netsync: false
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
visuals:
|
visuals:
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
description: A huge pipe segment used for constructing disposal systems
|
description: A huge pipe segment used for constructing disposal systems
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-s
|
state: conpipe-s
|
||||||
- type: DisposalTransit
|
- type: DisposalTransit
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
description: A pipe that tags entities for routing
|
description: A pipe that tags entities for routing
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-tagger
|
state: conpipe-tagger
|
||||||
- type: DisposalTagger
|
- type: DisposalTagger
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
description: A pipe trunk used as an entry point for disposal systems
|
description: A pipe trunk used as an entry point for disposal systems
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-t
|
state: conpipe-t
|
||||||
- type: DisposalEntry
|
- type: DisposalEntry
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
description: A three-way router. Entities with matching tags get routed to the side
|
description: A three-way router. Entities with matching tags get routed to the side
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-j1s
|
state: conpipe-j1s
|
||||||
- type: DisposalRouter
|
- type: DisposalRouter
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
suffix: flipped
|
suffix: flipped
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-j2s
|
state: conpipe-j2s
|
||||||
- type: DisposalRouter
|
- type: DisposalRouter
|
||||||
@@ -185,7 +185,7 @@
|
|||||||
description: A three-way junction. The arrow indicates where items exit
|
description: A three-way junction. The arrow indicates where items exit
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-j1
|
state: conpipe-j1
|
||||||
- type: DisposalJunction
|
- type: DisposalJunction
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
suffix: flipped
|
suffix: flipped
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-j2
|
state: conpipe-j2
|
||||||
- type: DisposalJunction
|
- type: DisposalJunction
|
||||||
@@ -244,7 +244,7 @@
|
|||||||
description: A three-way junction with another exit point.
|
description: A three-way junction with another exit point.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-y
|
state: conpipe-y
|
||||||
- type: DisposalJunction
|
- type: DisposalJunction
|
||||||
@@ -272,7 +272,7 @@
|
|||||||
description: A tube bent at a 90 degree angle.
|
description: A tube bent at a 90 degree angle.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThickPipe
|
||||||
sprite: Structures/Piping/disposal.rsi
|
sprite: Structures/Piping/disposal.rsi
|
||||||
state: conpipe-c
|
state: conpipe-c
|
||||||
- type: DisposalBend
|
- type: DisposalBend
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
anchored: true
|
anchored: true
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
netsync: false
|
||||||
drawdepth: BelowFloor
|
drawdepth: ThinWire
|
||||||
- type: Damageable
|
- type: Damageable
|
||||||
damageContainer: Inorganic
|
damageContainer: Inorganic
|
||||||
damageModifierSet: Metallic
|
damageModifierSet: Metallic
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Power/Cables/hv_cable.rsi
|
sprite: Structures/Power/Cables/hv_cable.rsi
|
||||||
state: hvcable_0
|
state: hvcable_0
|
||||||
|
drawdepth: ThickWire
|
||||||
- type: Icon
|
- type: Icon
|
||||||
sprite: Structures/Power/Cables/hv_cable.rsi
|
sprite: Structures/Power/Cables/hv_cable.rsi
|
||||||
state: hvcable_4
|
state: hvcable_4
|
||||||
|
|||||||
Reference in New Issue
Block a user