Salvage dungeons (#14520)
This commit is contained in:
21
Content.Shared/Procedural/DungeonConfigPrototype.cs
Normal file
21
Content.Shared/Procedural/DungeonConfigPrototype.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Content.Shared.Procedural.DungeonGenerators;
|
||||
using Content.Shared.Procedural.PostGeneration;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Procedural;
|
||||
|
||||
[Prototype("dungeonConfig")]
|
||||
public sealed class DungeonConfigPrototype : IPrototype
|
||||
{
|
||||
[IdDataField]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[DataField("generator", required: true)]
|
||||
public IDunGen Generator = default!;
|
||||
|
||||
/// <summary>
|
||||
/// Ran after the main dungeon is created.
|
||||
/// </summary>
|
||||
[DataField("postGeneration")]
|
||||
public List<IPostDunGen> PostGeneration = new();
|
||||
}
|
||||
Reference in New Issue
Block a user