mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 23:49:21 +01:00
Methane Atmogas (#18363)
* initial port * atmolast * tank icons * defines for gas names * oop * icons * methane condensing * tank_vr merge * old icons too * tank and safe toxin levels stuff * doop * gas condensing toxins * choking methane * tank sprites for worn on mob * atmos tank sign * SM monitor * cleanup * copypasta cleanup * fixed gas sensor data * proper sensor * biome issue * standardize these * Update life.dm * Update life.dm --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
var/datum/radio_frequency/radio_connection
|
||||
|
||||
var/scrubbing = 1 //0 = siphoning, 1 = scrubbing
|
||||
var/list/scrubbing_gas = list(GAS_CO2, GAS_PHORON)
|
||||
var/list/scrubbing_gas = list(GAS_CO2, GAS_PHORON, GAS_CH4)
|
||||
|
||||
var/panic = 0 //is this scrubber panicked?
|
||||
|
||||
@@ -115,6 +115,7 @@
|
||||
"filter_phoron" = (GAS_PHORON in scrubbing_gas),
|
||||
"filter_n2o" = (GAS_N2O in scrubbing_gas),
|
||||
"filter_fuel" = (GAS_VOLATILE_FUEL in scrubbing_gas),
|
||||
"filter_ch4" = (GAS_CH4 in scrubbing_gas),
|
||||
"sigtype" = "status"
|
||||
)
|
||||
if(!initial_loc.air_scrub_names[id_tag])
|
||||
@@ -241,6 +242,11 @@
|
||||
else if(signal.data["toggle_fuel_scrub"])
|
||||
toggle += GAS_VOLATILE_FUEL
|
||||
|
||||
if(!isnull(signal.data["ch4_scrub"]) && text2num(signal.data["ch4_scrub"]) != (GAS_CH4 in scrubbing_gas))
|
||||
toggle += GAS_CH4
|
||||
else if(signal.data["toggle_ch4_scrub"])
|
||||
toggle += GAS_CH4
|
||||
|
||||
scrubbing_gas ^= toggle
|
||||
|
||||
if(signal.data["init"] != null)
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
/obj/machinery/atmospherics/unary/vent_scrubber
|
||||
scrubbing_gas = list(GAS_CO2, GAS_PHORON)
|
||||
Reference in New Issue
Block a user