As best as I can work out, these are the top level functions (or whatever they're called) in Adventuron listed in alphabetical order:
assets{}
barriers{}
booleans{}
connections{}
game_information{}
integers{}
locations{}
objects{}
on_command{}
on_describe{}
on_startup{}
on_tick{}
settings{}
strings{}
subroutines{}
themes{}
vocabulary{}
I had barriers{} after connections{} (as they're most closely linked to connections{}) followed by objects{}, but I kept getting an error about my door needing to be defined in a global context, even though it already was. The game compiled and ran fine and the error went away until I did some changes later on and the error would reappear. Then I had a brainwave and moved barriers{} after objects{} and the error seems to have gone away.
Obviously, some of the functions are order dependent, so in what order should the functions be defined?