Files
tbd-station-14/Content.Shared/Procedural/DungeonRoomPackPrototype.cs

18 lines
505 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("dungeonRoomPack")]
public sealed class DungeonRoomPackPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = string.Empty;
/// <summary>
/// Used to associate the room pack with other room packs with the same dimensions.
/// </summary>
[DataField("size", required: true)] public Vector2i Size;
[DataField("rooms", required: true)] public List<Box2i> Rooms = new();
}