mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Gases are now represented in an associatiee list instead of harcoded
variables. gas = list("oxygen" = 20, "nitrogen" = 80)
New cleaned up share_ratio(), share_space() and equalise_gases() procs.
Gas can be modified with adjust_gas() or adjust_gas_temp(), with
variadic versions available for both. These are documented in
gas_mixture_xgm.dm
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
46 lines
822 B
Plaintext
46 lines
822 B
Plaintext
/xgm_gas/oxygen
|
|
id = "oxygen"
|
|
name = "Oxygen"
|
|
specific_heat = 20
|
|
|
|
flags = XGM_GAS_OXIDIZER
|
|
|
|
/xgm_gas/nitrogen
|
|
id = "nitrogen"
|
|
name = "Nitrogen"
|
|
specific_heat = 20
|
|
|
|
/xgm_gas/carbon_dioxide
|
|
id = "carbon_dioxide"
|
|
name = "Carbon Dioxide"
|
|
specific_heat = 30
|
|
|
|
/xgm_gas/phoron
|
|
id = "phoron"
|
|
name = "Phoron"
|
|
specific_heat = 200
|
|
|
|
tile_overlay = "phoron"
|
|
overlay_limit = 0.7
|
|
flags = XGM_GAS_FUEL | XGM_GAS_CONTAMINANT
|
|
|
|
/xgm_gas/volatile_fuel
|
|
id = "volatile_fuel"
|
|
name = "Volatile Fuel"
|
|
specific_heat = 30
|
|
|
|
flags = XGM_GAS_FUEL
|
|
|
|
/xgm_gas/sleeping_agent
|
|
id = "sleeping_agent"
|
|
name = "Sleeping Agent"
|
|
specific_heat = 40
|
|
|
|
tile_overlay = "sleeping_agent"
|
|
overlay_limit = 1
|
|
|
|
/xgm_gas/oxygen_agent_b
|
|
id = "oxygen_agent_b"
|
|
name = "Oxygen Agent-B"
|
|
specific_heat = 300
|