mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-21 15:38:52 +03:00
* first pass * this shit too * ok fix that shit * buff * actually fix that (cherry picked from commit 3cdd62b0dd880135a4d83f6dcf0be4f1f95c3e8d)
44 lines
1.0 KiB
C#
44 lines
1.0 KiB
C#
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Procedural.DungeonLayers;
|
|
|
|
/// <summary>
|
|
/// Generates veins inside of the specified dungeon.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Generates on top of existing entities for sanity reasons moreso than performance.
|
|
/// </remarks>
|
|
[Virtual]
|
|
public partial class OreDunGen : IDunGenLayer
|
|
{
|
|
/// <summary>
|
|
/// If the vein generation should occur on top of existing entities what are we replacing.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntProtoId? Replacement;
|
|
|
|
/// <summary>
|
|
/// Entity to spawn.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId Entity;
|
|
|
|
/// <summary>
|
|
/// Maximum amount of group spawns
|
|
/// </summary>
|
|
[DataField]
|
|
public int Count = 10;
|
|
|
|
/// <summary>
|
|
/// Minimum entities to spawn in one group.
|
|
/// </summary>
|
|
[DataField]
|
|
public int MinGroupSize = 1;
|
|
|
|
/// <summary>
|
|
/// Maximum entities to spawn in one group.
|
|
/// </summary>
|
|
[DataField]
|
|
public int MaxGroupSize = 1;
|
|
}
|