mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
More sensible oxyloss scaling
This commit is contained in:
@@ -494,8 +494,7 @@
|
||||
var/ratio = inhale_pp/safe_pressure_min
|
||||
|
||||
// Don't fuck them up too fast (space only does HUMAN_MAX_OXYLOSS after all!)
|
||||
// What's going on here? ratio will always be < 1, and HUMAN_MAX_OXYLOSS = 1...
|
||||
adjustOxyLoss(min(5*(1/ratio), HUMAN_MAX_OXYLOSS))
|
||||
adjustOxyLoss(min(5*(1 - ratio), HUMAN_MAX_OXYLOSS))
|
||||
failed_last_breath = 1
|
||||
inhaled_gas_used = inhaling*ratio/6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user