36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
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 CorridorDecalSkirtingPostGen : IPostDunGen
|
|
{
|
|
/// <summary>
|
|
/// Color to apply to decals.
|
|
/// </summary>
|
|
[DataField("color")]
|
|
public Color? Color;
|
|
|
|
/// <summary>
|
|
/// Decal where 1 edge is found.
|
|
/// </summary>
|
|
[DataField("cardinalDecals")]
|
|
public Dictionary<DirectionFlag, string> CardinalDecals = new();
|
|
|
|
/// <summary>
|
|
/// Decal where 1 corner edge is found.
|
|
/// </summary>
|
|
[DataField("pocketDecals")]
|
|
public Dictionary<Direction, string> PocketDecals = new();
|
|
|
|
/// <summary>
|
|
/// Decal where 2 or 3 edges are found.
|
|
/// </summary>
|
|
[DataField("cornerDecals")]
|
|
public Dictionary<DirectionFlag, string> CornerDecals = new();
|
|
}
|