2024-03-23 21:37:18 -06:00
|
|
|
using Content.Shared.Storage;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Procedural.PostGeneration;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Adds entities randomly to the corridors.
|
|
|
|
|
/// </summary>
|
2024-07-03 22:23:11 +10:00
|
|
|
public sealed partial class CorridorClutterDunGen : IDunGenLayer
|
2024-03-23 21:37:18 -06:00
|
|
|
{
|
|
|
|
|
[DataField]
|
|
|
|
|
public float Chance = 0.05f;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The default starting bulbs
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField(required: true)]
|
|
|
|
|
public List<EntitySpawnEntry> Contents = new();
|
|
|
|
|
}
|