Today I had to swap to dofile cause require just didn't want to work, which means multifile apis are unsupported.
If someone can make a PR fixing that... well, it would be much appreciated.
It doesn't have to be a custom require just figure out a way to use require instead of dofile really.