_std/macros/atmos.dm
R_IDEAL_GAS_EQUATION | in kPa * L/(K * mol) |
---|---|
ONE_ATMOSPHERE | 1atm, now in kPa |
MOLES_O2STANDARD | O2 standard value (21%) |
MOLES_N2STANDARD | N2 standard value (79%) |
MOLES_GAS_VISIBLE | Moles in a standard cell after which visible gases are visible |
GAS_IMG_PLASMA | Plasma Tile Overlay Id |
GAS_IMG_N2O | N20 Tile Overlay Id |
GAS_IMG_RAD | Rad Particles Tile Overlay Id |
ALPHA_GAS_OVERLAYS | Enables gas overlays to have continuous opacity based on molarity |
ALPHA_GAS_COMPRESSION | Factor that reduces the number of gas opacity levels, higher = better performance and worse visuals |
UPDATE_GAS_MIXTURE_GRAPHIC | Given gas mixture's graphics var and gas overlay id and gas moles sets the graphics so the gas is rendered if there are right conditions |
UPDATE_TILE_GAS_OVERLAY | Given the VISUALS_STATE bit field and gas overlay id as defined above it possibly adds the right overlay to TILE_GRAPHIC |
BREATH_VOLUME | liters in a normal breath |
BREATH_PERCENTAGE | Amount of air to take a from a tile |
HUMAN_NEEDED_OXYGEN | Amount of air needed before pass out/suffocation commences |
MINIMUM_AIR_RATIO_TO_SUSPEND | Minimum ratio of air that must move to/from a tile to suspend group processing |
MINIMUM_AIR_TO_SUSPEND | Minimum amount of air that has to move before a group processing can be suspended |
SELF_CHECK_FAIL | Our group processing check failed. We will suspend group processing. |
SHARER_CHECK_FAIL | Sharer group processing check failed. The sharer will suspend group processing. |
GROUP_CHECK_PASS | All group processing checks passed. Group processing can be preserved. |
MINIMUM_TEMPERATURE_DELTA_TO_SUSPEND | Minimum temperature difference before group processing is suspended |
MINIMUM_TEMPERATURE_DELTA_TO_CONSIDER | Minimum temperature difference before the gas temperatures are just set to be equa |
FIRE_CARBON_ENERGY_RELEASED | Amount of heat released per mole of burnt carbon into the tile |
FIRE_PLASMA_ENERGY_RELEASED | Amount of heat released per mole of burnt plasma into the tile |
HOTSPOT_MAX_NOCAT_TEMPERATURE | Hotspot Maximum Temperature without a catalyst |
HOTSPOT_MAX_CAT_TEMPERATURE | Hotspot Maximum Temperature to maintain maths works to 1e35-sh in practice) |
REACTION_ACTIVE | Reaction is Active |
COMBUSTION_ACTIVE | Combustion is Active |
CATALYST_ACTIVE | Hotspot Catalyst is Active |
TANK_LEAK_PRESSURE | Tank starts leaking |
TANK_RUPTURE_PRESSURE | Tank spills all contents into atmosphere |
/proc/gas_text_color | Returns the color of a given gas ID. |
ZERO_GASES | Given a gas mixture, zeroes it. |
ZERO_ARCHIVED_GASES | Given a gas mixture, zeroes it's archived gases. |
TOTAL_MOLES | Returns total moles of a given gas mixture |
MIXTURE_PRESSURE | Returns the mixture pressure. |
ADD_MIXTURE_PRESSURE | Add the pressure of the mixture to VAR. |
HEAT_CAPACITY | Returns the total heat capacity of the given mixture |
HEAT_CAPACITY_ARCHIVED | Returns the total heat capacity of the given mixture's archived gases. |
THERMAL_ENERGY | Returns the total heat energy of the given mixture |
Define Details
ADD_MIXTURE_PRESSURE
Add the pressure of the mixture to VAR.
ALPHA_GAS_COMPRESSION
Factor that reduces the number of gas opacity levels, higher = better performance and worse visuals
ALPHA_GAS_OVERLAYS
Enables gas overlays to have continuous opacity based on molarity
BREATH_PERCENTAGE
Amount of air to take a from a tile
BREATH_VOLUME
liters in a normal breath
CATALYST_ACTIVE
Hotspot Catalyst is Active
COMBUSTION_ACTIVE
Combustion is Active
FIRE_CARBON_ENERGY_RELEASED
Amount of heat released per mole of burnt carbon into the tile
FIRE_PLASMA_ENERGY_RELEASED
Amount of heat released per mole of burnt plasma into the tile
GAS_IMG_N2O
N20 Tile Overlay Id
GAS_IMG_PLASMA
Plasma Tile Overlay Id
GAS_IMG_RAD
Rad Particles Tile Overlay Id
GROUP_CHECK_PASS
All group processing checks passed. Group processing can be preserved.
HEAT_CAPACITY
Returns the total heat capacity of the given mixture
HEAT_CAPACITY_ARCHIVED
Returns the total heat capacity of the given mixture's archived gases.
HOTSPOT_MAX_CAT_TEMPERATURE
Hotspot Maximum Temperature to maintain maths works to 1e35-sh in practice)
HOTSPOT_MAX_NOCAT_TEMPERATURE
Hotspot Maximum Temperature without a catalyst
HUMAN_NEEDED_OXYGEN
Amount of air needed before pass out/suffocation commences
MINIMUM_AIR_RATIO_TO_SUSPEND
Minimum ratio of air that must move to/from a tile to suspend group processing
MINIMUM_AIR_TO_SUSPEND
Minimum amount of air that has to move before a group processing can be suspended
MINIMUM_TEMPERATURE_DELTA_TO_CONSIDER
Minimum temperature difference before the gas temperatures are just set to be equa
MINIMUM_TEMPERATURE_DELTA_TO_SUSPEND
Minimum temperature difference before group processing is suspended
MIXTURE_PRESSURE
Returns the mixture pressure.
MOLES_GAS_VISIBLE
Moles in a standard cell after which visible gases are visible
MOLES_N2STANDARD
N2 standard value (79%)
MOLES_O2STANDARD
O2 standard value (21%)
ONE_ATMOSPHERE
1atm, now in kPa
REACTION_ACTIVE
Reaction is Active
R_IDEAL_GAS_EQUATION
in kPa * L/(K * mol)
SELF_CHECK_FAIL
Our group processing check failed. We will suspend group processing.
SHARER_CHECK_FAIL
Sharer group processing check failed. The sharer will suspend group processing.
TANK_LEAK_PRESSURE
Tank starts leaking
TANK_RUPTURE_PRESSURE
Tank spills all contents into atmosphere
THERMAL_ENERGY
Returns the total heat energy of the given mixture
TOTAL_MOLES
Returns total moles of a given gas mixture
UPDATE_GAS_MIXTURE_GRAPHIC
Given gas mixture's graphics var and gas overlay id and gas moles sets the graphics so the gas is rendered if there are right conditions
UPDATE_TILE_GAS_OVERLAY
Given the VISUALS_STATE bit field and gas overlay id as defined above it possibly adds the right overlay to TILE_GRAPHIC
ZERO_ARCHIVED_GASES
Given a gas mixture, zeroes it's archived gases.
ZERO_GASES
Given a gas mixture, zeroes it.