mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
Separate Dependency Initializations
This commit is contained in:
@@ -255,7 +255,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
@@ -273,4 +273,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -386,7 +386,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
@@ -403,4 +403,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -243,7 +243,7 @@ function this.draw(bar_name, bar)
|
||||
return bar_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
@@ -259,4 +259,7 @@ function this.init_module()
|
||||
line_customization = require("MHR_Overlay.UI.Customizations.line_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -511,7 +511,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
utils = require("MHR_Overlay.Misc.utils");
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
@@ -528,4 +528,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -88,7 +88,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -104,4 +104,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -122,7 +122,7 @@ function this.draw(label_name, label)
|
||||
return label_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -136,4 +136,7 @@ function this.init_module()
|
||||
customization_menu = require("MHR_Overlay.UI.customization_menu");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -81,7 +81,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -104,4 +104,7 @@ function this.init_module()
|
||||
ailment_buildups_customization = require("MHR_Overlay.UI.Customizations.ailment_buildups_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -95,7 +95,7 @@ function this.draw(line_name, line)
|
||||
return line_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -109,4 +109,7 @@ function this.init_module()
|
||||
customization_menu = require("MHR_Overlay.UI.customization_menu");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
|
||||
@@ -101,7 +101,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -115,4 +115,7 @@ function this.init_module()
|
||||
customization_menu = require("MHR_Overlay.UI.customization_menu");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -91,7 +91,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -107,4 +107,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
@@ -91,7 +91,7 @@ function this.draw(cached_config)
|
||||
return config_changed;
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
function this.init_dependencies()
|
||||
language = require("MHR_Overlay.Misc.language");
|
||||
config = require("MHR_Overlay.Misc.config");
|
||||
screen = require("MHR_Overlay.Game_Handler.screen");
|
||||
@@ -107,4 +107,7 @@ function this.init_module()
|
||||
bar_customization = require("MHR_Overlay.UI.Customizations.bar_customization");
|
||||
end
|
||||
|
||||
function this.init_module()
|
||||
end
|
||||
|
||||
return this;
|
||||
Reference in New Issue
Block a user