use parts crates for rewards, show rewards in ui (#17374)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
using Content.Shared.Random;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Procedural.Loot;
|
||||
|
||||
/// <summary>
|
||||
/// Spawns loot at points in the specified area inside of a dungeon room.
|
||||
/// </summary>
|
||||
public sealed class DungeonClusterLoot : IDungeonLoot
|
||||
{
|
||||
/// <summary>
|
||||
/// Spawns in a cluster.
|
||||
/// </summary>
|
||||
[DataField("clusterAmount")]
|
||||
public int ClusterAmount = 1;
|
||||
|
||||
/// <summary>
|
||||
/// Number of clusters to spawn.
|
||||
/// </summary>
|
||||
[DataField("clusters")] public int Points = 1;
|
||||
|
||||
[DataField("lootTable", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<WeightedRandomPrototype>))]
|
||||
public string Prototype { get; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user