using Robust.Shared.Containers; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Construction.Components { [RegisterComponent, ComponentProtoName("Machine")] public sealed class MachineComponent : Component { [DataField("board", customTypeSerializer: typeof(PrototypeIdSerializer))] public string? BoardPrototype { get; private set; } public Container BoardContainer = default!; public Container PartContainer = default!; } /// /// The different types of scaling that are available for machine upgrades /// public enum MachineUpgradeScalingType : byte { Linear, Exponential } }