using Content.Shared.Decals; using Content.Shared.Maps; using Robust.Shared.Noise; using Robust.Shared.Serialization; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Shared.Parallax.Biomes.Layers; [Serializable, NetSerializable] public sealed partial class BiomeDecalLayer : IBiomeWorldLayer { /// [DataField("allowedTiles", customTypeSerializer:typeof(PrototypeIdListSerializer))] public List AllowedTiles { get; private set; } = new(); /// /// Divide each tile up by this amount. /// [DataField("divisions")] public float Divisions = 1f; [DataField("noise")] public FastNoiseLite Noise { get; private set; } = new(0); /// [DataField("threshold")] public float Threshold { get; private set; } = 0.8f; /// [DataField("invert")] public bool Invert { get; private set; } = false; [DataField("decals", required: true, customTypeSerializer:typeof(PrototypeIdListSerializer))] public List Decals = new(); }