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