using Content.Shared.Maps; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Procedural.PostGeneration; /// /// Iterates room edges and places the relevant tiles and walls on any free indices. /// public sealed partial class BoundaryWallPostGen : IPostDunGen { [DataField] public ProtoId Tile = "FloorSteel"; [DataField] public EntProtoId Wall = "WallSolid"; /// /// Walls to use in corners if applicable. /// [DataField] public string? CornerWall; [DataField] public BoundaryWallFlags Flags = BoundaryWallFlags.Corridors | BoundaryWallFlags.Rooms; } [Flags] public enum BoundaryWallFlags : byte { Rooms = 1 << 0, Corridors = 1 << 1, }