From 6b71c59e673663c321f78957976f88f6d7ed15c6 Mon Sep 17 00:00:00 2001 From: Chris Bloomfield <43499897+ithinkandicode@users.noreply.github.com> Date: Mon, 26 Jun 2023 00:05:19 +0100 Subject: [PATCH] 1.0.1 - Update to ModLoader v6 --- .../mods-unpacked/Darkly77-LimitProjectiles/manifest.json | 4 ++-- root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/root/mods-unpacked/Darkly77-LimitProjectiles/manifest.json b/root/mods-unpacked/Darkly77-LimitProjectiles/manifest.json index d37e067..c8d062a 100644 --- a/root/mods-unpacked/Darkly77-LimitProjectiles/manifest.json +++ b/root/mods-unpacked/Darkly77-LimitProjectiles/manifest.json @@ -1,7 +1,7 @@ { "name": "LimitProjectiles", "namespace": "Darkly77", - "version_number": "1.0.0", + "version_number": "1.0.1", "description": "Limits the number of enemy projectiles that can be onscreen at once", "website_url": "https://github.com/BrotatoMods/Darkly77-LimitProjectiles", "dependencies": [], @@ -9,7 +9,7 @@ "godot": { "incompatibilities": [], "authors": ["Darkly77"], - "compatible_mod_loader_version": "4.1.0", + "compatible_mod_loader_version": ["4.1.0"], "compatible_game_version": ["0.8.0.3"], "config_defaults": {} } diff --git a/root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd b/root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd index c5fc050..21cd50a 100644 --- a/root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd +++ b/root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd @@ -8,13 +8,13 @@ var ext_dir = "" func _init(modLoader = ModLoader): - ModLoaderUtils.log_info("Init", LIMITP_LOG) + ModLoaderLog.info("Init", LIMITP_LOG) - dir = modLoader.UNPACKED_DIR + MOD_DIR + dir = ModLoaderMod.get_unpacked_dir() + MOD_DIR ext_dir = dir + "extensions/" - modLoader.install_script_extension(ext_dir + "entities/units/enemies/attack_behaviors/shooting_attack_behavior.gd") + ModLoaderMod.install_script_extension(ext_dir + "entities/units/enemies/attack_behaviors/shooting_attack_behavior.gd") func _ready()->void: - ModLoaderUtils.log_info("Ready", LIMITP_LOG) + ModLoaderLog.info("Ready", LIMITP_LOG)