Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/gas_mixture

Vars

fuel_burntRough representation of oxygen and plasma used. Actual usage of plasma is currectly divided by 3 for balance.
graphicBitfield representing gas graphics on our tile.
group_multiplierUsed in air groups, this represents how many tiles are in the air group. Using this lets us scale all kinds of variables so we can always act like one big tile.
temperatureTemperature of gases in Kelvin
volumeVolume of container in litres

Procs

check_both_then_temperature_share
check_gas_mixture
check_if_dangerousChecks for, ya know, if the mixture is potentially dangerous.
check_me_then_temperature_mimicSimilar to /datum/gas_mixture/proc/check_me_then_temperature_share except the model is not modified.
check_me_then_temperature_shareSimilar to /datum/gas_mixture/proc/check_both_then_temperature_share except that we solely check ourselves. Returns: FALSE if the self-check failed and TRUE if self-check passed.
check_me_then_temperature_turf_share
check_then_merge
check_then_remove
check_tile_graphicBuild bitfield of overlays to use for a gas mixture and determine if graphic should be updated
check_turf
compare
copy_fromCopies variables from sample
fire
merge
mimic
neutron_interactProcesses an interaction between a neutron and this gas mixture, altering the component gasses accordingly. Returns the resulting number of neutrons - 0 means that the reaction consumed the input neutron
reactProcess all reactions, return bitfield if notable reaction occurs.
remove
remove_ratio
reset_to_space_gasRemoves all gases except if in an underwater map, in which case the gas is set to be hot low pressure air.
share
subtractSubtracts right_side from air_mixture. Used to help turfs mingle
temperature_mimicSimilar to /datum/gas_mixture/proc/temperature_share except the model is not modified.
temperature_shareConducts heat between gases. Conduction_coefficient is a multiplier that determines how well heat equalises, with 0 meaning no heat and 1 meaning perfect equalisation.
temperature_turf_shareShares heat between turfs, with conduction_coefficient as heat transfer efficiency factor.

Var Details

fuel_burnt

Rough representation of oxygen and plasma used. Actual usage of plasma is currectly divided by 3 for balance.

graphic

Bitfield representing gas graphics on our tile.

group_multiplier

Used in air groups, this represents how many tiles are in the air group. Using this lets us scale all kinds of variables so we can always act like one big tile.

temperature

Temperature of gases in Kelvin

volume

Volume of container in litres

Proc Details

check_both_then_temperature_share

check_gas_mixture

check_if_dangerous

Checks for, ya know, if the mixture is potentially dangerous.

check_me_then_temperature_mimic

Similar to /datum/gas_mixture/proc/check_me_then_temperature_share except the model is not modified.

check_me_then_temperature_share

Similar to /datum/gas_mixture/proc/check_both_then_temperature_share except that we solely check ourselves. Returns: FALSE if the self-check failed and TRUE if self-check passed.

check_me_then_temperature_turf_share

check_then_merge

check_then_remove

check_tile_graphic

Build bitfield of overlays to use for a gas mixture and determine if graphic should be updated

check_turf

compare

copy_from

Copies variables from sample

fire

merge

mimic

neutron_interact

Processes an interaction between a neutron and this gas mixture, altering the component gasses accordingly. Returns the resulting number of neutrons - 0 means that the reaction consumed the input neutron

react

Process all reactions, return bitfield if notable reaction occurs.

remove

remove_ratio

reset_to_space_gas

Removes all gases except if in an underwater map, in which case the gas is set to be hot low pressure air.

share

subtract

Subtracts right_side from air_mixture. Used to help turfs mingle

temperature_mimic

Similar to /datum/gas_mixture/proc/temperature_share except the model is not modified.

temperature_share

Conducts heat between gases. Conduction_coefficient is a multiplier that determines how well heat equalises, with 0 meaning no heat and 1 meaning perfect equalisation.

temperature_turf_share

Shares heat between turfs, with conduction_coefficient as heat transfer efficiency factor.