using Content.Shared.Construction.Prototypes; using Robust.Shared.Prototypes; using Robust.Shared.Serialization; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Shared.Salvage; public abstract partial class SharedSalvageMagnetComponent : Component { /// /// The machine part that affects the attaching and cooldown times /// [DataField("machinePartDelay", customTypeSerializer: typeof(PrototypeIdSerializer)), ViewVariables(VVAccess.ReadWrite)] public string MachinePartDelay = "Capacitor"; /// /// A multiplier applied to the attaching and cooldown times for each level of /// [DataField("partRatingDelay"), ViewVariables(VVAccess.ReadWrite)] public float PartRatingDelay = 0.75f; } [Serializable, NetSerializable] public enum SalvageMagnetVisuals : byte { ChargeState, Ready, ReadyBlinking, Unready, UnreadyBlinking }