]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - doc/client_lua_api.txt
Lua API: Particle callbacks; Add NoWeather
[dragonfireclient.git] / doc / client_lua_api.txt
index 9ce553ca14ac73994cfde5805dd55513958055ff..5618c7a6f62dd501f088c119730a957a392f439b 100644 (file)
@@ -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