Merge pull request #15209 from Putnam3145/more-ashwalker-woes

More ashwalker lung adjustments
This commit is contained in:
Lin
2021-10-20 17:49:20 -07:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -7,9 +7,9 @@
GAS_N2=10,
)
normal_gases = list(
GAS_O2=10,
GAS_N2=10,
GAS_CO2=10,
GAS_O2=5,
GAS_N2=5,
GAS_CO2=5,
)
restricted_gases = list(
GAS_BZ=0.1,

View File

@@ -530,8 +530,8 @@
gas_max[GAS_N2] = PP(breath, GAS_N2) + 5
var/datum/breathing_class/class = GLOB.gas_data.breathing_classes[breathing_class]
var/o2_pp = class.get_effective_pp(breath)
safe_breath_min = 0.3 * o2_pp
safe_breath_max = 1.3 * o2_pp
safe_breath_min = min(3, 0.3 * o2_pp)
safe_breath_max = max(18, 1.3 * o2_pp + 1)
..()
#undef SAFE_THRESHOLD_RATIO