Release v1.11

1) Cache config access function-wide where possible;
2) Break and Sever values added to parts;
3) Hooks are now applied in init_module instead of global space;
4) Added checks for submodule (health, stamina, etc) visibility. If not visible, do not pull data.
This commit is contained in:
GreenComfyTea
2022-06-20 13:01:10 +03:00
parent 286c54aa55
commit f64d6c84d3
31 changed files with 1617 additions and 1539 deletions

View File

@@ -734,6 +734,7 @@ function config.init()
include = {
monster_name = true,
monster_id = false,
crown = true,
size = true,
crown_thresholds = false
@@ -1050,7 +1051,7 @@ function config.init()
}
},
parts = {
body_parts = {
visibility = false,
offset = {
@@ -1742,6 +1743,7 @@ function config.init()
include = {
monster_name = true,
monster_id = false,
crown = true,
size = true,
crown_thresholds = false
@@ -2058,7 +2060,7 @@ function config.init()
}
},
parts = {
body_parts = {
visibility = false,
offset = {
@@ -2732,6 +2734,7 @@ function config.init()
include = {
monster_name = true,
monster_id = false,
crown = true,
size = true,
crown_thresholds = false