mercury19 said:On that note, would it be more efficient to create a "header_constants" file and use that rather than a "module_constants" file, so that all constants get imported with the rest of the headers?
some of those constants came from header_XXX.py files (see Native), so they were already there. Example: knows_riding_1. WRECK moved them to dynamic code inside the compiler (hence why the import order matters).
you can decide what to do with the other constants (like the utility ones from module_troops and module_items). I would move them to their respective headers_XXXX.