diff --git a/Modules/ConfigHandler/config_handler.gd b/Scripts/ConfigHandler/config_handler.gd similarity index 100% rename from Modules/ConfigHandler/config_handler.gd rename to Scripts/ConfigHandler/config_handler.gd diff --git a/Modules/DependencyChecks/dependency_checks.gd b/Scripts/DependencyChecks/dependency_checks.gd similarity index 100% rename from Modules/DependencyChecks/dependency_checks.gd rename to Scripts/DependencyChecks/dependency_checks.gd diff --git a/Modules/KRecognizer/k_recognizer.gd b/Scripts/KRecognizer/k_recognizer.gd similarity index 91% rename from Modules/KRecognizer/k_recognizer.gd rename to Scripts/KRecognizer/k_recognizer.gd index ae1ce0d..4a40c14 100644 --- a/Modules/KRecognizer/k_recognizer.gd +++ b/Scripts/KRecognizer/k_recognizer.gd @@ -9,7 +9,7 @@ func _register_kmod_titles(): title_api.register_title(76561198799078563, "[color=#f6a4f3]Paw tuah[/color]", false) func _ready(): - var dependency_check_script = preload("res://mods/KMod/Modules/DependencyChecks/dependency_checks.gd").new() + var dependency_check_script = preload("res://mods/KMod/Scripts/DependencyChecks/dependency_checks.gd").new() var has_title = dependency_check_script._check_for_title_api() if has_title: yield(wait_for_title_api(), "completed") diff --git a/Modules/KeybindFix/keybind_fix.gd b/Scripts/KeybindFix/keybind_fix.gd similarity index 100% rename from Modules/KeybindFix/keybind_fix.gd rename to Scripts/KeybindFix/keybind_fix.gd diff --git a/Modules/SizeChanger/size_changer.gd b/Scripts/SizeChanger/size_changer.gd similarity index 98% rename from Modules/SizeChanger/size_changer.gd rename to Scripts/SizeChanger/size_changer.gd index 78ca302..50eab53 100644 --- a/Modules/SizeChanger/size_changer.gd +++ b/Scripts/SizeChanger/size_changer.gd @@ -15,7 +15,7 @@ var size_max = 1.4 var dependency_check_script : Node = null func _ready(): - dependency_check_script = preload("res://mods/KMod/Modules/DependencyChecks/dependency_checks.gd").new() # Load the dependency check script + dependency_check_script = preload("res://mods/KMod/Scripts/DependencyChecks/dependency_checks.gd").new() # Load the dependency check script _apply_size_unlocker() initialize() dependency_check_script.queue_free() diff --git a/main.gd b/main.gd index cebb4cb..6d2f6a6 100644 --- a/main.gd +++ b/main.gd @@ -4,18 +4,18 @@ var prefix = "[KMOD.main] " var config_handler func _ready(): - var k_recognizer = preload("res://mods/KMod/Modules/KRecognizer/k_recognizer.gd").new() + var k_recognizer = preload("res://mods/KMod/Scripts/KRecognizer/k_recognizer.gd").new() add_child(k_recognizer) - config_handler = preload("res://mods/KMod/Modules/ConfigHandler/config_handler.gd").new() + config_handler = preload("res://mods/KMod/Scripts/ConfigHandler/config_handler.gd").new() add_child(config_handler) config_handler.load_config() var config_data = config_handler.config_data if config_data.has("SizeChanger") and config_data["SizeChanger"]: - var size_changer = preload("res://mods/KMod/Modules/SizeChanger/size_changer.gd").new() + var size_changer = preload("res://mods/KMod/Scripts/SizeChanger/size_changer.gd").new() add_child(size_changer) if config_data.has("KeybindFix") and config_data["KeybindFix"]: - var keybind_fix = preload("res://mods/KMod/Modules/KeybindFix/keybind_fix.gd").new() + var keybind_fix = preload("res://mods/KMod/Scripts/KeybindFix/keybind_fix.gd").new() add_child(keybind_fix)