From 18155b3ebedd24fba5c3cbf109063f64f882d8a6 Mon Sep 17 00:00:00 2001 From: fluxionary <25628292+fluxionary@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:25:46 -0800 Subject: some more updates (#9) * add proper settings (untested) * more constants -> settings * normalize whitespace between code files * refactor globalsteps in order to simplify logic * minor refactoring * rename file * use mod_storage for persistent data; optimize context initialization * refactoring (moving files around) * rewrite penalty * add settings; document; allow changing while game is running * add command to update settings * update init after splitting commands into files * fix bugs; add debugging tools; too much for one commit... * fix whitelist conversion * add adjustable blinky plant to timer overrides * add some more mesecons nodes with repeating timers * resolve luacheck warnings * tweak hud * Update documentation; parameterize more things; refactor some logic for readability * update lag even when mesecons isn't active * update lag even when mesecons isn't active * tweak default settings * move hud so it doesn't interfere w/ areas * tweak default settings * put the HUD in a place which doesn't conflict w/ areas mod * ensure that actions have a valid position to avoid a crash * stylua * make sure we don't update the wrong HUD * spaces not tabs Co-authored-by: AliasAlreadyTaken --- settingtypes.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'settingtypes.txt') diff --git a/settingtypes.txt b/settingtypes.txt index 23cbbf5..1cdb655 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -26,22 +26,22 @@ mesecons_debug.high_load_threshold (high load threshold) float 0.33 0 1 mesecons_debug.penalty_check_steps (steps between penalty updates) float 50 1 10000 # scale of penalty during high load -mesecons_debug.high_penalty_scale (high penalty scale) float 0.5 0.01 1 +mesecons_debug.high_penalty_scale (high penalty scale) float 0.05 0.01 1 # offset of penalty during high load -mesecons_debug.high_penalty_offset (high penalty offset) float -0.5 -1 0 +mesecons_debug.high_penalty_offset (high penalty offset) float -0.05 -1 0 # scale of penalty during medium load -mesecons_debug.medium_penalty_scale (medium penalty scale) float 0.2 0.01 1 +mesecons_debug.medium_penalty_scale (medium penalty scale) float 0.05 0.01 1 # offset of penalty during medium load -mesecons_debug.medium_penalty_offset (medium penalty offset) float -0.8 -1 0 +mesecons_debug.medium_penalty_offset (medium penalty offset) float -0.1 -1 0 # scale of penalty during low load -mesecons_debug.low_penalty_scale (low penalty scale) float 0.1 0.01 1 +mesecons_debug.low_penalty_scale (low penalty scale) float 0.05 0.01 1 # offset of penalty during low load -mesecons_debug.low_penalty_offset (low penalty offset) float -1 -1 0 +mesecons_debug.low_penalty_offset (low penalty offset) float -0.5 -1 0 # forces (1 / clamp) <= relative load <= clamp mesecons_debug.relative_load_clamp (clamp of relative load value) float 10 1 100 -- cgit v1.2.3