A useful tool for Lua is the Ability to browse the current lua_state. Starting from _G and listing all the variables. Then select a table to see it's content and follow it links to other tables. I find it useful to have a way to select any object in the game and see information about it and also list the basic systems in the game.