using Robust.Shared.Prototypes;
namespace Content.Shared.Random;
// TODO: replace all uses of this with entity tables
///
/// Linter-friendly version of weightedRandom for Entity prototypes.
///
[Prototype]
public sealed partial class WeightedRandomEntityPrototype : IWeightedRandomPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;
// WeightedRandomPrototype works off of a generic ProtoId, so we can't use EntProtoId directly.
[DataField(required: true)]
public Dictionary, float> Weights { get; private set; } = new();
}