using Content.Shared.Atmos;
namespace Content.Shared.Power.Generator;
///
/// Makes a generator emit a gas into the atmosphere when running.
///
///
/// The amount of gas produced is linear with the amount of fuel used.
///
///
///
[RegisterComponent]
public sealed partial class GeneratorExhaustGasComponent : Component
{
///
/// The type of gas that will be emitted by the generator.
///
[DataField("gasType"), ViewVariables(VVAccess.ReadWrite)]
public Gas GasType = Gas.CarbonDioxide;
///
/// The amount of moles of gas that should be produced when one unit of fuel is burned.
///
[DataField("moleRatio"), ViewVariables(VVAccess.ReadWrite)]
public float MoleRatio = 1;
///
/// The temperature of created gas.
///
[DataField("temperature"), ViewVariables(VVAccess.ReadWrite)]
public float Temperature = Atmospherics.T0C + 100;
}