summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2022-05-23 22:49:48 +0200
committerGitHub <noreply@github.com>2022-05-23 22:49:48 +0200
commitc660218e43bfbc9740001d6707618d5eba51b664 (patch)
tree634b9aba4f304e3a59fe8d3e3fc86b762d2d774e /doc
parentfa682270a99383f0f91c37aeed974acc140f34df (diff)
downloadminetest-c660218e43bfbc9740001d6707618d5eba51b664.tar.gz
minetest-c660218e43bfbc9740001d6707618d5eba51b664.tar.bz2
minetest-c660218e43bfbc9740001d6707618d5eba51b664.zip
Docs: clarify spawn_by for decorations
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index f0a8f7c9b..882c9c54c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -8560,9 +8560,8 @@ See [Decoration types]. Used by `minetest.register_decoration`.
spawn_by = "default:water",
-- Node (or list of nodes) that the decoration only spawns next to.
- -- Checks two horizontal planes of 8 neighbouring nodes (including
- -- diagonal neighbours), one plane level with the 'place_on' node and a
- -- plane one node above that.
+ -- Checks the 8 neighbouring nodes on the same Y, and also the ones
+ -- at Y+1, excluding both center nodes.
num_spawn_by = 1,
-- Number of spawn_by nodes that must be surrounding the decoration