Fixes gas mixture bugs, other bugs, and cleanup

In particular, gas_mixture/remove() was not accounting for
group_multiplier when determining the maximum amount of gas to remove
Also cleans up the interface for gas_mixture/heat_capacity().
This commit is contained in:
mwerezak
2014-08-05 13:30:19 -04:00
parent f50a24163b
commit 018079beb5
7 changed files with 188 additions and 255 deletions

View File

@@ -54,7 +54,7 @@
..()
injecting = 0
if(!on || stat & NOPOWER)
if(!on) //only uses power when injecting
return 0
var/datum/gas_mixture/environment = loc.return_air()

View File

@@ -256,6 +256,8 @@
..()
if (get_dist(usr, src) <= 1)
usr << "A small gauge in the corner reads [round(last_flow_rate, 0.1)] L/s; [round(last_power_draw)] W"
else
usr << "You are too far away to read the gauge."
/obj/machinery/atmospherics/unary/vent_scrubber/Del()
if(initial_loc)