Hey! I wanted to add mod manager to my game, the only thing I don't know how to do is how to make some scripts be ignored when loading game. I guess if it's doable, it would have something to do with python early, I've found these two options in docs:
Code: Select all
define config.searchpath = [ 'common', 'game' ]
A list of directories that are searched for images, music, archives, and other media, but not scripts. This is initialized to a list containing "common" and the name of the game directory.
Code: Select all
define config.search_prefixes = [ "", "images/" ]
A list of prefixes that are prepended to filenames that are searched for.
Something like these two, but they don't work for scripts, there is a mention of archives, but I guess it won't work with script archives. Anyone know if it's doable?