using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Procedural.Loot; /// /// Spawns loot at points in the specified rooms /// public sealed class ClusterLoot : IDungeonLoot { /// /// Minimum spawns in a cluster. /// [DataField("minCluster")] public int MinClusterAmount; /// /// Maximum spawns in a cluster. /// [DataField("maxCluster")] public int MaxClusterAmount; /// /// Amount to spawn for the entire loot. /// [DataField("max")] public int Amount; /// /// Number of points to spawn. /// [DataField("points")] public int Points; [DataField("proto", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] public string Prototype { get; } = string.Empty; }