I confess I'm not great with lua. However, having created a "complete" version of Anno Domini all in one program, I can't help but notice that I have the same overrides in different folders - e.g. I've TopPanel.lua all over the place.
I've been given to understand that the system will actually only recognise one of each override and that having more than one could cause issues. I've deleted duplicate versions of certain lua documents to leave the one that would logically seem to be the ideal one to leave - and encountered success (in terms of "glitches" no longer happening).
My question is this: should I systemically go through the lua files and make it so there's one of each type? I would presume that I would need to look through the file and potentially add the part that's been changed to the version I'm keeping or just chose the one that works best with the game? An example would be the ReligionOverview.lua - I'm guessing that the one I need to keep is the one with the specific piety functionality that I want to use in the mod.
I've been given to understand that the system will actually only recognise one of each override and that having more than one could cause issues. I've deleted duplicate versions of certain lua documents to leave the one that would logically seem to be the ideal one to leave - and encountered success (in terms of "glitches" no longer happening).
My question is this: should I systemically go through the lua files and make it so there's one of each type? I would presume that I would need to look through the file and potentially add the part that's been changed to the version I'm keeping or just chose the one that works best with the game? An example would be the ReligionOverview.lua - I'm guessing that the one I need to keep is the one with the specific piety functionality that I want to use in the mod.