Files
tbd-station-14/Content.Server/Atmos/Piping/Unary/Components/GasCondenserComponent.cs
Emisse 938d6d9945 Revert "Solution Entities" (#23160)
Revert "Solution Entities (#21916)"

This reverts commit d75e743dd7.
2023-12-28 20:45:42 -07:00

34 lines
943 B
C#

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