mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 12:05:28 +01:00
Merge pull request #11285 from VOREStation/Arokha/gasmix
Exhale into drop pods
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
if(A)
|
||||
A.forceMove(src) // helo
|
||||
podfall(auto_open)
|
||||
air = new(1000)
|
||||
air = new
|
||||
|
||||
/obj/structure/drop_pod/Destroy()
|
||||
. = ..()
|
||||
qdel_null(air)
|
||||
|
||||
/obj/structure/drop_pod/proc/podfall(auto_open)
|
||||
set waitfor = FALSE // sleeping in new otherwise
|
||||
@@ -118,10 +122,16 @@
|
||||
return ..()
|
||||
|
||||
/obj/structure/drop_pod/return_air()
|
||||
return return_air_for_internal_lifeform()
|
||||
return air || ..()
|
||||
|
||||
/obj/structure/drop_pod/return_air_for_internal_lifeform()
|
||||
return air
|
||||
return air || ..()
|
||||
|
||||
/obj/structure/drop_pod/assume_air(datum/gas_mixture/giver)
|
||||
if(air)
|
||||
return air.merge(giver)
|
||||
else
|
||||
return ..()
|
||||
|
||||
// This is about 0.896m^3 of atmosphere, which is enough to last for quite a while.
|
||||
/datum/gas_mixture/pod_air
|
||||
|
||||
Reference in New Issue
Block a user