using Content.Shared.Maps; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Procedural.PostGeneration; /// /// Places the specified entities on the middle connections between rooms /// public sealed partial class MiddleConnectionPostGen : IPostDunGen { /// /// How much overlap there needs to be between 2 rooms exactly. /// [DataField("overlapCount")] public int OverlapCount = -1; /// /// How many connections to spawn between rooms. /// [DataField("count")] public int Count = 1; [DataField("tile", customTypeSerializer:typeof(PrototypeIdSerializer))] public string Tile = "FloorSteel"; [DataField("entities", customTypeSerializer: typeof(PrototypeIdListSerializer))] public List Entities = new() { "CableApcExtension", "AirlockGlass" }; /// /// If overlap > 1 then what should spawn on the edges. /// [DataField("edgeEntities")] public List EdgeEntities = new(); }