Add BlastDoors DrawDepth (#18717)
This commit is contained in:
@@ -78,22 +78,27 @@ namespace Content.Shared.DrawDepth
|
|||||||
|
|
||||||
Doors = DrawDepthTag.Default + 5,
|
Doors = DrawDepthTag.Default + 5,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Blast doors and shutters which go over the usual doors.
|
||||||
|
/// </summary>
|
||||||
|
BlastDoors = DrawDepthTag.Default + 6,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stuff that needs to draw over most things, but not effects, like Kudzu.
|
/// Stuff that needs to draw over most things, but not effects, like Kudzu.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Overdoors = DrawDepthTag.Default + 6,
|
Overdoors = DrawDepthTag.Default + 7,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Explosions, fire, melee swings. Whatever.
|
/// Explosions, fire, melee swings. Whatever.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Effects = DrawDepthTag.Default + 7,
|
Effects = DrawDepthTag.Default + 8,
|
||||||
|
|
||||||
Ghosts = DrawDepthTag.Default + 8,
|
Ghosts = DrawDepthTag.Default + 9,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Use this selectively if it absolutely needs to be drawn above (almost) everything else. Examples include
|
/// Use this selectively if it absolutely needs to be drawn above (almost) everything else. Examples include
|
||||||
/// the pointing arrow, the drag & drop ghost-entity, and some debug tools.
|
/// the pointing arrow, the drag & drop ghost-entity, and some debug tools.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Overlays = DrawDepthTag.Default + 9,
|
Overlays = DrawDepthTag.Default + 10,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
- type: entity
|
- type: entity
|
||||||
id: BaseShutter
|
id: BaseShutter
|
||||||
parent: BaseStructure
|
parent: BaseStructure
|
||||||
name: shutter
|
name: shutter
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Structures/Doors/Shutters/shutters.rsi
|
sprite: Structures/Doors/Shutters/shutters.rsi
|
||||||
drawdepth: Overdoors
|
drawdepth: BlastDoors
|
||||||
layers:
|
layers:
|
||||||
- state: closed
|
- state: closed
|
||||||
map: ["enum.DoorVisualLayers.Base"]
|
map: ["enum.DoorVisualLayers.Base"]
|
||||||
@@ -33,6 +33,8 @@
|
|||||||
containers:
|
containers:
|
||||||
board: !type:Container
|
board: !type:Container
|
||||||
- type: Door
|
- type: Door
|
||||||
|
openDrawDepth: BlastDoors
|
||||||
|
closedDrawDepth: BlastDoors
|
||||||
bumpOpen: false
|
bumpOpen: false
|
||||||
clickOpen: false
|
clickOpen: false
|
||||||
closeTimeOne: 0.2
|
closeTimeOne: 0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user