mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-16 20:52:33 +00:00
* individual LOG_GAME * e * Update teleporter.dm Co-authored-by: Mooshimi <85910816+Mooshimi@users.noreply.github.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
9 lines
364 B
Plaintext
9 lines
364 B
Plaintext
/// Logs the contents of the gasmix to the game log, prefixed by text
|
|
/proc/log_atmos(text, datum/gas_mixture/mix)
|
|
var/message = text
|
|
message += "TEMP=[mix.temperature], MOL=[mix.total_moles()], VOL=[mix.volume] "
|
|
for(var/key in mix.gases)
|
|
var/list/gaslist = mix.gases[key]
|
|
message += "[gaslist[GAS_META][META_GAS_ID]]=[gaslist[MOLES]];"
|
|
log_game(message)
|