mods can now load freeroam maps (unknown if this actually works)

This commit is contained in:
KawaiiZenbo 2025-10-25 11:22:11 -07:00
parent 198455c94f
commit bec0bafb09
2 changed files with 71 additions and 68 deletions

View file

@ -44,6 +44,9 @@ func _ready():
Stages.loaded_mods[modManifest.ModInfo["mod_name"]] = modManifest.ModInfo
for stage in modManifest.ModInfo["implements_stages"]:
Stages.stages_info[stage] = modManifest.ModInfo["implements_stages"][stage]
for map in modManifest.ModInfo["implements_maps"]:
FreeRoamMaps.MapIndex[map] = modManifest.ModInfo["implements_maps"][map]
$FreeRoamChooseScreen/DialogPanel/MapSelector.add_item(map)
$ModsScreen/DialogPanel/ModList.add_item(modManifest.ModInfo["mod_name"], null, true)
tempLoadedList.append(modManifest.ModInfo["mod_name"])
print("Loaded Mod \"%s\"" % modManifest.ModInfo["mod_name"])