* Revert "Fix world generation (#38713)" This reverts commit10fa6ff4af. * Revert "Biome rework (#37735)" This reverts commitfe7b96147c.
34 lines
869 B
C#
34 lines
869 B
C#
using Content.Shared.EntityTable;
|
|
using Content.Shared.Maps;
|
|
using Content.Shared.Storage;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Procedural.PostGeneration;
|
|
|
|
/// <summary>
|
|
/// Places the specified entities on the middle connections between rooms
|
|
/// </summary>
|
|
public sealed partial class MiddleConnectionDunGen : IDunGenLayer
|
|
{
|
|
/// <summary>
|
|
/// How much overlap there needs to be between 2 rooms exactly.
|
|
/// </summary>
|
|
[DataField]
|
|
public int OverlapCount = -1;
|
|
|
|
/// <summary>
|
|
/// How many connections to spawn between rooms.
|
|
/// </summary>
|
|
[DataField]
|
|
public int Count = 1;
|
|
|
|
[DataField(required: true)]
|
|
public ProtoId<ContentTileDefinition> Tile;
|
|
|
|
[DataField(required: true)]
|
|
public ProtoId<EntityTablePrototype> Contents;
|
|
|
|
[DataField]
|
|
public ProtoId<EntityTablePrototype>? Flank;
|
|
}
|