mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-24 00:10:52 +00:00
Allow Mod Loader to automatically add hooks on export (#405)
* Update Mod Loader and Tool addons * Mod tool checks if script exists before reloading * Change script export mode to Text for hook export * Change return type of load_image_from_path to Texture2D
This commit is contained in:
@@ -1 +1 @@
|
||||
uid://b73enisoxe0uq
|
||||
uid://5fg2uh7tfmrh
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://c3rvk5ry6rqyq
|
||||
uid://ctocxfrx7h62y
|
||||
|
||||
@@ -49,6 +49,7 @@ static func check_dependencies(mod: ModData, is_required := true, dependency_cha
|
||||
_handle_missing_dependency(mod_id, dependency_id)
|
||||
# Flag the mod so it's not loaded later
|
||||
mod.is_loadable = false
|
||||
mod.is_active = false
|
||||
else:
|
||||
var dependency: ModData = ModLoaderStore.mod_data[dependency_id]
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://bnmjbsvid8sxk
|
||||
uid://be0ha68kaqhym
|
||||
|
||||
@@ -195,10 +195,7 @@ static func file_exists_in_zip(zip_path: String, path: String) -> bool:
|
||||
if not reader:
|
||||
return false
|
||||
|
||||
if _ModLoaderGodot.is_version_below(_ModLoaderGodot.ENGINE_VERSION_HEX_4_2_0):
|
||||
return reader.get_files().has(path.trim_prefix("res://"))
|
||||
else:
|
||||
return reader.file_exists(path.trim_prefix("res://"))
|
||||
return reader.get_files().has(path.trim_prefix("res://"))
|
||||
|
||||
|
||||
static func get_mod_dir_name_in_zip(zip_path: String) -> String:
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://d34sgvhw73mtb
|
||||
uid://43dqdp55oll
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://dc86ulvsd1da7
|
||||
uid://dke5ndugd3pw8
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://yrog1crr7kxp
|
||||
uid://cbqwg3m61yvwl
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://dnwq8741pln26
|
||||
uid://dcm2pyox3kbym
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://gxlbhvqctoix
|
||||
uid://cjg3y750m35jr
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://bk8dltcgr6n5d
|
||||
uid://b5k7eocfniqut
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://dahg6tbvgiy3q
|
||||
uid://b71qi44121xu6
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://daijyovwv2vnr
|
||||
uid://2sm6ww4bwa35
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://dinxouhn4hk1d
|
||||
uid://48f4wo7gu7pg
|
||||
|
||||
@@ -1 +1 @@
|
||||
uid://br0xd56w758rg
|
||||
uid://jmbfyn7bw0c4
|
||||
|
||||
Reference in New Issue
Block a user