mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 18:33:36 +00:00
optimization, fix to breath, experimenting with speed
This commit is contained in:
BIN
auxmos.dll
BIN
auxmos.dll
Binary file not shown.
BIN
auxmos.pdb
BIN
auxmos.pdb
Binary file not shown.
@@ -50,7 +50,7 @@ SUBSYSTEM_DEF(air)
|
|||||||
var/log_explosive_decompression = TRUE // If things get spammy, admemes can turn this off.
|
var/log_explosive_decompression = TRUE // If things get spammy, admemes can turn this off.
|
||||||
|
|
||||||
// Max number of turfs equalization will grab.
|
// Max number of turfs equalization will grab.
|
||||||
var/equalize_turf_limit = 25
|
var/equalize_turf_limit = 10
|
||||||
// Max number of turfs to look for a space turf, and max number of turfs that will be decompressed.
|
// Max number of turfs to look for a space turf, and max number of turfs that will be decompressed.
|
||||||
var/equalize_hard_turf_limit = 2000
|
var/equalize_hard_turf_limit = 2000
|
||||||
// Whether equalization should be enabled at all.
|
// Whether equalization should be enabled at all.
|
||||||
@@ -58,11 +58,9 @@ SUBSYSTEM_DEF(air)
|
|||||||
// Whether turf-to-turf heat exchanging should be enabled.
|
// Whether turf-to-turf heat exchanging should be enabled.
|
||||||
var/heat_enabled = FALSE
|
var/heat_enabled = FALSE
|
||||||
// Max number of times process_turfs will share in a tick.
|
// Max number of times process_turfs will share in a tick.
|
||||||
var/share_max_steps = 1
|
var/share_max_steps = 2
|
||||||
// If process_turfs finds no pressure differentials larger than this, it'll stop for that tick.
|
|
||||||
var/share_pressure_diff_to_stop = 101.325
|
|
||||||
// Excited group processing will try to equalize groups with total pressure difference less than this amount.
|
// Excited group processing will try to equalize groups with total pressure difference less than this amount.
|
||||||
var/excited_group_pressure_goal = 1
|
var/excited_group_pressure_goal = 0.25
|
||||||
|
|
||||||
/datum/controller/subsystem/air/stat_entry(msg)
|
/datum/controller/subsystem/air/stat_entry(msg)
|
||||||
msg += "C:{"
|
msg += "C:{"
|
||||||
|
|||||||
@@ -125,6 +125,7 @@
|
|||||||
var/obj/loc_as_obj = loc
|
var/obj/loc_as_obj = loc
|
||||||
loc_as_obj.handle_internal_lifeform(src,0)
|
loc_as_obj.handle_internal_lifeform(src,0)
|
||||||
|
|
||||||
|
if(breath)
|
||||||
breath.set_volume(BREATH_VOLUME)
|
breath.set_volume(BREATH_VOLUME)
|
||||||
check_breath(breath)
|
check_breath(breath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user