Files
crystall-punk-14/Content.Shared/Procedural/DungeonRoomPackPrototype.cs

18 lines
513 B
C#
Raw Normal View History

2023-03-10 16:41:22 +11:00
using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("dungeonRoomPack")]
public sealed partial class DungeonRoomPackPrototype : IPrototype
2023-03-10 16:41:22 +11:00
{
[IdDataField]
public string ID { get; private set; } = string.Empty;
2023-03-10 16:41:22 +11:00
/// <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();
}