Files
OldThink/Content.Shared/Procedural/DungeonConfigPrototype.cs

22 lines
599 B
C#
Raw Permalink Normal View History

2023-03-10 16:41:22 +11:00
using Content.Shared.Procedural.DungeonGenerators;
using Content.Shared.Procedural.PostGeneration;
using Robust.Shared.Prototypes;
namespace Content.Shared.Procedural;
[Prototype("dungeonConfig")]
public sealed partial class DungeonConfigPrototype : IPrototype
2023-03-10 16:41:22 +11:00
{
[IdDataField]
public string ID { get; private set; } = default!;
2023-03-10 16:41:22 +11:00
[DataField("generator", required: true)]
public IDunGen Generator = default!;
/// <summary>
/// Ran after the main dungeon is created.
/// </summary>
[DataField("postGeneration")]
public List<IPostDunGen> PostGeneration = new();
}