diff --git a/Content.Shared/GameObjects/DrawDepth.cs b/Content.Shared/GameObjects/DrawDepth.cs new file mode 100644 index 0000000000..1b4520b8f9 --- /dev/null +++ b/Content.Shared/GameObjects/DrawDepth.cs @@ -0,0 +1,27 @@ +using DrawDepthTag = Robust.Shared.GameObjects.DrawDepth; +using Robust.Shared.Serialization; + +namespace Content.Shared.GameObjects +{ + [ConstantsFor(typeof(DrawDepthTag))] + public enum DrawDepth + { + LowFloors = DrawDepthTag.Default - 7, + /// + /// Things that are beneath regular floors, such as wires. + /// + BelowFloor = DrawDepthTag.Default - 6, + FloorTiles = DrawDepthTag.Default - 5, + /// + /// Things that are actually right on the floor, like vents. + /// + FloorObjects = DrawDepthTag.Default - 4, + Walls = DrawDepthTag.Default - 3, + WallTops = DrawDepthTag.Default - 2, + WallMountedItems = DrawDepthTag.Default - 1, + Objects = DrawDepthTag.Default, + Items = DrawDepthTag.Default + 1, + Mobs = DrawDepthTag.Default + 2, + Overlays = DrawDepthTag.Default + 3, + } +} diff --git a/RobustToolbox b/RobustToolbox index 5b9789870b..486fd670e2 160000 --- a/RobustToolbox +++ b/RobustToolbox @@ -1 +1 @@ -Subproject commit 5b9789870b6b4ab4a66c980b757febc3784a8322 +Subproject commit 486fd670e2ea66e45da9801b6b3a0c2fcca84a8d