6
StarHorizon_Public/Content.Server/Silicon/Charge/Components/BatteryDrinkerSourceComponent.cs
2026-01-24 12:49:55 +03:00

27 lines
692 B
C#

using Robust.Shared.Audio;
namespace Content.Server.Silicon.Charge;
[RegisterComponent]
public sealed partial class BatteryDrinkerSourceComponent : Component
{
/// <summary>
/// The max amount of power this source can provide in one sip.
/// No limit if null.
/// </summary>
[DataField]
public int? MaxAmount = null;
/// <summary>
/// The multiplier for the drink speed.
/// </summary>
[DataField]
public float DrinkSpeedMulti = 1f;
/// <summary>
/// The sound to play when the battery gets drunk from.
/// </summary>
[DataField]
public SoundSpecifier? DrinkSound = new SoundCollectionSpecifier("sparks");
}