Salvage dungeons (#14520)
This commit is contained in:
17
Content.Shared/Procedural/DungeonRoomPackPrototype.cs
Normal file
17
Content.Shared/Procedural/DungeonRoomPackPrototype.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Procedural;
|
||||
|
||||
[Prototype("dungeonRoomPack")]
|
||||
public sealed class DungeonRoomPackPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
public string ID { get; } = 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();
|
||||
}
|
||||
Reference in New Issue
Block a user