Update tank.dm
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
air_contents.set_volume(volume)
|
air_contents.set_volume(volume)
|
||||||
air_contents.set_temperature(T20C)
|
air_contents.set_temperature(T20C)
|
||||||
if(gas_type)
|
if(gas_type)
|
||||||
air_contents.set_moles(AIR_CONTENTS)
|
air_contents.set_moles(gas_type, AIR_CONTENTS)
|
||||||
name = "[name] ([GLOB.meta_gas_names[gas_type]])"
|
name = "[name] ([GLOB.meta_gas_names[gas_type]])"
|
||||||
setPipingLayer(piping_layer)
|
setPipingLayer(piping_layer)
|
||||||
|
|
||||||
@@ -32,8 +32,8 @@
|
|||||||
/obj/machinery/atmospherics/components/unary/tank/air/New()
|
/obj/machinery/atmospherics/components/unary/tank/air/New()
|
||||||
..()
|
..()
|
||||||
var/datum/gas_mixture/air_contents = airs[1]
|
var/datum/gas_mixture/air_contents = airs[1]
|
||||||
air_contents.set_moles(/datum/gas/oxygen, AIR_CONTENTS * 0.2)
|
air_contents.set_moles(/datum/gas/oxygen, AIR_CONTENTS * 0.21)
|
||||||
air_contents.set_moles(/datum/gas/nitrogen, AIR_CONTENTS * 0.8)
|
air_contents.set_moles(/datum/gas/nitrogen, AIR_CONTENTS * 0.79)
|
||||||
|
|
||||||
/obj/machinery/atmospherics/components/unary/tank/carbon_dioxide
|
/obj/machinery/atmospherics/components/unary/tank/carbon_dioxide
|
||||||
gas_type = /datum/gas/carbon_dioxide
|
gas_type = /datum/gas/carbon_dioxide
|
||||||
|
|||||||
Reference in New Issue
Block a user