diff options
Diffstat (limited to 'doc/menu_lua_api.txt')
-rw-r--r-- | doc/menu_lua_api.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 7c820b0cd..b5c29aeb9 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -24,7 +24,7 @@ The "gamedata" table is read when calling core.start(). It should contain: { playername = <name>, password = <password>, - address = <IP/adress>, + address = <IP/address>, port = <port>, selected_world = <index>, -- 0 for client mode singleplayer = <true/false>, @@ -64,7 +64,7 @@ core.create_dir(absolute_path) (possible in async calls) core.delete_dir(absolute_path) (possible in async calls) ^ absolute_path to directory to delete (needs to be absolute) ^ returns true/false -core.copy_dir(source,destination,keep_soure) (possible in async calls) +core.copy_dir(source,destination,keep_source) (possible in async calls) ^ source folder ^ destination folder ^ keep_source DEFAULT true --> if set to false source is deleted after copying @@ -76,7 +76,7 @@ core.extract_zip(zipfile,destination) [unzip within path required] ^ destination folder to extract to ^ returns true/false core.sound_play(spec, looped) -> handle -^ spec = SimpleSoundSpec (see lua-api.txt) +^ spec = SimpleSoundSpec (see lua_api.txt) ^ looped = bool core.sound_stop(handle) core.get_video_drivers() |