Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into tgui-alerts-and-what-not
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
var/high_alert_category = "too_much_oxy"
|
||||
var/high_alert_datum = /atom/movable/screen/alert/too_much_oxy
|
||||
|
||||
/datum/breathing_class/proc/get_effective_pp(datum/gas_mixture/breath)
|
||||
var/mol = 0
|
||||
for(var/gas in gases)
|
||||
mol += breath.get_moles(gas) * gases[gas]
|
||||
return (mol/breath.total_moles()) * breath.return_pressure()
|
||||
|
||||
/datum/breathing_class/oxygen
|
||||
gases = list(
|
||||
GAS_O2 = 1,
|
||||
|
||||
Reference in New Issue
Block a user