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

30 lines
892 B
C#
Raw Permalink Normal View History

2023-06-27 19:17:42 +10:00
using Content.Shared.Decals;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
namespace Content.Shared.Procedural.PostGeneration;
/// <summary>
/// Applies decal skirting to corridors.
/// </summary>
public sealed partial class CorridorDecalSkirtingDunGen : IDunGenLayer
2023-06-27 19:17:42 +10:00
{
/// <summary>
/// Decal where 1 edge is found.
/// </summary>
[DataField]
2023-06-27 19:17:42 +10:00
public Dictionary<DirectionFlag, string> CardinalDecals = new();
/// <summary>
/// Decal where 1 corner edge is found.
/// </summary>
[DataField]
2023-06-27 19:17:42 +10:00
public Dictionary<Direction, string> PocketDecals = new();
/// <summary>
/// Decal where 2 or 3 edges are found.
/// </summary>
[DataField]
2023-06-27 19:17:42 +10:00
public Dictionary<DirectionFlag, string> CornerDecals = new();
}