using Content.Shared.Construction.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.Power.Components
{
[RegisterComponent]
public sealed class UpgradeBatteryComponent : Component
{
///
/// The machine part that affects the power capacity.
///
[DataField("machinePartPowerCapacity", customTypeSerializer: typeof(PrototypeIdSerializer))]
public string MachinePartPowerCapacity = "Capacitor";
///
/// The machine part rating is raised to this power when calculating power gain
///
[DataField("maxChargeMultiplier")]
public float MaxChargeMultiplier = 2f;
///
/// Power gain scaling
///
[DataField("baseMaxCharge")]
public float BaseMaxCharge = 8000000;
}
}