mirror of
https://github.com/goonstation/goonstation-2020.git
synced 2026-07-11 23:22:19 +01:00
23 lines
399 B
Plaintext
23 lines
399 B
Plaintext
//It pressurizes areas. - from halloween.dm
|
|
/obj/effects/pressurizer
|
|
invisibility = 100
|
|
|
|
New()
|
|
..()
|
|
SPAWN_DBG(1 DECI SECOND)
|
|
src.do_pressurize()
|
|
sleep(10)
|
|
qdel(src)
|
|
|
|
proc/do_pressurize()
|
|
var/turf/simulated/T = src.loc
|
|
if (!istype(T))
|
|
return
|
|
|
|
var/datum/gas_mixture/GM = T.return_air()
|
|
if (!istype(GM))
|
|
return
|
|
|
|
GM.oxygen *= 1000
|
|
GM.nitrogen *= 1000
|
|
T.process_cell() |