PrefabDunGen.cs 544 B

1234567891011121314151617181920
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Procedural.DungeonGenerators;
  3. /// <summary>
  4. /// Places rooms in pre-selected pack layouts. Chooses rooms from the specified whitelist.
  5. /// </summary>
  6. /// <remarks>
  7. /// DungeonData keys are:
  8. /// - FallbackTile
  9. /// - Rooms
  10. /// </remarks>
  11. public sealed partial class PrefabDunGen : IDunGenLayer
  12. {
  13. /// <summary>
  14. /// Room pack presets we can use for this prefab.
  15. /// </summary>
  16. [DataField(required: true)]
  17. public List<ProtoId<DungeonPresetPrototype>> Presets = new();
  18. }