Air alarm fixes and addition of civilian EVA on z1

This commit is contained in:
Leshana
2017-05-05 02:28:09 -04:00
parent 07bbfd5f4f
commit c45c86d632
5 changed files with 5075 additions and 4842 deletions

View File

@@ -69,7 +69,8 @@
// STEP 2 - Take the CO2 out of the input!
var/power_draw = scrub_gas(src, list(input_gas), air1, internal, moles_to_convert)
network1.update = 1
if(network1)
network1.update = 1
if (power_draw > 0)
use_power(power_draw)
last_power_draw += power_draw
@@ -90,7 +91,8 @@
// STEP 5 - Output the converted oxygen. Fow now we output for free!
internal.adjust_gas(input_gas, -converted_moles)
air2.adjust_gas_temp(output_gas, converted_moles, internal.temperature)
network2.update = 1
if(network2)
network2.update = 1
recent_moles_transferred = converted_moles
ui_error = null // Success!
update_icon()