|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
dog_fashion = /datum/dog_fashion/back
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/oxygen/New()
|
|
|
|
|
/obj/item/tank/internals/oxygen/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/oxygen, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
@@ -47,7 +47,7 @@
|
|
|
|
|
item_state = "an_tank"
|
|
|
|
|
force = 10
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/anesthetic/New()
|
|
|
|
|
/obj/item/tank/internals/anesthetic/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/oxygen, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * O2STANDARD)
|
|
|
|
|
air_contents.set_moles(/datum/gas/nitrous_oxide, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * N2STANDARD)
|
|
|
|
|
return
|
|
|
|
@@ -63,7 +63,7 @@
|
|
|
|
|
force = 10
|
|
|
|
|
dog_fashion = /datum/dog_fashion/back
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/air/New()
|
|
|
|
|
/obj/item/tank/internals/air/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/oxygen, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * O2STANDARD)
|
|
|
|
|
air_contents.set_moles(/datum/gas/nitrogen, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * N2STANDARD)
|
|
|
|
|
return
|
|
|
|
@@ -81,7 +81,7 @@
|
|
|
|
|
force = 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasma/New()
|
|
|
|
|
/obj/item/tank/internals/plasma/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
@@ -98,7 +98,7 @@
|
|
|
|
|
else
|
|
|
|
|
return ..()
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasma/full/New()
|
|
|
|
|
/obj/item/tank/internals/plasma/full/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
|
|
|
|
|
//Makes empty oxygen tanks spawn without gas
|
|
|
|
@@ -106,7 +106,7 @@
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasma/full/populate_gas()
|
|
|
|
|
air_contents.gases[/datum/gas/plasma] = (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C)
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Plasmaman Plasma Tank
|
|
|
|
@@ -120,11 +120,11 @@
|
|
|
|
|
force = 10
|
|
|
|
|
distribute_pressure = TANK_DEFAULT_RELEASE_PRESSURE
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasmaman/New()
|
|
|
|
|
/obj/item/tank/internals/plasmaman/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasmaman/full/New()
|
|
|
|
|
/obj/item/tank/internals/plasmaman/full/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
@@ -137,7 +137,7 @@
|
|
|
|
|
volume = 6
|
|
|
|
|
w_class = WEIGHT_CLASS_SMALL //thanks i forgot this
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/plasmaman/belt/full/New()
|
|
|
|
|
/obj/item/tank/internals/plasmaman/belt/full/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/plasma, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
@@ -160,7 +160,7 @@
|
|
|
|
|
volume = 3 //Tiny. Real life equivalents only have 21 breaths of oxygen in them. They're EMERGENCY tanks anyway -errorage (dangercon 2011)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/obj/item/tank/internals/emergency_oxygen/New()
|
|
|
|
|
/obj/item/tank/internals/emergency_oxygen/populate_gas()
|
|
|
|
|
air_contents.set_moles(/datum/gas/oxygen, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|