summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWuzzy <wuzzy2@mail.ru>2020-07-27 19:40:33 +0200
committerGitHub <noreply@github.com>2020-07-27 19:40:33 +0200
commitae83edd16581b2b5426b565e703a8766e88dbbf6 (patch)
treec7a9ee788aec17a1a1224cf7cc6a775af0227ec1 /doc
parent808fa5ecb3ddfd5d993000cc6b4c972257e182db (diff)
downloadminetest-ae83edd16581b2b5426b565e703a8766e88dbbf6.tar.gz
minetest-ae83edd16581b2b5426b565e703a8766e88dbbf6.tar.bz2
minetest-ae83edd16581b2b5426b565e703a8766e88dbbf6.zip
Play place_failed sound if occupied or cannot attach (#9486)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index e0c895c97..5fe02b452 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -7217,10 +7217,13 @@ Used by `minetest.register_node`.
-- Node was placed. Also played after falling
place_failed = <SimpleSoundSpec>,
- -- When node placement failed
+ -- When node placement failed.
+ -- Note: This happens if the _built-in_ node placement failed.
+ -- This sound will still be played if the node is placed in the
+ -- `on_place` callback manually.
fall = <SimpleSoundSpec>,
- -- When node starts to fall
+ -- When node starts to fall or is detached
},
drop = "",