using Content.Shared.FixedPoint;
namespace Content.Server.Medical.Components;
[RegisterComponent]
public sealed partial class MedicalPatchComponent : Component
{
[DataField]
public string SolutionName = "drink";
[DataField]
public FixedPoint2 TransferAmount = FixedPoint2.New(1);
///
/// if this is a single use patch, gets destroyed or replaced when empty or removed.
///
[DataField]
public bool SingleUse = false;
///
/// if single use what the Entity shud be replaced whit
///
[DataField]
public string? TrashObject = "UsedMedicalPatch";
///
/// how often the patch shud transfer sulution
///
[DataField]
public float UpdateTime = 1f;
[DataField]
public TimeSpan NextUpdate = TimeSpan.Zero;
///
/// if any set ammount shud be transfered when the patch is attatched,
///
[DataField]
public FixedPoint2 InjectAmmountOnAttatch = FixedPoint2.New(0);
///
/// if a Percentage of the remaining soulution shud be transfered when attatched, use 0 - 100
///
[DataField]
public FixedPoint2 InjectPercentageOnAttatch = FixedPoint2.New(0);
}