* DungeonData rework Back to fields, serializes better, just make new layers dumby. * wawawewa * Fix this * Fixes * review * thanks fork * fix
21 lines
498 B
C#
21 lines
498 B
C#
using Content.Shared.EntityTable;
|
|
using Content.Shared.Storage;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Procedural.PostGeneration;
|
|
|
|
/// <summary>
|
|
/// Adds entities randomly to the corridors.
|
|
/// </summary>
|
|
public sealed partial class CorridorClutterDunGen : IDunGenLayer
|
|
{
|
|
[DataField]
|
|
public float Chance = 0.05f;
|
|
|
|
/// <summary>
|
|
/// The default starting bulbs
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public ProtoId<EntityTablePrototype> Contents;
|
|
}
|