Added 'SetWorldType' lua function.

All credits go to Pepe over at OTland.