using Content.Shared.FixedPoint;
using Robust.Shared.GameStates;
namespace Content.Shared.Chemistry.Components;
///
/// Gives click behavior for transferring to/from other reagent containers.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class SolutionTransferComponent : Component
{
///
/// The amount of solution to be transferred from this solution when clicking on other solutions with it.
///
[DataField, AutoNetworkedField]
public FixedPoint2 TransferAmount = FixedPoint2.New(5);
///
/// The minimum amount of solution that can be transferred at once from this solution.
///
[DataField("minTransferAmount"), AutoNetworkedField]
public FixedPoint2 MinimumTransferAmount = FixedPoint2.New(5);
///
/// The maximum amount of solution that can be transferred at once from this solution.
///
[DataField("maxTransferAmount"), AutoNetworkedField]
public FixedPoint2 MaximumTransferAmount = FixedPoint2.New(100);
///
/// Can this entity take reagent from reagent tanks?
///
[DataField, AutoNetworkedField]
public bool CanReceive = true;
///
/// Can this entity give reagent to other reagent containers?
///
[DataField, AutoNetworkedField]
public bool CanSend = true;
///
/// Whether you're allowed to change the transfer amount.
///
[DataField, AutoNetworkedField]
public bool CanChangeTransferAmount = false;
}