diff --git a/Content.Shared/DrawDepth/DrawDepth.cs b/Content.Shared/DrawDepth/DrawDepth.cs index 456c1793fc..e15b4b9e62 100644 --- a/Content.Shared/DrawDepth/DrawDepth.cs +++ b/Content.Shared/DrawDepth/DrawDepth.cs @@ -78,22 +78,27 @@ namespace Content.Shared.DrawDepth Doors = DrawDepthTag.Default + 5, + /// + /// Blast doors and shutters which go over the usual doors. + /// + BlastDoors = DrawDepthTag.Default + 6, + /// /// Stuff that needs to draw over most things, but not effects, like Kudzu. /// - Overdoors = DrawDepthTag.Default + 6, + Overdoors = DrawDepthTag.Default + 7, /// /// Explosions, fire, melee swings. Whatever. /// - Effects = DrawDepthTag.Default + 7, + Effects = DrawDepthTag.Default + 8, - Ghosts = DrawDepthTag.Default + 8, + Ghosts = DrawDepthTag.Default + 9, /// /// 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. /// - Overlays = DrawDepthTag.Default + 9, + Overlays = DrawDepthTag.Default + 10, } } diff --git a/Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml b/Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml index 021e68ee75..e4b9e574c7 100644 --- a/Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml +++ b/Resources/Prototypes/Entities/Structures/Doors/Shutter/shutters.yml @@ -1,4 +1,4 @@ -- type: entity +- type: entity id: BaseShutter parent: BaseStructure name: shutter @@ -9,7 +9,7 @@ components: - type: Sprite sprite: Structures/Doors/Shutters/shutters.rsi - drawdepth: Overdoors + drawdepth: BlastDoors layers: - state: closed map: ["enum.DoorVisualLayers.Base"] @@ -33,6 +33,8 @@ containers: board: !type:Container - type: Door + openDrawDepth: BlastDoors + closedDrawDepth: BlastDoors bumpOpen: false clickOpen: false closeTimeOne: 0.2