using Content.Shared.Random; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Procedural.Loot; /// /// Spawns loot at points in the specified area inside of a dungeon room. /// public sealed class DungeonClusterLoot : IDungeonLoot { /// /// Spawns in a cluster. /// [DataField("clusterAmount")] public int ClusterAmount = 1; /// /// Number of clusters to spawn. /// [DataField("clusters")] public int Points = 1; [DataField("lootTable", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] public string Prototype { get; } = string.Empty; }