/tg/ Station 13 - Modules - TypesVar Details

Gas datums

These are never and should never be instantiated, they just exist to hold data which is passed into the gas metadata list.

They are templates for how gases should generally act.

Vars

base_valueHow does a single mole of this gas buy/sell for? Formula to calculate maximum value is in code\modules\cargo\exports\large_objects.dm. Only necessary for exportable or purchasable gases, otherwise meaningless.
cargo_flagsFlags that relate to how the gas is handled in cargo GAS_PURCHASABLE - Can be purchased in cargo GAS_EXPORTABLE - Can be sold in cargo GAS_DANGEROUS - Is considered dangerous, requires elevated access to purchase
fusion_powerHow much the gas accelerates a fusion reaction
gas_overlayicon_state in icons/effects/atmospherics.dmi
primary_colorRGB code for use when a generic color representing the gas is needed. Colors taken from contants.ts
rarityrelative rarity compared to other gases, used when setting up the reactions list.

Var Details

base_value

How does a single mole of this gas buy/sell for? Formula to calculate maximum value is in code\modules\cargo\exports\large_objects.dm. Only necessary for exportable or purchasable gases, otherwise meaningless.

cargo_flags

Flags that relate to how the gas is handled in cargo GAS_PURCHASABLE - Can be purchased in cargo GAS_EXPORTABLE - Can be sold in cargo GAS_DANGEROUS - Is considered dangerous, requires elevated access to purchase

fusion_power

How much the gas accelerates a fusion reaction

gas_overlay

icon_state in icons/effects/atmospherics.dmi

primary_color

RGB code for use when a generic color representing the gas is needed. Colors taken from contants.ts

rarity

relative rarity compared to other gases, used when setting up the reactions list.