mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
Adjusted pressure exchange rates in consideration of space not compressing air anymore.
This commit is contained in:
@@ -258,7 +258,7 @@ var/list/sharing_lookup_table = list(0.06, 0.11, 0.15, 0.18, 0.20, 0.21)
|
|||||||
proc/ShareRatio(datum/gas_mixture/A, datum/gas_mixture/B, connecting_tiles)
|
proc/ShareRatio(datum/gas_mixture/A, datum/gas_mixture/B, connecting_tiles)
|
||||||
//Shares a specific ratio of gas between mixtures using simple weighted averages.
|
//Shares a specific ratio of gas between mixtures using simple weighted averages.
|
||||||
var
|
var
|
||||||
ratio = 0.21
|
ratio = 0.41
|
||||||
|
|
||||||
size = max(1,A.group_multiplier)
|
size = max(1,A.group_multiplier)
|
||||||
share_size = max(1,B.group_multiplier)
|
share_size = max(1,B.group_multiplier)
|
||||||
@@ -341,7 +341,8 @@ proc/ShareSpace(datum/gas_mixture/A, list/unsimulated_tiles)
|
|||||||
unsim_temperature += T.temperature/unsimulated_tiles.len
|
unsim_temperature += T.temperature/unsimulated_tiles.len
|
||||||
|
|
||||||
var
|
var
|
||||||
ratio = 0.21
|
// Depressurize very, very fast(it's fine since many rooms are internally multiple zones)
|
||||||
|
ratio = 0.81
|
||||||
|
|
||||||
old_pressure = A.return_pressure()
|
old_pressure = A.return_pressure()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user