Files
crystall-punk-14/Content.Shared/Procedural/PostGeneration/ExternalWindowPostGen.cs

23 lines
777 B
C#
Raw Normal View History

2023-03-10 16:41:22 +11:00
using Content.Shared.Maps;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Shared.Procedural.PostGeneration;
/// <summary>
/// If external areas are found will try to generate windows.
/// </summary>
public sealed partial class ExternalWindowPostGen : IPostDunGen
2023-03-10 16:41:22 +11:00
{
[DataField("entities", customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
2023-06-27 19:17:42 +10:00
public List<string?> Entities = new()
2023-03-10 16:41:22 +11:00
{
"Grille",
"Window",
};
[DataField("tile", customTypeSerializer:typeof(PrototypeIdSerializer<ContentTileDefinition>))]
public string Tile = "FloorSteel";
}