Haunted dungeon template (#23768)

* haunted dungeon

* Initial work

Still needs prefab gen work to make it interesting.

* ime a worm

* weh

* Work

* Slight tweaks

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Emisse
2024-03-23 21:37:18 -06:00
committed by GitHub
parent 2cc8db3007
commit 952b7f4c4e
17 changed files with 4009 additions and 67 deletions

View File

@@ -14,24 +14,15 @@ public sealed partial class CorridorPostGen : IPostDunGen
/// <remarks>
/// Given the heavy weightings this needs to be fairly large for larger dungeons.
/// </remarks>
[DataField("pathLimit")]
[DataField]
public int PathLimit = 2048;
[DataField("method")]
public CorridorPostGenMethod Method = CorridorPostGenMethod.MinimumSpanningTree;
[DataField]
public ProtoId<ContentTileDefinition> Tile = "FloorSteel";
/// <summary>
/// How wide to make the corridor.
/// </summary>
[DataField("width")]
public int Width = 3;
}
public enum CorridorPostGenMethod : byte
{
Invalid,
MinimumSpanningTree,
[DataField]
public float Width = 3f;
}