So a couple of wonderful testers (Thanks @Reedo, @SePax, and @asdar54 ) Led me to the discovery that loading mods varies based on whether the mod is zipped or not.
It seems that when you called _radiant.res.load_mod, you pass it the file path to the manifest’s location from the mods folder. That means you can have a mod manifest located within another mod if the containing mod is unzipped. It will not work, though if the mod is zipped because its not proper a filepath.
Ultimately what I’m trying to do is only override + mixin certain things (armor and weapons) if the player is playing as the mod’s race. So I’m wondering if there’s a way to modify _radiant.res.load_mod’s behavior to be able to read into zipped file or if theres another way to go about this.
Overall, I feel there should be a way to only load certain aspects of a mod’s manifest based on certain variables (such as being a certain race). Am I missing the way to go about this?
Bump because there is a problem starting in A22.5. LUA files are not loaded from unpacked mods, only from zipped ones. What obviously makes testing way more painful.
Yeah perhaps thats it, if not, let us know how your code looks, maybe have a look at Archipellago Biome’s client and server init scripts to see how it’s done. You should be using ‘applyManifest’ or however it’s spelled