aboutsummaryrefslogtreecommitdiff
path: root/init.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* some more updates (#9)fluxionary2023-01-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <aliasalreadytaken@noreply.example.org3>
* rework mesecons debug to be more flexible (#7)fluxionary2022-02-131-34/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* setting for "mesecons_debug.max_usage_micros"BuckarooBanzay2021-06-171-1/+1
|
* add "mesecons_debug:penalty_controller"BuckarooBanzay2021-05-141-0/+4
|
* cleanup some of the tab/space messBuckarooBanzay2021-03-141-9/+9
|
* rework penalty stuffBuckarooBanzay2021-03-141-0/+12
| | | | addresses some issues in #6
* globalize context dataBuckarooBanzay2020-10-281-0/+2
|
* persist whitelistBuckarooBanzay2020-05-041-0/+3
|
* working mapblock whitelistBuckarooBanzay2020-05-041-0/+4
|
* modernize a bitBuckarooBanzay2020-05-041-0/+2
|
* go back to 15ms penalty thresholdBuckarooBanzay2020-03-011-1/+1
|
* increase max usage to 25ms (from 10ms)Thomas Rudin2020-01-211-1/+1
|
* add luac penaltyThomas Rudin2019-10-141-0/+1
|
* lower limitThomas Rudin2019-10-121-1/+1
|
* per mapblock penalty and hud displayThomas Rudin2019-10-121-2/+10
|
* radical cleanupThomas Rudin2019-10-091-5/+1
|
* disable add_action overrideThomas Rudin2019-09-141-1/+1
|
* add_action overrideThomas Rudin2019-09-141-1/+1
|
* /dump_queueNatureFreshMilk2019-09-131-0/+1
|
* Revert "embedded smart actionqueue"NatureFreshMilk2019-09-101-5/+2
| | | | This reverts commit 0941f6726b67669173c524302cf006c365895179.
* Revert "remove hacky overrides"NatureFreshMilk2019-09-101-1/+2
| | | | This reverts commit f9f5339e71b4768cc035b58da7b785d294fe1beb.
* remove hacky overridesNatureFreshMilk2019-09-091-2/+1
|
* embedded smart actionqueueNatureFreshMilk2019-09-091-2/+5
|
* disable circuit breakerNatureFreshMilk2019-08-271-1/+1
|
* add configurable circuit breakerThomas Rudin2019-08-181-0/+1
|
* more commandsNatureFreshMilk2019-08-161-1/+3
|
* basic apiNatureFreshMilk2019-08-161-0/+10