Changed 'type' in lua format to 'tiletype'