summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-06-17 18:23:31 -0400
committerkwolekr <kwolekr@minetest.net>2013-06-17 18:23:31 -0400
commit56093b6614a47b181bbce6d4e35d213a4e04120c (patch)
treecd5ac885638f130f90034de6752e23c06c9bc81c /doc
parent0a8519a26fc7c10b4e7415746e9045caa3ae978f (diff)
downloadminetest-56093b6614a47b181bbce6d4e35d213a4e04120c.tar.gz
minetest-56093b6614a47b181bbce6d4e35d213a4e04120c.tar.bz2
minetest-56093b6614a47b181bbce6d4e35d213a4e04120c.zip
Decoration: Change divlen to sidelen
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b6981582e..85f6ca5a6 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1875,8 +1875,9 @@ Decoration definition (register_decoration)
deco_type = "simple", -- See "Decoration types"
place_on = "default:dirt_with_grass",
^ Node that decoration can be placed on
- divlen = 8,
- ^ Number of divisions made in the chunk being generated
+ sidelen = 8,
+ ^ Size of divisions made in the chunk being generated.
+ ^ If the chunk size is not evenly divisible by sidelen, sidelen is made equal to the chunk size.
fill_ratio = 0.02,
^ Ratio of the area to be uniformly filled by the decoration.
^ Used only if noise_params is not specified.