using Content.Shared.Mining; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary; namespace Content.Shared.Random; /// /// Linter-friendly version of weightedRandom for Ore prototypes. /// [Prototype("weightedRandomOre")] public sealed class WeightedRandomOrePrototype : IWeightedRandomPrototype { [IdDataField] public string ID { get; private set; } = default!; [DataField("weights", customTypeSerializer: typeof(PrototypeIdDictionarySerializer))] public Dictionary Weights { get; private set; } = new(); }