Open RandoRuda opened 7 months ago
Thankfully, lua's pretty fast, so that method shouldn't be too unwieldly.
I haven't started on this feature, so feel free to build it out :D
Thinking on it, it may be worth having a parentModGuid field automatically filled out in the JSON loader, to differentiate required mods & the mod providing the changes, to assist in debugging
Part of #46
As more and more mods are becoming the backbone of people's playthroughs of BG3, being able to check if multiple mods are loaded before attempting to add things to the queue seems necessary.
In order to avoid causing another refactoring issue, I'm wondering what might be the best implementation method.
1) Use
modGuids
when requiring multiple mods.It might not be elegant, but it will work for easier differentiation. It is also a method already used with
UUIDs
in Progressions.2) Use
type(modGuid)
to determine if it is a String or a Table.I don't have much experience with LUA, but I understand this might be a slow or resource heavy method?
In any case, I am curious where others sit. In addition, I guess making sure I don't start building something that has already been started elsewhere on a local repo.