2024-09-10 23:33:41 -04:00
|
|
|
using Content.Shared.Maps;
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2025-05-18 03:10:30 +10:00
|
|
|
namespace Content.Shared.Procedural.DungeonLayers;
|
2024-07-03 22:23:11 +10:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fills unreserved tiles with the specified entity prototype.
|
|
|
|
|
/// </summary>
|
2025-07-03 20:48:04 +02:00
|
|
|
/// <remarks>
|
|
|
|
|
/// DungeonData keys are:
|
|
|
|
|
/// - Fill
|
|
|
|
|
/// </remarks>
|
2024-09-10 23:33:41 -04:00
|
|
|
public sealed partial class FillGridDunGen : IDunGenLayer
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Tiles the fill can occur on.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
public HashSet<ProtoId<ContentTileDefinition>>? AllowedTiles;
|
2025-05-18 03:10:30 +10:00
|
|
|
|
|
|
|
|
[DataField(required: true)]
|
|
|
|
|
public EntProtoId Entity;
|
2024-09-10 23:33:41 -04:00
|
|
|
}
|