add registerLuaFunctions() to TerrainInteractor. #96