Show / Hide Table of Contents

Class GasPrototype

Inheritance
System.Object
GasPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Atmos.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class GasPrototype : object, IPrototype

Fields

| Improve this Doc View Source

GasVisibilityFactor

Declaration
public float GasVisibilityFactor
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

Color

Declaration
public string Color { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GasMolesVisible

Minimum amount of moles for this gas to be visible.

Declaration
public float GasMolesVisible { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

GasMolesVisibleMax

Visibility for this gas will be max after this value.

Declaration
public float GasMolesVisibleMax { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

GasOverlaySprite

State for the gas RSI overlay.

Declaration
public string GasOverlaySprite { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GasOverlayState

If this reagent is in gas form, this will be the path to the RSI sprite that will be used to make the gas visible.

Declaration
public string GasOverlayState { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

GasOverlayTexture

If this reagent is in gas form, this is the path to the overlay that will be used to make the gas visible.

Declaration
public string GasOverlayTexture { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HeatCapacityRatio

Heat capacity ratio for gas

Declaration
public float HeatCapacityRatio { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MolarMass

Molar mass of gas

Declaration
public float MolarMass { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OverlayPath

Path to the tile overlay used when this gas appears visible.

Declaration
public string OverlayPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PricePerMole

Declaration
public float PricePerMole { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Reagent

The reagent that this gas will turn into when inhaled.

Declaration
public string? Reagent { get; }
Property Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

SpecificHeat

Specific heat for gas.

Declaration
public float SpecificHeat { get; }
Property Value
Type Description
System.Single

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾