DungeonRoomPackPrototype.cs 494 B

1234567891011121314151617
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Procedural;
  3. [Prototype]
  4. public sealed partial class DungeonRoomPackPrototype : IPrototype
  5. {
  6. [IdDataField]
  7. public string ID { get; private set; } = string.Empty;
  8. /// <summary>
  9. /// Used to associate the room pack with other room packs with the same dimensions.
  10. /// </summary>
  11. [DataField("size", required: true)] public Vector2i Size;
  12. [DataField("rooms", required: true)] public List<Box2i> Rooms = new();
  13. }