using Content.Shared.Maps; using Content.Shared.Tag; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Procedural.DungeonGenerators; /// /// Places rooms in pre-selected pack layouts. Chooses rooms from the specified whitelist. /// public sealed partial class PrefabDunGen : IDunGen { /// /// Rooms need to match any of these tags /// [DataField("roomWhitelist", customTypeSerializer:typeof(PrototypeIdListSerializer))] public List RoomWhitelist = new(); /// /// Room pack presets we can use for this prefab. /// [DataField("presets", required: true, customTypeSerializer:typeof(PrototypeIdListSerializer))] public List Presets = new(); /// /// Fallback tile. /// [DataField("tile", customTypeSerializer:typeof(PrototypeIdSerializer))] public string Tile = "FloorSteel"; }