using Content.Server.Atmos.Piping.Unary.EntitySystems;
using Content.Shared.Chemistry.Components;
namespace Content.Server.Atmos.Piping.Unary.Components;
///
/// Used for an entity that converts moles of gas into units of reagent.
///
[RegisterComponent]
[Access(typeof(GasCondenserSystem))]
public sealed partial class GasCondenserComponent : Component
{
///
/// The ID for the pipe node.
///
[DataField]
public string Inlet = "pipe";
///
/// The ID for the solution.
///
[DataField]
public string SolutionId = "tank";
///
/// The solution that gases are condensed into.
///
[DataField]
public Entity? Solution = null;
///
/// For a condenser, how many U of reagents are given per each mole of gas.
///
///
/// Derived from a standard of 500u per canister:
/// 400u / 1871.71051 moles per canister
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float MolesToReagentMultiplier = 0.2137f;
}