Files
crystall-punk-14/Content.Shared/Procedural/DungeonGenerators/PrefabDunGen.cs

25 lines
665 B
C#
Raw Normal View History

using Content.Shared.Maps;
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
2023-03-10 16:41:22 +11:00
namespace Content.Shared.Procedural.DungeonGenerators;
/// <summary>
/// Places rooms in pre-selected pack layouts. Chooses rooms from the specified whitelist.
/// </summary>
/// <remarks>
public sealed partial class PrefabDunGen : IDunGenLayer
2023-03-10 16:41:22 +11:00
{
/// <summary>
/// Room pack presets we can use for this prefab.
/// </summary>
[DataField(required: true)]
public List<ProtoId<DungeonPresetPrototype>> Presets = new();
[DataField]
public EntityWhitelist? RoomWhitelist;
[DataField]
public ProtoId<ContentTileDefinition>? FallbackTile;
2023-03-10 16:41:22 +11:00
}