Files
vgstation13/code/datums/gas_giant.dm
madmanmartian 01e115a55e Moves the gas miner's gas assumption to initialize, as objects are created before the gas giant, so an error would occur.
Fiddles with the gas values some more, now they produce 3 times the amount previously.
2019-11-24 03:37:20 +00:00

12 lines
392 B
Plaintext

var/global/datum/gas_giant/gas_giant
/datum/gas_giant
var/datum/gas_mixture/GM
/datum/gas_giant/New()
GM = new
GM.temperature = rand(T0C-224, T0C+95)
GM.adjust_multi(
GAS_OXYGEN, rand(10, 50)*3000/(R_IDEAL_GAS_EQUATION * GM.temperature),
GAS_NITROGEN, rand(10, 50)*3000/(R_IDEAL_GAS_EQUATION * GM.temperature),
GAS_PLASMA, rand(5, 25)*3000/(R_IDEAL_GAS_EQUATION * GM.temperature))