summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorRobert Zenz <Robert.Zenz@bonsaimind.org>2016-01-02 22:14:09 +0100
committersfan5 <sfan5@live.de>2016-01-03 01:05:04 +0100
commita7c50a3080e55a6cf11175a60121696de7393dba (patch)
treeed489db717a7be8cd133eb9ed24702b0a1d221bd /doc/lua_api.txt
parent64c060e1f2d94d8277246d8cdd8a886010564770 (diff)
downloadminetest-a7c50a3080e55a6cf11175a60121696de7393dba.tar.gz
minetest-a7c50a3080e55a6cf11175a60121696de7393dba.tar.bz2
minetest-a7c50a3080e55a6cf11175a60121696de7393dba.zip
Made it more clear that "[combine" does accept a list of files.
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b713b68bf..37d0aaabc 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -264,15 +264,15 @@ Example:
default_cobble.png^[crack:10:1
-#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>`
+#### `[combine:<w>x<h>:<x1>,<y1>=<file1>:<x2>,<y2>=<file2>:...`
* `<w>` = width
* `<h>` = height
-* `<x1>`/`<x2>` = x positions
-* `<y1>`/`<y1>` = y positions
-* `<file1>`/`<file2>` = textures to combine
+* `<x>` = x position
+* `<y>` = y position
+* `<file>` = texture to combine
-Create a texture of size `<w>` times `<h>` and blit `<file1>` to (`<x1>`,`<y1>`)
-and blit `<file2>` to (`<x2>`,`<y2>`).
+Creates a texture of size `<w>` times `<h>` and blits the listed files to their
+specified coordinates.
Example: