Temperz87 / ultra-mod-manager

A WIP mod manager for ULTRAKILL, that works with BepInEx and UKMods
MIT License
24 stars 21 forks source link

Changed mod dependency system, works similar to BepInEx's system #12

Closed PetersonE1 closed 1 year ago

PetersonE1 commented 1 year ago

Changed the mod dependency system to work using attributes, calling LoadMod() recursively on dependencies. LoadMod now checks if a mod is already loaded, and returns if it is. Skips loading a mod if the required dependency is missing or below the minimum version, logging an error stating either the GUID of the missing mod or the current and minimum versions. UKPlugin now has a GUID field, and the modVersion field has been changed to a Version type instead of string. While this does break every mod until they are updated to include a GUID, this provides each mod a more code-friendly identifier, such as is used in the dependency system.

distributivgesetz commented 1 year ago

merge into master?

PetersonE1 commented 1 year ago

Alright, I'll fix those conflicts later today