* DungeonData rework Back to fields, serializes better, just make new layers dumby. * wawawewa * Fix this * Fixes * review * thanks fork * fix
18 lines
422 B
C#
18 lines
422 B
C#
using Content.Shared.EntityTable;
|
|
using Content.Shared.Storage;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Procedural.PostGeneration;
|
|
|
|
/// <summary>
|
|
/// Spawns entities inside corners.
|
|
/// </summary>
|
|
public sealed partial class CornerClutterDunGen : IDunGenLayer
|
|
{
|
|
[DataField]
|
|
public float Chance = 0.50f;
|
|
|
|
[DataField(required:true)]
|
|
public ProtoId<EntityTablePrototype> Contents = new();
|
|
}
|