mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix typos and en_US/en_GB inconsistency in files inside doc directory (#12882)
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user