[MIRROR] Rebalances pluox gen back to pre-newgas levels (#1203)

* Merge pull request #54223 from Putnam3145/patch-2

Rebalances pluox gen back to pre-newgas levels

* Rebalances pluox gen back to pre-newgas levels

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-10-08 06:10:07 +02:00
committed by GitHub
co-authored by ShizCalev
parent 85b4561263
commit 404a41850c
+2 -2
View File
@@ -266,9 +266,9 @@
if (air.gases[/datum/gas/carbon_dioxide] && air.gases[/datum/gas/oxygen])
pulse_strength = min(pulse_strength, air.gases[/datum/gas/carbon_dioxide][MOLES] * 1000, air.gases[/datum/gas/oxygen][MOLES] * 2000) //Ensures matter is conserved properly
air.gases[/datum/gas/carbon_dioxide][MOLES] = max(air.gases[/datum/gas/carbon_dioxide][MOLES] - (pulse_strength * 0.001),0)
air.gases[/datum/gas/oxygen][MOLES] = max(air.gases[/datum/gas/oxygen][MOLES]-(pulse_strength * 0.002),0)
air.gases[/datum/gas/oxygen][MOLES] = max(air.gases[/datum/gas/oxygen][MOLES]-(pulse_strength * 0.0005),0)
air.assert_gas(/datum/gas/pluoxium)
air.gases[/datum/gas/pluoxium][MOLES] +=(pulse_strength * 0.004)
air.gases[/datum/gas/pluoxium][MOLES] +=(pulse_strength * 0.00025)
air.garbage_collect()
air_update_turf()
if (air.gases[/datum/gas/hydrogen])