Skip to content

Commit

Permalink
1.0.1 - Update to ModLoader v6
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinkandicode committed Jun 25, 2023
1 parent c5f0c06 commit 6b71c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions root/mods-unpacked/Darkly77-LimitProjectiles/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"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": [],
"extra": {
"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": {}
}
Expand Down
8 changes: 4 additions & 4 deletions root/mods-unpacked/Darkly77-LimitProjectiles/mod_main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 6b71c59

Please sign in to comment.