Reworks stasis, reshuffles life order, makes gases use defines. (#9409)

This commit is contained in:
Matt Atlas
2020-08-09 13:20:06 +02:00
committed by GitHub
parent c0b6ee9bb3
commit c7c5d44a97
83 changed files with 593 additions and 472 deletions
@@ -88,7 +88,7 @@
return
if(Adjacent(usr))
usr.set_machine(src)
if(href_list["oxygen"])
if(href_list[GAS_OXYGEN])
if(oxygentanks > 0)
var/obj/item/tank/oxygen/O
if(oxytanks.len == oxygentanks)
@@ -81,7 +81,7 @@ obj/structure/ex_act(severity)
/obj/structure/transit_tube_pod/New(loc)
..(loc)
air_contents.adjust_multi("oxygen", MOLES_O2STANDARD * 2, "nitrogen", MOLES_N2STANDARD)
air_contents.adjust_multi(GAS_OXYGEN, MOLES_O2STANDARD * 2, GAS_NITROGEN, MOLES_N2STANDARD)
air_contents.temperature = T20C
// Give auto tubes time to align before trying to start moving