using Content.Shared.Tag; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; using Robust.Shared.Utility; namespace Content.Shared.Procedural; [Prototype("dungeonRoom")] public sealed class DungeonRoomPrototype : IPrototype { [IdDataField] public string ID { get; } = string.Empty; [ViewVariables(VVAccess.ReadWrite), DataField("tags", customTypeSerializer:typeof(PrototypeIdListSerializer))] public List Tags = new(); [DataField("size", required: true)] public Vector2i Size; /// /// Path to the file to use for the room. /// [DataField("atlas", required: true)] public ResPath AtlasPath; /// /// Tile offset into the atlas to use for the room. /// [DataField("offset", required: true)] public Vector2i Offset; }