mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 03:11:14 +03:00
* Remove all uses of System.Random * Use IRobustRandom in BinomialNumberSelector.Get * Remove remaining ToolRefinableSystem S.Random inst
24 lines
611 B
C#
24 lines
611 B
C#
using Content.Shared.EntityTable;
|
|
using Content.Shared.Maps;
|
|
using Content.Shared.Storage;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Procedural.PostGeneration;
|
|
|
|
/// <summary>
|
|
/// Spawns on the boundary tiles of rooms.
|
|
/// </summary>
|
|
public sealed partial class WallMountDunGen : IDunGenLayer
|
|
{
|
|
/// <summary>
|
|
/// Chance per free tile to spawn a wallmount.
|
|
/// </summary>
|
|
[DataField]
|
|
public float Prob = 0.1f;
|
|
|
|
[DataField(required: true)]
|
|
public ProtoId<ContentTileDefinition> Tile;
|
|
|
|
[DataField(required: true)]
|
|
public ProtoId<EntityTablePrototype> Contents;
|
|
}
|