1
0

MobsDunGen.cs 454 B

123456789101112131415161718192021
  1. using Content.Shared.Storage;
  2. namespace Content.Shared.Procedural.DungeonLayers;
  3. /// <summary>
  4. /// Spawns mobs inside of the dungeon randomly.
  5. /// </summary>
  6. public sealed partial class MobsDunGen : IDunGenLayer
  7. {
  8. // Counts separate to config to avoid some duplication.
  9. [DataField]
  10. public int MinCount = 1;
  11. [DataField]
  12. public int MaxCount = 1;
  13. [DataField(required: true)]
  14. public List<EntitySpawnEntry> Groups = new();
  15. }