using Content.Shared.Whitelist; namespace Content.Server.Procedural; /// /// Marker that indicates the specified room prototype should occupy this space. /// [RegisterComponent] public sealed partial class RoomFillComponent : Component { /// /// Are we allowed to rotate room templates? /// If the room is not a square this will only do 180 degree rotations. /// [DataField] public bool Rotation = true; /// /// Min size of the possible selected room. /// [DataField] public Vector2i MinSize = new (3, 3); /// /// Max size of the possible selected room. /// [DataField] public Vector2i MaxSize = new (10, 10); /// /// Rooms allowed for the marker. /// [DataField] public EntityWhitelist? RoomWhitelist; /// /// Should any existing entities / decals be bulldozed first. /// [DataField] public bool ClearExisting = true; }