BiomeMarkerLayerDunGen.cs 515 B

12345678910111213141516171819
  1. using Content.Shared.Random;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Procedural.PostGeneration;
  4. /// <summary>
  5. /// Spawns the specified marker layer on top of the dungeon rooms.
  6. /// </summary>
  7. public sealed partial class BiomeMarkerLayerDunGen : IDunGenLayer
  8. {
  9. /// <summary>
  10. /// How many times to spawn marker layers; can duplicate.
  11. /// </summary>
  12. [DataField]
  13. public int Count = 6;
  14. [DataField(required: true)]
  15. public ProtoId<WeightedRandomPrototype> MarkerTemplate;
  16. }