using Content.Shared.Random; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Research.TechnologyDisk.Components; [RegisterComponent] public sealed partial class TechnologyDiskComponent : Component { /// /// The recipe that will be added. If null, one will be randomly generated /// [DataField("recipes")] public List? Recipes; /// /// A weighted random prototype for how rare each tier should be. /// [DataField("tierWeightPrototype", customTypeSerializer: typeof(PrototypeIdSerializer))] public string TierWeightPrototype = "TechDiskTierWeights"; }