aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r--doc/client_lua_api.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index 9ce553ca1..5618c7a6f 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -755,10 +755,14 @@ Call these functions only at load time!
* Called when recieving physics_override from server
* Newest functions are called first
* If any function returns true, the physics override does not change
-* `minetest.register_on_sound_play(function(SimpleSoundSpec))`
+* `minetest.register_on_play_sound(function(SimpleSoundSpec))`
* Called when recieving a play sound command from server
* Newest functions are called first
* If any function returns true, the sound does not play
+* `minetest.register_on_spawn_partice(function(particle definition))`
+ * Called when recieving a spawn particle command from server
+ * Newest functions are called first
+ * If any function returns true, the particel does not spawn
### Setting-related
* `minetest.settings`: Settings object containing all of the settings from the